# Pimoroni Rainbow HAT for Android Things™ and Raspberry Pi

**Type:** Product page · **SKU:** CE04635 · **Brand:** [Pimoroni](https://core-electronics.com.au/brands/pimoroni-australia) · **GTIN:** 0704256800352
**Page:** https://core-electronics.com.au/pimoroni-rainbow-hat-for-android-things-raspberry-pi.html ([markdown](https://core-electronics.com.au/pimoroni-rainbow-hat-for-android-things-raspberry-pi.html.md))

Rainbow HAT has a buffet of sensors, inputs and displays to explore Android Things™. Use it as a weather station, a clock, a timer or stopwatch, a mood light, or endless other things.

## Pricing

- **Price:** $27.09 (inc GST) — $24.63 AUD, exc GST

## Availability & dispatch

- In stock, ships same business day if ordered before 2PM (Australia/Sydney).
- We can dispatch 2 today; more stock is typically available with a 10–14 day lead time.

## Description

The Rainbow HAT from Pimironi, has a buffet of sensors, inputs and displays to explore Android Things™. Use it as a weather station, a clock, a timer or stopwatch, a mood light, or endless other things.

Pimironi worked with the Android Things team at Google to create this great add-on board that features displays, sensors, sound, and lots of LEDs! It's the perfect introduction to developing Android Things applications on the Raspberry Pi.

Rainbow HAT also has a full [Python API for use on Raspbian](https://github.com/pimoroni/rainbow-hat) just like all of our other HATs that you know and love!

\****Raspberry Pi not included***\*

### Rainbow HAT features

- Seven APA102 multicolour LEDs
- Four 14-segment alphanumeric displays (green LEDs)
- HT16K33 display driver chip
- Three capacitive touch buttons
- Atmel QT1070 capacitive touch driver chip
- Blue, green and red LEDs
- BMP280 temperature and pressure sensor
- Piezo buzzer
- Breakout pins for servo, I2C, SPI, and UART (all 3v3)
- The board is designed specifically to show off the wide range of protocols available on the Raspberry Pi, including SPI (the APA102 LEDs), I2C (the BMP280 sensor and 14-segment displays), GPIO (the capacitive touch buttons and LEDs), and PWM (the piezo buzzer).

### Using Android Things?

For information on how to get started with Android Things and Rainbow HAT [visit the official developer site](https://developers.android.com/things) for Android Things.

To put the [latest Android Things image](https://developer.android.com/things/preview/download.html) on your SD card, see the instructions here: <https://developer.android.com/things/hardware/raspberrypi.html>.

You can find the driver and samples published in the official GitHub organisation: <https://github.com/androidthings>

### Using Raspbian?

Pimironi have also put together a Python library to make it a breeze to use. You can find it here: <https://github.com/pimoroni/rainbow-hat>

### Notes

Temperature readings are affected by heat radiated from your Pi’s CPU and the onboard LEDs; calibration can help to correct temperature readings. bstrobl, on the [Raspberry Pi forums](https://www.raspberrypi.org/forums/viewtopic.php?f=104&t=111457), suggests to use the formula: *corrected temp. = measured temp. - (CPU temp. - measured temp.)*

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/c/e/ce04636-2_1.png)
