SparkFun Forums 

Where electronics enthusiasts find answers.

General suggestions or questions about the SparkFun Electronics website
By KamPutty
#19090
Hi all,

I've purchases SFE's trackball and breakout board

http://www.sparkfun.com/commerce/advanc ... ll&x=0&y=0

Has anyone actually made one work? It seem's I'm having a problem...

I can detect the button work (Sel1 & Sel2)
I can detect the "X" movement using XSCN, XO and XO'

I cannot detect "Y" movement using YSCN, YO and YO'!!!

I have traced the connections from the pic all the way to the ribbon cable, and the connections are solid.

I purchased 2 trackballs and breakout boards, and both have the same issue. I'm sure there is a wiring issue on my side....

This is how the "X" is wired.

GND --> XSCN
XO --> pic pin B1
XO' --> pic pin B2
I have internal pullups on the pic pins.
This works great, I can see the 010101010101's happen correctly.

Now when I do the same for the "Y" side, nada!

Any thoughts?

~Kam (^8*
By reklipz
#19093
None from me, besides that these seem to be the track balls of doom, at least for you.

Frist the switch problem, now this.

Sounds like a great time :D

Hope you get it sorted out!
By JonChandler
#19095
Which port pins are you using for Y? Remember only the B port has internal pull ups.

Is the port configured correctly as a digital input?

Can you swap the x and y connections to check the track ball function?
By KamPutty
#19106
Jon, et al.,

Status to date...

I'm using pins B0 ~ B7
I have set the pullups for "B"
The connection from the pic to pin on ribbon cable are valid
I can detect the button press
I can detect the X movement
I cannot [still] detect Y movement

Verified pins by using X pins on Y, and Y on X. Did correct thing if Y movement is broken. Y can detect X movement, X cannot detect Y movement.

Tried another same trackball and got same results

I can now conclude:

#1. Y movement is broken on the trackball. Bad specs etc.
#2. Well, thats it!

Anyone else out there using this Trackball? :?:

Well, thats it, time for food!

~Kam (^8*