SALE EXTENDED! 15% off! Use the code BLACKFRIDAY15 on checkout *some restrictions apply.

December 27, 2013 AT 9:00 am

Analog Sensors without Analog Inputs on the Raspberry Pi #piday #raspberrypi @Raspberry_Pi

Pasted Image 12 27 13 8 45 AM 2

Here are handy analog sensor tips from Dr Simon Monk’s Raspberry Pi Cookbook. You can learn more about these concepts in “Basic Resistor Sensor Reading on Raspberry Pi” Learning System tutorials and other resources at Adafruit by Dr. Monk, Ladyada, and others!

The Raspberry Pi does not have any analog inputs, but that does not mean that you can’t use some types of analog sensors. Using a couple of resistors and a capacitor, you can use a “step response” method to measure resistance. Which is just great if you are using a pot, photoresistor or thermistor.

…Open an editor (nano or IDLE) and paste in the following code. As with all the program examples in this book, you can also download the program from the Code section of the Raspberry Pi Cookbook website, where it is called….

Read More.

Featured Adafruit Tutorial!

Adafruit Learning System

Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

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!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!

Maker Business — “Finally — some data on whether crowdfunding is a good investment or not”

Wearables — Sample code is your new best friend

Electronics — Meaningful gains

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

No Comments

No comments yet.

Sorry, the comment form is closed at this time.