{"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 We 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 we came up with.\u003c\/p\u003e\n\u003cp\u003eThe PyBadge is a compact board, like we said, it's credit card sized. It's powered by our favorite chip, the ATSAMD51, with 512KB of flash and 192KB of RAM. We 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 \u003cstrong\u003e(NOT Stemma QT!)\u003c\/strong\u003e - 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. For projects where you need more volume, you can plug in one of our 8 ohm speakers.\u003c\/p\u003e\n\u003cp\u003eYou can power the PyBadge from any of our LiPoly batteries, but we like this 400mAh one. 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, you can drag-and-drop blocks and load games over the disk-drive bootloader\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCircuitPython\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. You can use Adafruit Arcada 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\u003cp\u003e \u003c\/p\u003e\n\u003ch2\u003eTechnical Details\u003c\/h2\u003e\n\u003cdiv id=\"tab-technical-details-content\" class=\"panel-collapse collapse in\"\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"\u003e\n\u003cp\u003eProduct Dimensions: 85.7mm x 54.6mm x 10.0mm \/ 3.4\" x 2.1\" x 0.4\"\u003c\/p\u003e\n\u003cp\u003eProduct Weight: 29.3g \/ 1.0oz\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cul id=\"product-files\"\u003e\u003c\/ul\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-lg-2 col-md-3 col-sm-3 col-xs-4\"\u003e\u003cbr\u003e\u003c\/div\u003e\n\u003cdiv class=\"col-lg-2 col-md-3 col-sm-3 col-xs-4\"\u003e\u003cbr\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":53697540292884,"sku":"jej1787258057166","price":25.2,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0946\/9486\/7220\/files\/adafruit-pybadge-for-makecode-arcade-circuitpython-or-arduino_1.jpg?v=1787258061","url":"https:\/\/regalwearstore.shop\/products\/adafruit-pybadge-for-makecode-arcade-circuitpython-or-arduino","provider":"My Store","version":"1.0","type":"link"}