Difference between revisions of "QTPy49"

From Land Boards Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 92: Line 92:
  
 
* MISO - AD9
 
* MISO - AD9
** GP4 on XIAO-RP2040
+
** GP4 on XIAO-RP2040 and SeeedStudio RP2040
 
** PA09 on Adafruit SAMD21
 
** PA09 on Adafruit SAMD21
 
* MOSI - AD10
 
* MOSI - AD10
** GP3 on XIAO-RP2040
+
** GP3 on XIAO-RP2040 and SeeedStudio RP2040
 
** PA10 on Adafruit SAMD21
 
** PA10 on Adafruit SAMD21
 
* SCK - AD8
 
* SCK - AD8
 
** GP2 on XIAO-RP2040
 
** GP2 on XIAO-RP2040
 +
** GP6 on SeeedStudio RP2040
 
** PA11 on Adafruit SAMD21
 
** PA11 on Adafruit SAMD21
 
* SS - AD0
 
* SS - AD0
 
** GP26 on XIAO-RP2040
 
** GP26 on XIAO-RP2040
 +
** GP29 on SeeedStudio RP2040
 
** PA02 on Adafruit SAMD21
 
** PA02 on Adafruit SAMD21
  
Line 113: Line 115:
 
* D6
 
* D6
 
** GP0 on XIAO-RP2040
 
** GP0 on XIAO-RP2040
 +
** GP20 on Adafruit RP2040
 
** PA06 on Adafruit SAMD21
 
** PA06 on Adafruit SAMD21
 
* D7
 
* D7
 
** GP1 on XIAO-RP2040
 
** GP1 on XIAO-RP2040
 
** PA07 on Adafruit SAMD21
 
** PA07 on Adafruit SAMD21
 +
** GP5 on Adafruit RP2040
  
 
=== J5 - I2C ===
 
=== J5 - I2C ===
Line 127: Line 131:
 
* D4
 
* D4
 
** GP6 on XIAO-RP2040
 
** GP6 on XIAO-RP2040
 +
** GP24 on Adafruit RP2040
 
** PA16 on Adafruit SAMD21
 
** PA16 on Adafruit SAMD21
 
* D5
 
* D5
 
** GP7 on XIAO-RP2040
 
** GP7 on XIAO-RP2040
 +
** GP25 on Adafruit RP2040
 
** PA17 on Adafruit SAMD21
 
** PA17 on Adafruit SAMD21
  
Line 137: Line 143:
 
* Analog In 3
 
* Analog In 3
 
* GP29 on XIAO-RP2040
 
* GP29 on XIAO-RP2040
 +
* GP24 on Adafruit RP2040
 
* PA05 on Adafruit SAMD21
 
* PA05 on Adafruit SAMD21
 
* PWM output
 
* PWM output
Line 147: Line 154:
  
 
=== J7 - AD2 ===
 
=== J7 - AD2 ===
 
 
* Digital I/O 2
 
* Digital I/O 2
 
* Analog In 2
 
* Analog In 2
 
* GP28 on XIAO-RP2040
 
* GP28 on XIAO-RP2040
 +
* GP27 on Adafruit RP2040
 
* PA05 on Adafruit SAMD21
 
* PA05 on Adafruit SAMD21
 
* PWM
 
* PWM
Line 165: Line 172:
 
* Analog In 1
 
* Analog In 1
 
* GP27 on XIAO-RP2040
 
* GP27 on XIAO-RP2040
 +
* GP28 on Adafruit RP2040
 
* PA03 on Adafruit SAMD21
 
* PA03 on Adafruit SAMD21
 
* Capacitive touch input
 
* Capacitive touch input
Line 178: Line 186:
 
* Digital I/O 0
 
* Digital I/O 0
 
* Analog In 0
 
* Analog In 0
 +
* GP26 on XIAO-RP2040
 +
* GP29 on Adafruit RP2040
 +
* PA02 on Adafruit SAMD21
 +
* Slave Select to SD card
 
* True analog output with 10 bit precision
 
* True analog output with 10 bit precision
 
* Does not have PWM
 
