This QT Py does not run CircuitPython or MicroPython and Arduino support is very early.
PrettyPins PDF on GitHub.
- USB-C port - This is used for both powering and programming the board. You can power it with any USB C cable.
- 3V - This pin is the output from the 3.3V regulator, it can supply 600mA peak.
- GND - This is the common ground for all power and logic.
- 5V - This is 5V out from the USB port.
The CH32V203G6 has a single 32-bit RISC-V core, running up to 144MHz, with 1-cycle multiply/divide. Inside is 10KB SRAM, 32KB single-cycle Flash as well as an additional 'external XIP' 224KB of Flash that can be used for program or data storage but it's not as fast as the 32KB. There are also extras you expect: ADC, timers, USB device, UART, I2C and SPI.
There are ten GPIO pins broken out to pins. There is hardware I2C, UART, and SPI. All of the GPIO have an ADC input.
I2C
- SCL - This is the I2C clock pin. There is no pull-up on this pin, so for I2C please add an external pull-up if the breakout doesn't have one already. It's connected to PB6.
- SDA - This is the I2C data pin. There is no pull-up on this pin, so for I2C please add an external pull-up if the breakout doesn't have one already. It's connected to PB7.
These pins are also connected to the STEMMA QT port.
UART
- RX - This is the UART receive pin. Connect to TX (transmit) pin on your sensor or breakout. It's connected to PA3.
- TX - This is the UART transmit pin. Connect to RX (receive) pin on your sensor or breakout. It's connected to PA2.
SPI
- SCK - This is the SPI clock pin. It's connected to PA5.
- MI - This is the SPI Microcontroller In / Sensor Out pin. It's connected to PA6.
- MO - This is the SPI Microcontroller Out / Sensor In pin. It's connected to PA7.
This JST SH 4-pin STEMMA QT connector is located at the back of the board. It allows you to connect to various breakouts and sensors with STEMMA QT connectors or to other things using assorted associated accessories. It works great with any STEMMA QT or Qwiic sensor/device. You can also use it with Grove I2C devices thanks to this handy cable.
Next to the BOOT button, in the center of the board, is the RGB NeoPixel LED. This addressable LED can be controlled with code. It is connected to PA4.
- Reset button - This button restarts the board and helps enter the bootloader. You can click it once to reset the board without unplugging the USB cable or battery.
- BOOT button - This button is connected to PB8/BOOT0. To enter bootloader mode, disconnect the QT Py from USB power. Hold down the BOOT button and reconnect USB power.
Text editor powered by tinymce.