hello.
first post on site, i'm sorry if i'm doing wrong.
have flex sensor:
https://www.sparkfun.com/products/8606
have no idea how code it? found codes arduino on google, not rpi.
can me? need @ simple code, prints how bends
thank much!
first post on site, i'm sorry if i'm doing wrong.
have flex sensor:
https://www.sparkfun.com/products/8606
have no idea how code it? found codes arduino on google, not rpi.
can me? need @ simple code, prints how bends
thank much!
its variable resistor.
pi not have analog inputs, need external adc, popular mcp3008, connected via i2c.
use sensor, similar sized resistance value (nominal value use 47k) form resistor divider, connect 1 end gnd, , other end on power supply of mcp3008, connection point has variable voltage on it, depending on actual resistance of variable resistor (sensor). analog voltage can connected (one input off ) adc.
pi not have analog inputs, need external adc, popular mcp3008, connected via i2c.
use sensor, similar sized resistance value (nominal value use 47k) form resistor divider, connect 1 end gnd, , other end on power supply of mcp3008, connection point has variable voltage on it, depending on actual resistance of variable resistor (sensor). analog voltage can connected (one input off ) adc.
raspberrypi
Comments
Post a Comment