Main > Main Forum
Mouse hack 4 sensors
(1/3) > >>
daewoomofo:
I'm working on integrating my Wico trackball into my MAME cabinet with a mouse hack.  The only ball mouses I could find have 4 optical sensors in them.  Has this been done before?  I have some pics so you everyone can see what I'm working with.





Which contact points do I use to connect to the trackballs optics?  As always thank you and any help offered is greatly appreciated.
PL1:
Can you post a pic of the back of the PCB?

Hard to convey where to tap in on that PCB unless we can see the traces.   :dunno

Ball mice and trackballs work the same way -- two LED emitters paired with two sensors per axis, each sensor has its own data line, the rotary encoder translates changes in the highs and lows on the two data lines to determine which direction that axis is moving.

Coding for clockwise rotation
Phase  A   B
1         0   0
2         0   1
3         1   1
4         1   0



Based on other mouse hacks I've read about, the pinkish components are probably the emitters and the clear ones are probably the sensors.


Scott
daewoomofo:
I should have though to post a pic of the other side of the board. I'm familiar with the the traditional mouse hack works, I researched it and when I got these two mouses I was a bit confused.  Each emitter and each receiver has two contact points on it. 



Thank you for your help!

pbj:
Why not break out the soldering iron and try a few combinations until you find one that works?  You've spent more time posting about it than actually trying to figure it out would have taken.

 :cheers:
lilshawn:
the black ones look like the emitters...mainly because they are all tied together. the red ones look like they go to the chip for decoding.

you can double check by firing up your digital camera and having a look at the sensors/emitters..... the emitters will show up as a purple or red light through the digital camera. the senstors won't be doing anything.
Navigation
Message Index
Next page

Go to full version