Skip navigation

I need to test each of the sensors to ensure they work and their thresholds ie. voltage and Arduino serial data.

Here is the Arduino code i found to help me test the flex sensor


and using the following Voltage Divider where R1 = Flex Sensor (25 – 45Kohm), and R2 = 22kohm resistor

and using the following formula, calculated that the voltage should vary from approx 2.34v and 1.64v when Vin = 5v

and using the serial monitor in the arduino sorfware noted that the data varied from 260 when the sensor was straight to 130 when the sensor was bent.

A rough test showing that the sensor worked.  The same was repeated with all 6 sensor to ensure no defects.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: