AI agents & screen readers: for a machine-readable, text-only catalogue, start at /llms.txt. Products are available as Markdown (/products.md, /products/{handle}.md) and JSON (/products.json, /products/{handle}.json).
Store

Adafruit

$25.70 |
In stock at supplier
No reviews yet

The Adafruit PyRuler is a PCB reference ruler and a fully functional CircuitPython microcontroller in one. Measuring approximately 25 × 150 mm (1" × 6"), thi...

Stock availability

Available with leadtime
40 available
Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout

The Adafruit PyRuler is a PCB reference ruler and a fully functional CircuitPython microcontroller in one. Measuring approximately 25 × 150 mm (1" × 6"), this gold-plated FR4 ruler features common SMD component package outlines, a font size guide, trace-width diagram, and AWG wire gauge drill holes — all the references an electronics engineer needs at a glance.

Built into the end of the ruler is a Trinket M0 (ATSAMD21 Cortex-M0+) with four capacitive touch pads and matching LEDs. Out of the box, it ships with CircuitPython and can act as a USB keyboard — touch the pads to type special characters like Ω, µ, and π. Edit the on-board code.py file in any text editor to customise the behaviour.

Key Features

  • PCB Reference Ruler – Gold-plated with SMD package outlines, font sizes, trace widths, and AWG drill holes
  • ATSAMD21E18 Processor – 48 MHz Cortex-M0+ with 256 KB flash and 32 KB RAM
  • 4 Capacitive Touch Pads – Each with a matching coloured LED (red, yellow, green, blue)
  • USB Keyboard Mode – Type Ω, µ, π, and custom characters by touching the pads
  • CircuitPython Pre-Loaded – Shows up as a USB drive; edit Python code in any text editor
  • Arduino Compatible – Can also be programmed with the Arduino IDE
  • Native USB – Serial console, HID keyboard/mouse, and small disk drive
  • RGB DotStar LED – Plus green power LED and red pin 13 LED
  • 5 GPIO Header Pins – 3 ADC, 1 DAC, 2 PWM, 3 extra capacitive touch; not shared with USB or touch pads
  • Hardware SPI, I2C & Serial – True hardware support on dedicated pads
  • NeoPixel & DotStar Support – Drive 8,000+ pixels with DMA on one pin
  • USB or Battery Power – Automatic switchover between USB and external power

Ideal For

  • Electronics engineers needing a quick SMD package reference
  • CircuitPython beginners looking for an easy first project
  • Custom USB keyboard shortcuts and special character input
  • Desk accessories and engineering gifts

Resources

Jargon buster

Plain-language definitions for the technical terms used above.

ADC
An analogue-to-digital converter reads a changing voltage and turns it into a number the microcontroller can use. It matters when connecting analogue sensors such as light, sound, or variable-resistor sensors.
AWG
American Wire Gauge is a numbering system for wire thickness, where a lower number means a thicker wire. The AWG rating matters because thicker wire can usually carry more current with less voltage drop and heating.
CircuitPython
A beginner-friendly version of Python designed to run directly on microcontroller boards. If a product supports CircuitPython, you can often program it by copying code files onto the board rather than setting up a more complex toolchain.
DAC
A digital-to-analogue converter turns numbers from the microcontroller into a real analogue voltage. It matters if you want to generate simple waveforms, audio-style signals, or variable control voltages rather than just on/off outputs.
GPIO
General-purpose input/output pins are microcontroller pins you can set in software to read signals, switch devices on and off, or connect to peripherals. The number of GPIO pins matters because it limits how many buttons, LEDs, sensors, and other parts you can wire directly to the board.
HID
Human Interface Device is a USB device class used for keyboards, mice, gamepads and similar controls. If a board supports HID over USB, it can act like an input device to a computer without needing a custom driver.
I2C
I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
IDE
Short for Integrated Development Environment, a program used to write, run and manage code. It matters because some learners prefer a traditional coding workspace instead of a guided notebook-style lesson.
LED
A light-emitting diode (LED) is a small electronic component that emits light when current flows through it in the correct direction. Because it only conducts one way, its polarity matters, and a through-hole LED must be soldered the correct way around to light up.
microcontroller
A microcontroller is a small computer on a single chip that runs a stored program and controls connected inputs and outputs such as buttons, sensors, displays and communication interfaces. In a device built around one, it is the part that executes the code and coordinates the device's behaviour.
native USB
Native USB means the microcontroller itself handles USB communication, rather than using a separate USB-to-serial chip. This matters for programming, debugging, and projects that need the board to act directly as a USB device.
NeoPixel
A type of addressable LED system where colour data is sent along a single digital data line from one LED or controller to the next. Compatibility matters because the timing and signal format must match for the lights or driver board to respond correctly.
PCB
A printed circuit board (PCB) is a board, usually rigid, with etched copper tracks that connect electronic components together without loose wiring. Components are mounted on the board and signals route between them through the copper layout.
PWM
Pulse Width Modulation is a way for a digital pin to simulate variable output power by switching on and off very quickly. It matters for controlling things like LED brightness, motor speed, or servo-style signals from a microcontroller pin.
RAM
RAM (random-access memory) is fast, temporary memory a device uses for working data while it is running; in its common volatile form, its contents are lost when power is removed. Some devices offer a mode that applies settings to RAM only, which is handy for testing changes temporarily because they are not stored permanently and disappear at power-off.
RGB
Short for red, green and blue, the three primary colours of light that are mixed in varying amounts to make a wide range of colours. In electronics RGB can refer to an LED or pixel that blends these three colours, or to a colour signal or interface that carries separate red, green and blue channels.
SMD
SMD means surface-mount device, a component style designed to be soldered directly onto the surface of a circuit board rather than through holes. SMD parts are compact and mounted flat on the board, which suits smaller and mass-produced designs.
SPI
A fast serial communication bus often used for displays, memory cards, and sensors. It matters because SPI devices need specific pins for clock and data, plus a separate chip-select line for each device.

Related Tutorials

Free guides on learn.littlebird.com.au

Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.