0

The Ultimate Teensy 3.0 Pin State Test Rig

Paul shows off his custom made pin state test rig for testing on a Teensy 3.0.

I wanted a board that shows the state of all I/O pins on LEDs with all of these properties….

  • Works for Digital Input, Output, and Input Pullup
  • Pushbutton to drive the pin high, very weak pulldown (much weaker than on-chip pullup)
  • Works for analog pins (thumbwheel pot), but also works when the same pin is used for digital
  • LED shows actual analog level – LED current should be linear to actual voltage
  • LED current does not interfere with analog voltage
  • LED does not interfere with weak signals, or input pullup or pulldown
  • Inexpensive – under $0.50 per pin – many parts are ok, as long as they’re cheap!

I realize this is probably excessive design for most people, but when you’re making a development board and testing nearly every major Arduino library, it’s amazing how handy tools like this can be.  So I thought I’d document this little circuit, and especially the 150K feedback resistor trick that makes it work so well with these higher impedances and the chip LMV358 opamp.

Check out the full post for more circuit details and photos.


Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.

Join 7,500+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Fewer startups, and other collateral damage from the 2018 tariffs

Wearables — Light as a Worbla feather

Electronics — How to make your own magnetic field probe!

Biohacking — The State of DNA Analysis in Three Mindmaps

Python for Microcontrollers — One year of CircuitPython weeklies!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



1 Comment

  1. Impressive test rig! It could come in handy for project builds too. Lots of components for a pick & place, smd, etc. but if you/PJRC sold em, I’d buy one.

Sorry, the comment form is closed at this time.