NEW PRODUCT – Adafruit PyGamer for MakeCode Arcade, CircuitPython or Arduino

4242 iso ORIG 2019 05

NEW PRODUCT – Adafruit PyGamer for MakeCode Arcade, CircuitPython or Arduino


What 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 Adafruit PyGamer! 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!

The 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.

On the front you get a 1.8″ 160×128 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, which fit our square top button caps. 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.

4242 top ORIG 2019 05

On 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.

For 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 one of our 8 ohm speakers. The PyGamer will auto-switch to speakers when they’re plugged in.

You can power the PyGamer from any of our LiPoly batteries, but we like this 350mAh one 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.

4242 side detail 01 ORIG 2019 05

4242 side detail 02 ORIG 2019 05

Now, how to program it? Well you’ve got a lot of options!

Here’s a list of everything you get

  • ATSAMD51J19 @ 120MHz with 3.3V logic/power – 512KB of FLASH + 192KB of RAM
  • 8 MB of QSPI Flash for storing images, sounds, animations, whatever!
  • Micro SD Card Slot for storing even more stuff when the QSPI flash isn’t enough
  • 1.8″ 160×128 Color TFT Display connected to its own SPI port
  • 1 x Analog Thumbstick with X and Y analog inputs
  • 4 x Game/Control Buttons with square tops
  • 5 x NeoPixels for dazzle, or game score-keeping
  • Triple-axis accelerometer (motion sensor)
  • Light sensor, reverse-mount so that it points out the front
  • Stereo headphone jack
  • Mono Class-D speaker driver for 4-8 ohm speakers, up to 2 Watts
  • LiPoly battery port with built in recharging capability
  • USB port for battery charging, programming and debugging
  • Two female header strips with Feather-compatible pinout so you can plug any FeatherWings in
  • JST ports for NeoPixels, sensor input, and I2C (you can fit I2C Grove connectors in here)
  • Reset button
  • On-Off switch

This product is just the bare PCB! Button capsacrylic casespeaker and battery are not included!

4242 quarter ORIG 2019 05

We’ve got special button caps for this! Check ‘em out!


Plastic Button Caps For Square Top (10-pack) – 8mm Diameter

4228 iso ORIG 2019 04

These Reese’s Piece’s lookin’ bits fit perfectly on top of tactile buttons with 2.4mm square tops and give a satisfying 8mm diameter surface area for your fingers to press.

You get 10 candy-colored round caps. You get two of each color: red, yellow, white, gray, and Adafruit black. Snap these onto a tactile switch body (not included) to customize your PyGamer, or anything else with 2.4mm-square-top tactile switches.

4228 top ORIG 2019 04

4228 quarter ORIG 2019 04


Sign up to be notified when we get these Adafruit PyGamer Acrylic Enclosure Kits in the store!

Adafruit PyGamer Acrylic Enclosure Kit

4238 kit ORIG 2019 05

You’ve got your PyGamer, and you’re ready to start jammin’ on your favorite arcade games. You gaze adoringly at the charming silkscreen designed by Ada-friend PaintYourDragon. The nostalgia is palpable!

Cradling the PCB in your hands, you realize there’s something missing. You feel an overwhelming need to protect this incredible gaming console.

Prevent monsters, gremlins, big level bosses, or accidentally-spilled coffee giving you a GAME OVER with the PyGamer Enclosure Kit! Expertly crafted and laser-cut, this enclosure will give your PyGamer a minimalist and elegant look.

Enclosure kit includes:

  • ​1 x 3mm smoke acrylic top piece
  • 1 x 3mm clear acrylic top piece
  • 4 x 3mm clear acrylic side pieces
  • 1 x 1.5mm clear acrylic back piece
  • 4 x M3 x 18mm long black nylon screws
  • 4 x M3 black nylon hex nuts

These come with paper backings on both sides (it protects the acrylic while laser cutting and shipping). You’ll need to peel those off before assembly.

4238 top ORIG 2019 05

4238 iso ORIG 2019 05

4238 bottom ORIG 2019 05

Note: this is only the enclosure kit. Don’t forget the PyGamer too!


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.

Sorry, the comment form is closed at this time.