{"product_id":"display-hat-mini","title":"Display HAT Mini","description":"\u003cp\u003eA generous 2.0\" (320 x 240) IPS LCD display for Raspberry Pi with lots of tasty baked in functionality.\u003c\/p\u003e\n\u003cp\u003eDisplay HAT Mini features a bright \u003cstrong\u003e18-bit capable 320x240 pixel display\u003c\/strong\u003e with vibrant colours and formidable IPS viewing angles, connected via SPI. It's got \u003cstrong\u003efour tactile buttons\u003c\/strong\u003e for interacting with your Pi with your digits and a \u003cstrong\u003eRGB LED\u003c\/strong\u003e for notifications. We've also squeezed in a \u003cstrong\u003eQwST connector\u003c\/strong\u003e (Qwiic \/ STEMMA QT) and a \u003cstrong\u003eBreakout Garden header\u003c\/strong\u003e so it's a doddle to connect up different kinds of breakouts.\u003c\/p\u003e\n\u003cp\u003eIt will work with any model of Pi with a 40 pin header, but we think it goes with the Raspberry Pi Zero particularly well - we've included a pair of \u003cstrong\u003estandoffs\u003c\/strong\u003e so you can use to bolt HAT and Pi together to make a sturdy little unit. To accommodate the screen Display HAT Mini is a bit bigger than a standard mini HAT or pHAT - it's around 5mm taller than a Pi Zero (so a Mini HAT XL or a Mini HAT Pro, if you will).\u003c\/p\u003e\n\u003cp\u003eDisplay HAT Mini lets you turn a Raspberry Pi into a convenient IoT control panel, a tiny photo frame, digital art display or gif-box, or a desktop display for news headlines, tweets, or other info from online APIs. This screen is a handy 3:2 ratio, useful for retro gaming purposes!\u003c\/p\u003e\n\u003ch2\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e2.0” 320x240 pixel IPS LCD screen, connected via SPI (~220 PPI, 65K colours)\u003c\/li\u003e\n\u003cli\u003e4 x tactile buttons\u003c\/li\u003e\n\u003cli\u003eRGB LED\u003c\/li\u003e\n\u003cli\u003eQw\/ST (Qwiic\/STEMMA QT) connector\u003c\/li\u003e\n\u003cli\u003eBreakout Garden \/ I2C header\u003c\/li\u003e\n\u003cli\u003ePre-soldered socket header for attaching to Raspberry Pi\u003c\/li\u003e\n\u003cli\u003eCompatible with all models of Raspberry Pi with a 40 pin header.\u003c\/li\u003e\n\u003cli\u003eFully assembled\u003c\/li\u003e\n\u003cli\u003eNo soldering required (as long as your Pi has header pins attached).\u003c\/li\u003e\n\u003cli\u003eDimensions: approx 65.5mm x 35mm x 9mm (W x H x D, includes header and display). With a Pi Zero attached with standoffs, the total depth is 17mm.\u003c\/li\u003e\n\u003cli\u003eScreen usable area: 40.8mm x 30.6mm (L x W)\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/pinout.xyz\/pinout\/display_hat_mini#\" target=\"_blank\"\u003ePinout\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/display_mini_hat_schematic.pdf?v=1635342066\" target=\"_blank\"\u003eSchematic\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/DisplayHATMiniDimensionalDrawing.png?v=1638792746\" rel=\"noopener noreferrer\" target=\"_blank\"\u003eDimensional drawing\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/github.com\/pimoroni\/displayhatmini-python\" target=\"_blank\"\u003eDisplay HAT Mini Python library\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/github.com\/pimoroni\/st7789-python\" target=\"_blank\"\u003eST7789 Python library\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eIncludes\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eDisplay HAT Mini\u003c\/li\u003e\n\u003cli\u003e2 x 10mm standoffs\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eRaspberry Pi and accessories are sold separately, check out the Extras tab for some options!\u003c\/p\u003e\n\u003ch2\u003eSoftware\u003c\/h2\u003e\n\u003cp\u003eTo get started, follow the installation instructions in the \u003ca href=\"https:\/\/github.com\/pimoroni\/displayhatmini-python\" target=\"_blank\"\u003eDisplay HAT Mini library\u003c\/a\u003e. This library contains some examples of how to use the screen, buttons and LED with Pygame. You can also find examples for this screen in our \u003ca href=\"https:\/\/github.com\/pimoroni\/st7789-python\" target=\"_blank\"\u003eST7789 Python library\u003c\/a\u003e, these show you how to write and draw on the screen using PIL to display shapes, text and gifs.\u003c\/p\u003e\n\u003cp\u003eWe've also been having fun with \u003ca href=\"https:\/\/github.com\/juj\/fbcp-ili9341\/pull\/242\" target=\"_blank\"\u003efbcp-ili9341\u003c\/a\u003e - a high level framebuffer driver for SPI-based LCD displays. The Raspberry Pi OS desktop is a \u003ca href=\"https:\/\/twitter.com\/Gadgetoid\/status\/1453045016083976195\" target=\"_blank\"\u003eleeetle small\u003c\/a\u003e on a 2.0\" screen, but this might be a good option if you're doing something like building your own custom retro console.\u003c\/p\u003e\n\u003ch2\u003eAttaching Breakouts\u003c\/h2\u003e\n\u003cp\u003eYou can connect \u003ca href=\"\/en-eu\/collections\/electronics\" target=\"_blank\"\u003ebreakouts\u003c\/a\u003e with a Qwiic or STEMMA QT connector into Display HAT Mini with one of \u003ca href=\"\/en-eu\/products\/jst-sh-cable-qwiic-stemma-qt-compatible\" target=\"_blank\"\u003ethese handy cables\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eIf you have a \u003ca href=\"\/en-eu\/collections\/breakout-garden\" target=\"_blank\"\u003eBreakout Garden breakout\u003c\/a\u003e without a Qw\/ST connector, you can either pop one of \u003ca href=\"\/en-eu\/products\/stemma-qt-qwiic-to-breakout-garden-adapter\" target=\"_blank\"\u003ethese adaptors\u003c\/a\u003e on the end of your cable, or you can plug a \u003ca href=\"\/en-eu\/products\/breakout-extender\" target=\"_blank\"\u003eBreakout Extender\u003c\/a\u003e into the header at the other end of Display HAT Mini (you can find it next to your Pi's SD card slot).\u003c\/p\u003e\n\u003ch2\u003e\u003cbr\u003e\u003c\/h2\u003e\n\u003ch2\u003e\u003cbr\u003e\u003c\/h2\u003e\n\u003ch2\u003eNotes\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eThe buttons are close to the edge of the screen, so it's worth taking a bit of care when pressing the buttons that you're not also pressing down on the screen, particularly at the edge with the ribbon cable.\u003c\/li\u003e\n\u003cli\u003ePlease note that because of Display HAT Mini's extra size, it will overhang adjacent slots on expansion boards like pHAT Stack, Black HAT Hacker, HAT Hacker HAT and Flat HAT Hacker. No shame - every HAT is valid, every HAT is beautiful.\u003c\/li\u003e\n\u003cli\u003eWe've found two standoffs to be sufficient to keep this HAT firmly in place, but if you want to add standoffs at every corner of your Zero so you can use it to stop a tank or something you can pick up more \u003ca href=\"\/en-eu\/products\/brass-m2-5-standoffs-for-pi-hats-black-plated-pack-of-2\" target=\"_blank\"\u003ehere\u003c\/a\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Pimoroni","offers":[{"title":"Default Title","offer_id":39496084717651,"sku":"PIM589","price":18.95,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/display-hat-mini-2.jpg?v=1635379092","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/display-hat-mini","provider":"Pimoroni Ltd","version":"1.0","type":"link"}