{"product_id":"rainbow-hat","title":"Rainbow HAT - Experimentation Board","description":"\u003cp\u003eRainbow HAT has a buffet of sensors, inputs and displays. Use it as a weather station, a clock, a timer or stopwatch, a mood light, or endless other things.\u003c\/p\u003e\n\u003cp\u003eWe've 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.\u003cbr\u003e\u003c\/p\u003e\n\u003cp\u003eRainbow HAT also has a full \u003ca href=\"https:\/\/github.com\/pimoroni\/rainbow-hat\"\u003ePython API for use on Raspberry Pi OS\u003c\/a\u003e just like all of our other HATs that you know and love!\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.raspberrypi.org\/magpi-issues\/MagPi56.pdf\"\u003eThe MagPi\u003c\/a\u003e said that \u003cem\u003e\"Rainbow HAT has an impressive number of features crammed into it, making it useful for all sorts of projects\"\u003c\/em\u003e in their four star review.\u003c\/p\u003e\n\u003ch2\u003eRainbow HAT features:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSeven APA102 multicolour LEDs\u003c\/li\u003e\n\u003cli\u003eFour 14-segment alphanumeric displays (green LEDs)\u003c\/li\u003e\n\u003cli\u003eHT16K33 display driver chip\u003c\/li\u003e\n\u003cli\u003eThree capacitive touch buttons\u003c\/li\u003e\n\u003cli\u003eAtmel QT1070 capacitive touch driver chip\u003c\/li\u003e\n\u003cli\u003eBlue, green and red LEDs\u003c\/li\u003e\n\u003cli\u003eBMP280 temperature and pressure sensor\u003c\/li\u003e\n\u003cli\u003ePiezo buzzer\u003c\/li\u003e\n\u003cli\u003eBreakout pins for servo, I2C, SPI, and UART (all 3v3)\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/pinout.xyz\/pinout\/rainbow_hat\" target=\"_blank\"\u003eRainbow HAT pinout\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003eCompatible with all 40-pin header Raspberry Pi models*\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/github.com\/pimoroni\/rainbow-hat\" target=\"_blank\"\u003ePython library\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003csmall\u003e* Please note that if you're using Rainbow HAT with a Raspberry Pi with PoE pins (that's models 3B+ and later), then you'll need to use a set of \u003ca href=\"\/en-eu\/products\/brass-m2-5-standoffs-for-pi-hats-black-plated-pack-of-2\" target=\"_blank\"\u003estand-offs\u003c\/a\u003e to ensure that the new PoE pins do not contact components on the underside of Rainbow HAT.\u003c\/small\u003e\u003c\/p\u003e\n\u003cp\u003eThe 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).\u003c\/p\u003e\n\u003ch2\u003eUsing Android Things?\u003c\/h2\u003e\n\u003cp\u003e\u003cstrong\u003ePlease note that Google are in the process of discontinuing Android Things. You can still use all the goodies on Rainbow HAT with our Python library!\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eFor information on how to get started with Android Things and Rainbow HAT \u003ca href=\"https:\/\/developers.android.com\/things\" target=\"_blank\"\u003evisit the official developer site\u003c\/a\u003e for Android Things. To put the \u003ca href=\"https:\/\/developer.android.com\/things\/preview\/download.html\" target=\"_blank\"\u003elatest Android Things image\u003c\/a\u003e on your SD card, \u003ca href=\"https:\/\/developer.android.com\/things\/hardware\/raspberrypi.html\"\u003esee the instructions here\u003c\/a\u003e. You can find the driver and samples published in the official GitHub organisation: \u003ca href=\"https:\/\/github.com\/androidthings\" target=\"_blank\"\u003ehttps:\/\/github.com\/androidthings\u003c\/a\u003e \u003c\/p\u003e\n\u003ch2\u003eUsing Raspberry Pi OS?\u003c\/h2\u003e\n\u003cp\u003eYou don't have to use Android Things with your Rainbow HAT, we’ve also put together our usual Python library to give you access to all its functions. \u003ca href=\"https:\/\/github.com\/pimoroni\/rainbow-hat\"\u003eYou can find it here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eIf you're interested in controlling your Rainbow HAT from a web page check out \u003ca href=\"https:\/\/anvil.works\/articles\/pimoroni-rainbow-hat?utm_source=pimoroni\" target=\"_blank\"\u003ethis tutorial\u003c\/a\u003e - it shows you how to incorporate web app functionality into your Python code using Anvil's drag and drop app designer.\u003c\/p\u003e\n\u003ch2\u003eNotes\u003c\/h2\u003e\n\u003cp\u003eTemperature 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 \u003ca href=\"https:\/\/www.raspberrypi.org\/forums\/viewtopic.php?f=104\u0026amp;t=111457\" target=\"_blank\"\u003eRaspberry Pi forums\u003c\/a\u003e, suggests to use the formula: \u003cem\u003ecorrected temp. = measured temp. - (CPU temp. - measured temp.) \/ 2\u003c\/em\u003e. Using a \u003ca href=\"\/en-eu\/products\/mini-black-hat-hack3r\" target=\"_blank\"\u003eMini Black HAT Hack3r\u003c\/a\u003e can also help.\u003c\/p\u003e","brand":"Pimoroni","offers":[{"title":"Default Title","offer_id":12509840539731,"sku":"PIM242","price":27.95,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/rainbow-hat-lifestyle-1.jpg?v=1539263441","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/rainbow-hat","provider":"Pimoroni Ltd","version":"1.0","type":"link"}