* Does not have PWM
Line 192: Line 204:
  
 
* [https://github.com/land-boards/QT-Py/tree/main/CircuitPython/lbcards Land Boards CircuitPython code]
 
* [https://github.com/land-boards/QT-Py/tree/main/CircuitPython/lbcards Land Boards CircuitPython code]
 +
 +
=== MMBASIC ===
 +
 +
Runs MMBASIC over USB port or RS-232 Serial port.
 +
 +
[[file:QTPy49--01_P18529-720px.jpg]]
 +
 +
* [https://hackaday.io/project/186498/details/ MMBASIC on Small RP2040 Card] - Hackaday page
 +
* [[MMBASIC_on_XIAO_RP2040|MMBASIC on XIAO RP2040]]
 +
* Store program on SD card
 +
* Runs [https://github.com/land-boards/RasPiPico/blob/main/PicoMite_MMBASIC/PicoMite_USB_Serial/PicoMite_Firmware/PicoMiteVGAV5.07.05b16/PicoMiteV5.07.05b16.uf2 PicoMiteV5.07.05b16.uf2]
 +
** PicoMite MMBasic Version 5.07.05b16
 +
 +
==== XIAO RP2040 MMBASIC Pin Assignments ====
 +
 +
<pre>
 +
OPTION SERIAL CONSOLE GP1,GP0
 +
OPTION SYSTEM SPI GP2,GP3,GP4
 +
OPTION COLOURCODE ON
 +
OPTION SDCARD GP26
 +
 +
</pre>
  
 
=== SD Card Loader ===
 
=== SD Card Loader ===

Latest revision as of 12:48, 18 August 2022

Tindie-mediums.png

QTPy49 P18254-720px.jpg

Features

CPU Pinouts

Adafruit QT Py SAMD

Adafruit products Adafruit QT Py SAMD21 pinout.png

Seeed Studio XAIO SAMD

Seeeduino-XIAO-pin-out.jpg

Adafruit QT Py RP2040

Adafruit products qtpy-rp2040-pins.png

Seeed Studio XAIO RP2040

Seeed-xinpin-rp2040.jpg

Connectors/Headers

QTPy49-P18253-720pxV.jpg

  • Ground, Voltage, Signal (GVS) connections

J1 - DC In

  • QTPy49 can be powered from either the USB C or DC jack
    • Automatic Schottky diode power switching
      • Can use a regular Silicon Diode with sufficient current ex: 1N400X)
    • 7-12V if regulator is installed
    • 5V if regulator is not installed (install J2 jumper if not using regulator)
  • Center positive

J2 - Short Regulator

  • Install if J1 has 5V
  • No need to install U2 regulator

J3 - SPI

  1. GND
  2. 3.3V
  3. SS, AD3 (wired to J6-3)
  4. MOSI, S10
  5. MISO, D9
  6. SCK, D8

J3 - SD Card

  • MISO - AD9
    • GP4 on XIAO-RP2040 and SeeedStudio RP2040
    • PA09 on Adafruit SAMD21
  • MOSI - AD10
    • GP3 on XIAO-RP2040 and SeeedStudio RP2040
    • PA10 on Adafruit SAMD21
  • SCK - AD8
    • GP2 on XIAO-RP2040
    • GP6 on SeeedStudio RP2040
    • PA11 on Adafruit SAMD21
  • SS - AD0
    • GP26 on XIAO-RP2040
    • GP29 on SeeedStudio RP2040
    • PA02 on Adafruit SAMD21

J4 - UART

  1. GND
  2. 3.3V
  3. TX, D6
  4. RX, D7
  • D6
    • GP0 on XIAO-RP2040
    • GP20 on Adafruit RP2040
    • PA06 on Adafruit SAMD21
  • D7
    • GP1 on XIAO-RP2040
    • PA07 on Adafruit SAMD21
    • GP5 on Adafruit RP2040

J5 - I2C

  1. GND
  2. 3.3V
  3. D4, SDA
  4. D5, SCL
  • D4
    • GP6 on XIAO-RP2040
    • GP24 on Adafruit RP2040
    • PA16 on Adafruit SAMD21
  • D5
    • GP7 on XIAO-RP2040
    • GP25 on Adafruit RP2040
    • PA17 on Adafruit SAMD21

J6 - AD3

  • Digital I/O 3
  • Analog In 3
  • GP29 on XIAO-RP2040
  • GP24 on Adafruit RP2040
  • PA05 on Adafruit SAMD21
  • PWM output
  • Capacitive touch input
  • Pinout
  1. GND
  2. 3.3V
  3. AD3 (wired to J3-3)

J7 - AD2

  • Digital I/O 2
  • Analog In 2
  • GP28 on XIAO-RP2040
  • GP27 on Adafruit RP2040
  • PA05 on Adafruit SAMD21
  • PWM
  • Capacitive touch input
  • Pinout
  1. GND
  2. 3.3V
  3. AD2

J8 - AD1

  • Digital I/O 1
  • Analog In 1
  • GP27 on XIAO-RP2040
  • GP28 on Adafruit RP2040
  • PA03 on Adafruit SAMD21
  • Capacitive touch input
  • AREF pin
  • Pinout
  1. GND
  2. 3.3V
  3. AD1

J9 - AD0

  • Digital I/O 0
  • Analog In 0
  • GP26 on XIAO-RP2040
  • GP29 on Adafruit RP2040
  • PA02 on Adafruit SAMD21
  • Slave Select to SD card
  • True analog output with 10 bit precision
  • Does not have PWM
  • Capacitive touch input
  • Pinout
  1. GND
  2. 3.3V
  3. AD0

Applications

Sample applications for the QTPy49 card.

MMBASIC

Runs MMBASIC over USB port or RS-232 Serial port.

QTPy49--01 P18529-720px.jpg

XIAO RP2040 MMBASIC Pin Assignments

OPTION SERIAL CONSOLE GP1,GP0
OPTION SYSTEM SPI GP2,GP3,GP4
OPTION COLOURCODE ON
OPTION SDCARD GP26

SD Card Loader

GPS frequency Standard

Pulse Generator Test Station

PulseGen TestStation P18373-720px.jpg

Prototype

  • Built on GRID49 card
  • Breaks out QY Py pins to (2) 1x7 headers
  • Power/ground distribution on 2x8 header
  • Limit: Must be powered from USB C connector

QTPy Proto P18238-720px.jpg

Mechanicals

QTPy49 MECHS.PNG

Assembly Sheet