{"product_id":"adafruit-pybadge-for-makecode-arcade-circuitpython-or-arduino","title":"Adafruit PyBadge for MakeCode Arcade, CircuitPython or Arduino","description":"\u003cp\u003eWhat's the size of a credit card and can run CircuitPython, MakeCode Arcade or Arduino? That's right, its the \u003cstrong\u003eAdafruit PyBadge!\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eAdafruit wanted to see how much we could cram into a ​3 3⁄8 × ​2 1⁄8 inch rounded rectangle, to make an all-in-one dev board with a lot of possibilities, and this is what they came up with.\u003c\/p\u003e\n\u003cp\u003eThe PyBadge is a compact board, it's credit card sized. It's powered by our favorite chip, the ATSAMD51, with 512KB of flash and 192KB of RAM. Adafruit add 2 MB of QSPI flash for file storage, handy for images, fonts, sounds, or game assets.\u003c\/p\u003e\n\u003cp\u003eOn the front you get a 1.8\" 160x128 color TFT display with dimmable backlight - we have fast DMA support for drawing so updates are incredibly fast. There's also 8 silicone-top buttons, they are clicky but have a soft button top so they're nice and grippy. The buttons are arranged to mimic a gaming handheld, with a d-pad, 2 menu-select buttons and 2 fire-action buttons. There's also 5 NeoPixel LEDs to dazzle or track activity.\u003c\/p\u003e\n\u003cp\u003eOn the back we have a full Feather-compatible header socket set, so you can plug in any FeatherWing to expand the capabilities of the PyBadge. There's also 3 STEMMA connectors - two 3-pin with ADC\/PWM capability and one 4-pin that connects to I2C - you can use this for Grove sensors as well.\u003c\/p\u003e\n\u003cp\u003eFor built in sensors, there's a light sensor that points out the front, and a 3-axis accelerometer that can detect taps and free-fall. To make bleeps and bloops, there's a built in buzzer-speaker.\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"\/en-eu\/products\/lipo-battery-pack\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eYou can power the PyBadge from any of our LiPoly batteries\u003c\/a\u003e. An on-off switch will save battery power when not in use. Or power from the Micro USB port - it will also charge up the battery if one is attached.\u003c\/p\u003e\n\u003cp\u003eNow, how to program it? Well you've got a lot of options!\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eMakeCode Arcade is the easiest to start for making games\u003c\/strong\u003e, \u003ca href=\"https:\/\/arcade.makecode.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eyou can drag-and-drop blocks and load games over the disk-drive bootloader\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/circuitpython.org\/board\/pybadge\/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eCircuitPython\u003c\/a\u003e\u003c\/strong\u003e lets you draw graphics, play wave files and print out text in any fonts - all in Python! There's tons of sensor support as well.\u003c\/li\u003e\n\u003cli\u003eArduino is low level, powerful, but a little more challenging. \u003ca href=\"https:\/\/github.com\/adafruit\/Adafruit_Arcada\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eYou can use Adafruit Arcada\u003c\/a\u003e to interface with the hardware and it will abstract some of the nitty-gritty details like reading buttons for you.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eHere's a list of everything you get\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eATSAMD51J19\u003c\/strong\u003e @ 120MHz with 3.3V logic\/power - 512KB of FLASH + 192KB of RAM\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e2 MB of SPI Flash\u003c\/strong\u003e for storing images, sounds, animations, whatever!\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e1.8\" 160x128 Color TFT Display\u003c\/strong\u003e connected to its own SPI port\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e8 x Game\/Control Buttons \u003c\/strong\u003ewith nice silicone button tops (these feel great)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e5 x NeoPixels\u003c\/strong\u003e for badge dazzle, or game score-keeping\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eTriple-axis accelerometer\u003c\/strong\u003e (motion sensor)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eLight sensor\u003c\/strong\u003e, reverse-mount so that it points out the front\u003c\/li\u003e\n\u003cli\u003e\u003cstrong\u003eBuilt in buzzer mini-speaker\u003c\/strong\u003e\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eMono Class-D speaker driver\u003c\/strong\u003e for 4-8 ohm speakers, up to 2 Watts\u003c\/li\u003e\n\u003cli\u003eLiPoly battery port with built in recharging capability\u003c\/li\u003e\n\u003cli\u003eUSB port for battery charging, programming and debugging\u003c\/li\u003e\n\u003cli\u003eTwo female header strips with Feather-compatible pinout so you can plug any FeatherWings in\u003c\/li\u003e\n\u003cli\u003eJST ports for NeoPixels, sensor input, and I2C (you can fit I2C Grove connectors in here)\u003c\/li\u003e\n\u003cli\u003eReset button\u003c\/li\u003e\n\u003cli\u003eOn-Off switch\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eTECHNICAL DETAILS\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eProduct Dimensions: 85.7mm x 54.6mm x 10.0mm \/ 3.4\" x 2.1\" x 0.4\"\u003c\/li\u003e\n\u003cli\u003eProduct Weight: 29.3g \/ 1.0oz\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eLEARN\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-pybadge\"\u003ePrimary Guide:\u003c\/a\u003e \u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-pybadge\"\u003eAdafruit PyBadge and PyBadge LC\u003c\/a\u003e - What's the size of a credit card and can run CircuitPython, MakeCode Arcade or Arduino? That's right, its the Adafruit PyBadge!\n\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/learn.adafruit.com\/makecode-arcade-sparky-invaders\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eMakeCode Arcade: Sparky Invaders\u003c\/a\u003e - Create your own space blasting action game in MakeCode Arcade and play it on your Pybadge!\n\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/learn.adafruit.com\/making-a-name-tag-in-makecode-arcade\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eMaking a Name Tag in MakeCode Arcade\u003c\/a\u003e - Make your own customized name tag with 3 code blocks in MakeCode Arcade\n\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/learn.adafruit.com\/pyportal-animated-gif-display\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eArcada Animated GIF Display\u003c\/a\u003e - Treasure your memes by having them display on your desk\n\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/products\/4200\/guides\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eSee all guides\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":30495730532435,"sku":"ADA4200","price":34.95,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/4200-01.jpg?v=1570709935","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/adafruit-pybadge-for-makecode-arcade-circuitpython-or-arduino","provider":"Pimoroni Ltd","version":"1.0","type":"link"}