Adafruit PyRuler - Engineer Reference Ruler with CircuitPython
by AdafruitThe 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 the 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, Adafruit 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.
Here are some of the updates you can look forward to when using PyRuler
- ATSAMD21E18 32-bit Cortex M0+ - 256KB Flash, 32 KB RAM, 48 MHz 32 bit processor
- Native USB supported by every OS - can be used in Arduino or CircuitPython as USB serial console, Keyboard/Mouse HID, even a little disk drive for storing Python scripts.
- Can be used with Arduino IDE or CircuitPython
- Four capacitive touch pads.
- Lots of LEDS - Built in green ON LED, red pin #13 LED, RGB DotStar LED, plus red/yellow/green/blue matching LEDs for each capacitive touch pad
- 5 GPIO header pins are available and are not shared with USB or the touch pads/LEDs - so you can use them for whatever you like! Digital I/O with pullup/down. 3 ADCs, 1 DAC, 2 PWM, 3 extra captouch sensors
- Can drive NeoPixels or DotStars on any pins, with enough memory to drive 8000+ pixels. DMA-NeoPixel support on one pin so you can drive pixels without having to spend any processor time on it.
- Native hardware SPI, I2C and Serial available on two pads so you can connect to any I2C or Serial device with true hardware support (no annoying bit-banging). You can have either one SPI device or both I2C and Serial.
- Reset switch for starting your project code over
- Power with either USB or external output (such as a battery) - it'll automatically switch over
TECHNICAL DETAILS
- Revision History: A previous version of this PCB was Digi-Key red, now its a beautiful CircuitPython purple!
- Product Dimensions: 152.0mm x 25.0mm x 4.3mm / 6.0" x 1.0" x 0.2"
- Product Weight: 13.5g / 0.5oz
LEARN
- Primary Guide: Adafruit PyRuler - Have a reference board at your fingertips, with this snazzy PCB reference ruler.
- Simon Game for PyRuler and CircuitPython - Simon Says, turn that ruler into an interactive memorization game with leds and touch pads!
We no longer stock this product
It's sad to say goodbye but sometimes we have to retire products to make way for new things.
You may still be able to buy this product directly from our friends at Adafruit - check out their website!
Shop with confidence – we've been serving the hobbyist electronics, Maker, and retro gaming communities since 2012.
- Satisfaction or refund guarantee
- Worldwide shipping via mail or courier
- 54,000+ customer reviews
- Secure website and payments