We've taken a trackball module from everyone's favourite fruit-flavoured phone and added a bunch of clever engineering to let you build old-school interaction into your projects. As well as x/y directional tracking and click, we've added an RGBW (red/green/blue/white) LED right under the clear trackball to illuminate it and allow you to add visual feedback.
Use Trackball Breakout with an Arduino that supports USB HID to use it as a tiny mouse. Or why not use it as a colour/brightness control for an LED matrix breakout or a set of our Mote lights?
Because the trackball has a grippy rubber surface you can also use it with the trackball facing downwards and track it as it rolls on a surface, like a traditional roller ball mouse.
It's compatible with our fancy Breakout Garden HAT (and pHAT), where using breakouts is as easy just popping it into one of the six slots and starting to grow your project, create, and code.
We've designed this breakout board so that you can solder on the piece of right-angle female header and pop it straight onto the bottom left 5 pins on your Raspberry Pi's GPIO header (pins 1, 3, 5, 7, 9).
Engineering
There's a remarkable amount of engineering packed into this diminutive breakout.
The trackball module itself has a tiny cylinder magnet at each corner that spins and is read by one of four Hall-effect sensors.
There's a tiny dome switch right under the trackball for detecting clicks, and four LEDs (red, green, blue, white) around the trackball to illuminate it.
We've designed and injection-moulded a plastic trackball casing to hold the module in place and protect it, and this can be popped off to clean the trackball or roller, or to replace the module if necessary.
There's an on-board Nuvoton N76E003AQ20 MCU to read output from the trackball and dome switch, to control the LEDs, and to implement I2C.
Software
We've put together a Python library for Trackball Breakout that makes it simple to read directional values, click events, and set the LED colour. There's a handful of examples of how to read the direction and click, make the LEDs rainbow, and use it as a mouse in Raspbian.
Notes
The trackball breakout only works reliably with I2C speeds up to 250kHz due to limitations in the Raspberry Pi's clock-stretching implementation
Dimensions: 25x22x9.5mm
Payment & Accreditations
Payment methods
Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.
Accreditations
2.00
Based on 1 review
Write Review
Product Reviews
A
Verified Customer
Anonymous
Trackball Breakout
Very choppy and impractical. Its necessary to do A LOT of smoothing and even then it’s quite hard to get any sort of precision