{"product_id":"4242-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 We 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\u003cp\u003eThe PyGamer is powered by our favorite chip, the ATSAMD51, with 512KB of flash and 192KB of RAM. We add 8 MB of QSPI flash for file storage, handy for images, fonts, sounds, or game assets.\u003c\/p\u003e\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. 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, \u003ca href=\"https:\/\/www.adafruit.com\/product\/4228\"\u003ewhich fit our square top button caps\u003c\/a\u003e. 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\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 2.0mm PH connectors - \u003ca href=\"https:\/\/www.adafruit.com\/product\/3893\"\u003etwo 3-pin with ADC\/PWM capability\u003c\/a\u003e and \u003ca href=\"https:\/\/www.adafruit.com\/product\/3893\"\u003eone 4-pin that connects to I2C\u003c\/a\u003e - you can use this for Grove sensors as well as \u003ca href=\"https:\/\/www.adafruit.com\/product\/4424\"\u003eStemma QT with an adapter cable\u003c\/a\u003e.\u003c\/p\u003e\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. \u003ca href=\"https:\/\/www.adafruit.com\/product\/4227\"\u003eFor projects where you need more volume, you can plug in one of our 8 ohm speakers\u003c\/a\u003e. The PyGamer will auto-switch to headphones when they're plugged in, otherwise play through the speaker.\u003c\/p\u003e\u003cp\u003e\u003ca href=\"https:\/\/www.adafruit.com\/category\/574\"\u003eYou can power the PyGamer from any of our LiPoly batteries\u003c\/a\u003e, \u003ca href=\"https:\/\/www.adafruit.com\/product\/4237\"\u003ebut we like this 350mAh one\u003c\/a\u003e which will fit into the acrylic case. 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\u003cp\u003eNow, how to program it? Well you've got a lot of options!\u003c\/p\u003e\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\/\"\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\/pygamer\/\"\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\"\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\u003cp\u003eHere's a list of everything you get\u003c\/p\u003e\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\u003cp\u003e\u003cstrong\u003eThis product is just the bare PCB! \u003ca href=\"https:\/\/www.adafruit.com\/product\/4228\"\u003eButton caps\u003c\/a\u003e, \u003ca href=\"https:\/\/www.adafruit.com\/product\/4238\"\u003eacrylic case\u003c\/a\u003e, \u003ca href=\"https:\/\/www.adafruit.com\/product\/4227\"\u003espeaker\u003c\/a\u003e, and \u003ca href=\"https:\/\/www.adafruit.com\/product\/2750\"\u003ebattery\u003c\/a\u003e are not included!\u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003e\u003cimg class=\"video-insert\" alt=\"https:\/\/www.youtube.com\/embed\/FtBrj1gzkWQ?si=aBxj0QBztG3ie3_b\" contenteditable=\"false\" allowfullscreen=\"true\" frameborder=\"0\" src=\"https:\/\/img.youtube.com\/vi\/FtBrj1gzkWQ\/hqdefault.jpg\"\u003e\u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003e\u003cimg class=\"video-insert\" alt=\"https:\/\/www.youtube.com\/embed\/yX2SuS0rK2A?start=1192\" allowfullscreen=\"true\" frameborder=\"0\" tc-textcontent=\"true\" data-tc-id=\"w-0.5949203469203642\" contenteditable=\"false\" src=\"https:\/\/img.youtube.com\/vi\/yX2SuS0rK2A\/hqdefault.jpg\"\u003e\u003c\/strong\u003e\u003c\/p\u003e","brand":"Adafruit","offers":[{"title":"4-6 Giorni","offer_id":47700300300633,"sku":"ADA-4242\/B","price":65.81,"currency_code":"EUR","in_stock":false},{"title":"1 Giorno","offer_id":47886492434777,"sku":"ADA-4242\/A","price":65.81,"currency_code":"EUR","in_stock":false},{"title":"2-4 Settimane","offer_id":47886652408153,"sku":"ADA-4242","price":65.81,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/4242-01.jpg?v=1705517261","url":"https:\/\/xernuqvalzi.pro\/products\/4242-adafruit-pygamer-for-makecode-arcade-circuitpython-or-arduino","provider":"Robot Italy","version":"1.0","type":"link"}