via PiMyLifeUp
In this tutorial we only go through the steps of hooking the pad, so you can detect if enough pressure has been applied or not. We will also go through methods to receive variable values by using a capacitor or an analog to digital converter (ADC).
The second design in this tutorial makes use of a capacitor just like in the LDR tutorial. Using this method we can measure the resistance of the pressure pad. If there is no pressure, we will get almost no values. As soon as we apply some pressure, we will get values varying from high as 100,000+ right down to 5,000.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
from Adafruit Industries – Makers, hackers, artists, designers and engineers! http://bit.ly/2GHQBMf
via IFTTT
Комментариев нет:
Отправить комментарий