4319: Adafruit PyRuler - Trinket M0 + Reference Ruler with CircuitPython


The first time you soldered up a surface mount component you may have been surprised "these are really small parts!" and there's a dozen of different names too! QFN, TDFN, SOIC, SOP, J-Lead, what do they mean and how can you tell how big they are? Now you can have a reference board at your fingertips with this snazzy PCB reference ruler.

Measuring approx 1" x 6" standard-thickness FR4, this gold plated ruler has the most common component packages you'll encounter. It also has font size guide, trace-width diagram, and a set of schematic symbol guides so you can keep track of your transistor pinouts.

That's not all, it's even a fully featured microcontroller board! Embedded in the end is a Trinket M0, our little Cortex M0+ development board, and in addition, there are 4 capacitive touch pads with matching LEDs that our code will turn into a specialized engineer keyboard. We're always needing to type Ω and µ, but we can never memorize the complex key-commands necessary. Thanks to CircuitPython, it's super-easy to make a touch keyboard to solve this for you. Plug in the ruler into your computer, if it's your first time using it, you'll need to open up the code.py file and set the Keyboard mode to "True". Now when you touch the pads, you'll get a Ω, µ, π, or, when the Digi-Key logo is touched, the URL for Digi-Key's Python on Hardware guide.

The PyRuler was designed as a great introduction to CircuitPython. While you can use it with the Arduino IDE, we are shipping it with CircuitPython on board. When you plug it in, it will show up as a very small disk drive with code.py on it. Edit code.py with your favorite text editor to build your project using Python, the most popular programming language. No installs, IDE or compiler needed, so you can use it on any computer, even ChromeBooks or computers you can't install software on. When you're done, unplug the PyRuler and your code will go with you. Please check out the Trinket M0 CircuitPython guide for a list of capabilities and quick-start code examples - CircuitPython is easier to code but not as low-level as Arduino.


Manufacturer Adafruit Industries LLC
Category Open Source MCU Platforms
IDE Arduino
Speed 48 MHz
Bits 32 Bit
Memory, Flash/RAM 256 kB / 32 kB
Digital I/O 5 I/O, 5 PWM
Interface I²C x1
SPI x1
USB Device
Analog Outputs (DACs) 1 x 10 Bit
Analog Inputs (ADCs) 3 x 12 Bit
DMA Channels 12
Features 1 x NeoPixel Output
Radio -
Interrupt Pins 5
I/O Voltage 3.3 V
Voltage In 3 ~ 6 V
Touch Sensing Pins 4
Program/Debug Interface USB Type-Micro B
Area 3871² mm, 6.0² In
Main I.C. Base Part ATSAMD21
Design Author Adafruit
Date Created By Author 2019-07
Date Added To Library 2019-10