{"product_id":"trackball-breakout","title":"Trackball Breakout","description":"\u003cp\u003eA tiny, RGBW-illuminated, clickable Trackball Breakout that's perfect for adding navigation or control to your Raspberry Pi or Arduino projects.\u003c\/p\u003e\n\u003cp\u003eView our full Breakout Garden range here!\u003c\/p\u003e\n\u003cp\u003eWe'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.\u003c\/p\u003e\n\u003cp\u003eUse 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?\u003c\/p\u003e\n\u003cp\u003eBecause 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.\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eIt's compatible with our fancy \u003c\/span\u003eBreakout Garden HAT (and pHAT)\u003cspan\u003e, where using breakouts is as easy just popping it into one of the six slots and starting to grow your project, create, and code.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eMini trackball with click button\u003c\/li\u003e\n\u003cli\u003eRGBW LEDs beneath trackball for illumination\u003c\/li\u003e\n\u003cli\u003eMoulded plastic trackball casing\u003c\/li\u003e\n\u003cli\u003eMounting holes\u003c\/li\u003e\n\u003cli\u003e\nNuvoton N76E003AQ20 MCU\u003c\/li\u003e\n\u003cli\u003eI2C interface (address 0x0A\/0x0B (cut trace))\u003c\/li\u003e\n\u003cli\u003e3.3V or 5V compatible\u003c\/li\u003e\n\u003cli\u003eReverse polarity protection\u003c\/li\u003e\n\u003cli\u003eCompatible with all models of Raspberry Pi, and Arduino\u003c\/li\u003e\n\u003cli\u003ePython library\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eKit includes\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eTrackball breakout\u003c\/li\u003e\n\u003cli\u003e1x5 male header\u003c\/li\u003e\n\u003cli\u003e1x5 female right-angle header\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eWe'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).\u003c\/p\u003e\n\u003ch2\u003eEngineering\u003c\/h2\u003e\n\u003cp\u003eThere's a remarkable amount of engineering packed into this diminutive breakout.\u003c\/p\u003e\n\u003cp\u003eThe trackball module itself has a tiny cylinder magnet at each corner that spins and is read by one of four Hall-effect sensors.\u003c\/p\u003e\n\u003cp\u003eThere'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.\u003c\/p\u003e\n\u003cp\u003eWe'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.\u003c\/p\u003e\n\u003cp\u003eThere's an on-board Nuvoton N76E003AQ20 MCU to read output from the trackball and dome switch, to control the LEDs, and to implement I2C.\u003c\/p\u003e\n\u003ch2\u003eSoftware\u003c\/h2\u003e\n\u003cp\u003eWe'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.\u003c\/p\u003e\n\u003ch2\u003eNotes\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eThe trackball breakout only works reliably with I2C speeds up to 250kHz due to limitations in the Raspberry Pi's clock-stretching implementation\u003c\/li\u003e\n\u003cli\u003eDimensions: 25x22x9.5mm\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Pimoroni","offers":[{"title":"Default Title","offer_id":48624110600410,"sku":"xjl1789683133208","price":16.08,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0824\/8318\/3834\/files\/trackball-breakout_1.jpg?v=1789683141","url":"https:\/\/memoryfoamwear.shop\/products\/trackball-breakout","provider":"My Store","version":"1.0","type":"link"}