{"product_id":"adafruit-pygamer-for-makecode-arcade-circuitpython-or-arduino","title":"Adafruit PyGamer for MakeCode Arcade, CircuitPython or Arduino","description":"\u003cp\u003eWhat fits in your pocket, is fully Open Source, and can run CircuitPython, MakeCode Arcade or Arduino games you write yourself? That's right, it's the \u003cstrong\u003eAdafruit PyGamer!\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eAdafruit wanted to make an entry-level gaming handheld for DIY gaming, and maybe a little retro-emulation. It's not the fastest and best of everything but it is an all-in-one dev board with a lot of possibilities!\u003c\/p\u003e\n\u003cp\u003eThe PyGamer is powered by their favorite chip, the ATSAMD51, with 512KB of flash and 192KB of RAM. They add 8 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 - it has fast DMA support for drawing so updates are incredibly fast. A dual-potentiometer analog stick gives you great control, with easy diagonal movement - or really any direction you like. There's also 4 square-top buttons. The buttons are arranged to mimic a gaming handheld, with 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 PyGamer. 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, plug in any set of stereo headphones. For projects where you need more volume, you can plug in an 8 ohm speaker. The PyGamer will auto-switch to headphones when they're plugged in, otherwise play through the speaker.\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"\/en-eu\/?q=bat00\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eYou can power the PyGamer 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\u003e8 MB of QSPI Flash\u003c\/strong\u003e for storing images, sounds, animations, whatever!\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eMicro SD Card Slot \u003c\/strong\u003efor storing even more stuff when the QSPI flash isn't enough\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\u003e1 x \u003c\/strong\u003e\u003cstrong\u003eAnalog Thumbstick\u003c\/strong\u003e with X and Y analog inputs\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e4 x Game\/Control Buttons \u003c\/strong\u003ewith square tops\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e5 x NeoPixels\u003c\/strong\u003e for 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\u003eStereo headphone jack\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\u003cstrong\u003eThis product is just the bare PCB! Button caps, acrylic case, speaker, and battery are not included!\u003c\/strong\u003e\u003c\/p\u003e\n\u003ch2\u003eTECHNICAL DETAILS\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eProduct Dimensions: 101.6mm x 60.0mm x 19.5mm \/ 4.0\" x 2.4\" x 0.8\"\u003c\/li\u003e\n\u003cli\u003eProduct Weight: 37.5g \/ 1.3oz\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-pygamer\" target=\"_blank\" rel=\"noopener noreferrer\"\u003ePrimary Guide: Introducing Adafruit PyGamer\u003c\/a\u003e - Fits in your pocket, is fully Open Source, and can run CircuitPython, MakeCode Arcade or Arduino games you write yourself!\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/learn.adafruit.com\/pygamer-snapfit-case\" target=\"_blank\" rel=\"noopener noreferrer\"\u003ePyGamer 3D Printed Snapfit Case\u003c\/a\u003e - 3D Print Case for the Adafruit PyGamer\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/learn.adafruit.com\/how-to-hack-roms-to-add-your-own-sprites\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eHow to Hack NES ROMs to Add Your Own Sprites\u003c\/a\u003e - Insert your own sprites into your favorite games!\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\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/products\/4242\/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":29441985478739,"sku":"ADA4242","price":43.95,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/4242-00.jpg?v=1565169425","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/adafruit-pygamer-for-makecode-arcade-circuitpython-or-arduino","provider":"Pimoroni Ltd","version":"1.0","type":"link"}