> **Source:** Core Electronics is an Australian maker-electronics retailer and manufacturer based in Newcastle, NSW, run by a team of makers and educators. We design and manufacture our own product lines (PiicoDev, CE originals) and are official retailers for iconic maker and industrial brands including Raspberry Pi, Arduino, Adafruit, SparkFun and DFRobot. Orders ship Australia-wide from our Newcastle warehouse. Prices are in AUD and include GST. Pricing, stock and dispatch on this page are generated from the store's live catalog. Full machine-readable index: https://core-electronics.com.au/llms.txt

# Pimoroni Trackball Breakout

**Type:** Product page · **SKU:** CE06452 · **Brand:** [Pimoroni](https://core-electronics.com.au/brands/pimoroni-australia) · **GTIN:** 606034879126
**Page:** https://core-electronics.com.au/trackball-breakout.html ([markdown](https://core-electronics.com.au/trackball-breakout.html.md))

## Retired product

This product is retired and no longer available for purchase. Replaced by: ADA5063.

**Replacement:** https://core-electronics.com.au/catalog/product/view/sku/ADA5063

## How to buy

- **Search the catalogue:** `https://core-electronics.com.au/search/{query}.md` (URL-encode the query; pages 2-3 at `search/{query}/{page}.md`; `search.md?q=` also works)
- **Payment methods, purchase orders, policies and contact details:** https://core-electronics.com.au/llms.txt
## Description

Pimoroni has 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, Pimoroni has 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](https://core-electronics.com.au/breakout-garden-hat.html) (and [pHAT](https://core-electronics.com.au/pimoroni-breakout-garden-phat.html)), where using breakouts is as easy just popping it into one of the six slots and starting to grow your project, create, and code.

### Features

- Mini trackball with click button
- RGBW LEDs beneath trackball for illumination
- Moulded plastic trackball casing
- Mounting holes
- Nuvoton N76E003AQ20 MCU
- I2C interface (address 0x0A/0x0B (cut trace))
- 3.3V or 5V compatible
- Reverse polarity protection
- Compatible with all models of Raspberry Pi, and Arduino
- [Python library](https://github.com/pimoroni/trackball-python)
- [Dimensions: 25x22x9.5mm](https://github.com/pimoroni/trackball-python)

### Kit includes

- Trackball breakout
- 1x5 male header
- 1x5 female right-angle header

Pimoroni has 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, 6, 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.

Pimoroni has 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

Pimoroni has put together a [Python library](https://github.com/pimoroni/trackball-python) 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.

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/t/r/trackball_1_of_4_large.jpg)
