There are so many great features on the Adafruit PyPortal. Let's take a look at what's available!
The main processor chip is the ATSAMD51J20 Cortex M4 running at 120MHz with 3.3v logic/power. It has 1MB of Flash and 256KB of RAM.
We also include 8 MB of QSPI Flash for storing images, sounds, animations, whatever!
The WiFi capability uses an Espressif ESP32 Wi-Fi coprocessor with TLS/SSL support built-in.
The ESP32 uses the SPI port for data, and also uses a CS pin (
- For advanced use or reprogramming, we also connect the main RX/TX UART to the ESP32 - on Arduino that's
Serial1and in CircuitPython use
- You can also connect to the ESP32 RTS pin (used in some serial contexts) on
- The ESP32 GPIO0 pin for bootloader enable is connected to
On the front is a 3.2″ 320 x 240 color TFT with resistive touch screen!
On the back, there is a large connector near the middle, the display connector. It connects the display on the front to the board.
To give you the most data throughput we configure the screen for 8-bit interfacing. That means 8 data lines and a collection of 4 or 5 control lines. If you really want to use the screen in SPI mode, you can do so by soldering closed the SPI jumper and cutting/resoldering the 8/SPI jumper over to the SPI side. That's for advanced users!
The touchscreen is fully analog/resistive. It can be read using our Arduino/CircuitPython drivers. The connections are as follows:
- YD on
- XL on
- YU on
- XR on
The 8 bit LCD interface is not exposed in CircuitPython (its managed internally). In Arduino its on Digital 34 thru 41, which is on a PORTA 8-bit boundary (PA16-PA23) and can be used for DMA or fast port writes. This probably doesn't affect you.
There are multiple control pins
TFT Reset -
TFT WR -
board.TFT_WRor Arduino 25 (this is also the
board.TFT_DCpin if using in SPI mode)
TFT RD -
TFT RS -
TFT CS -
TFT TE -
There is also a TFT backlight, transistor-connected to
board.TFT_BACKLIGHT or Arduino
25. You can PWM control it. There are 6 white LEDs connected in parallel, so having it be full on will draw quite a bit of current (over 100mA!)
There are two built in sensors.
On the top is the ADT7410 Analog Devices temperature sensor with 16-bit 0.0078°C temperature resolution and 0.5°C temperature tolerance. The sensor is
There is also an ambient light sensor on the side, which points through to the front, as seen in the second image. The light sensor is an analog input, connected to
On the left side, there is a microSD card slot. A microSD card is the best way to add extra storage to your project and provide space for streams to be processed!
The SD card is on the main SPI port (shared with the ESP32) and a CS line. In CircuitPython, the CS pin is
There is also a card detect pin on
There is a speaker and a speaker connector.
The grey squarish bit on the bottom is a speaker. There is a small class D amplifier connected to the speaker so it can get quite loud!
There is also a speaker connector, which is a Molex PicoBlade. You can attach one of the speakers available in the Adafruit shop, or solder a connector to your favorite speaker. If you do, cut the small solder jumper to the left of the buzzer so that you only have one speaker activated (and also it will be louder!)
The speaker is connected to the DAC0 output from the SAMD51, via a class D amplifier. The analog output is known as
board.AUDIO_OUT in CircuitPython. In Arduino its
You can disable the speaker amplifier by setting the shutdown pin to output and low. It's on
board.SPEAKER_ENABLE and Arduino
There is a 4-pin JST I2C connector in the center on the right, that is STEMMA and Grove compatible. The I2C has pullups to 3.3V power and is connected to the ADT7410 already.
The I2C connector defaults to 5V. There is a jumper you can cut or solder to change it between 5V and 3V.
On the right side are two connectors labeled D3 and D4. These are 3-pin JST digital or analog connectors for sensors or NeoPixels. These pins can be analog inputs or digital I/O.
They have protection 1K resistors + 3.6V zener diodes so you can drive an LED directly from the output. Connect to them via
D3/A1 is the second DAC.
There are two LEDs on the board.
On the top, is the RGB status NeoPixel labeled "STATUS". It is connected to
Towards the bottom on the left is the D13 LED. This is attached to
There is one USB port on the board.
On the left side, towards the bottom, is a USB Micro port, which is used for powering and programming the board.
The reset button is located on the top in the middle.
Click it once to re-start your firmware. Click twice to enter bootloader mode.