Sensor output to digital display

Hi there!

I have two questions-

  • I’ve purchased the Flex Sensor 4.5" (SEN-08606) and am looking for advice for how to get data converted (in real-time) to degrees?

  • Do you have a recommendation for what digital display piece I can purchase to display degrees onto onto a digital screen (i.e. 1.5 in L x . 5in W x .25in H OR small and onto an app for the phone)?

Thank you for your help in advance!

looking for advice for how to get data converted (in real-time) to degrees?

I don't know that these have the resolution needed to get an accurate measure of degrees, but you could probably get it close with a bit of work. These are going to output a resistance and an Arduino will convert that to a number. You would need to write a bit of software to convert that number to a degrees reading. You could start with whatever reading unbent is and then start bending the sensor to 10 degrees, 20 degrees on up to 90. Note what value you get for each and you should be able to graph that and come up with a conversion equation for converting resistance value to degrees.

Do you have a recommendation for what digital display piece I can purchase to display degrees onto onto a digital screen

I’d start with something simple like printing the output on a serial terminal. Once things work correctly, then alter your code to print to a serial LCD like [LCD-14072.](https://www.sparkfun.com/products/14072)

Thank you for the quick response!

So I previously did what you said in response to my first question. I feel good about my formula and data. However, I’m stuck now and don’t know what to do with the formula. I don’t know what steps to take to allow the output to calculate automatically and in real time. Also, I’d like it to be as close to “wireless” as possible- so without the board or computer attached. Do you have any advice?

I’ll look into purchasing this LCD piece. Thank you for the advice. Does this require any other arduino products for it to work? Also, does this you say this allows freedom to move away from the computer? To test it’s accuracy, I’d like to have something that isn’t connected to the computer and is as close to being “wireless” as it can . If nothing else, freedom to test this away from the computer and the board.

Thank you again for your help in advance :slight_smile:

Hi,

How can I use the formula to get real-time output in degrees?

Other than this LCD piece, are there any wireless products that work?

Thank you,

Ed

How can I use the formula to get real-time output in degrees?

You’d need to do some math to make that work, unfortunately it’s beyond the scope of service for tech support to help with that but perhaps other forum users would be willing to assist you.

Other than this LCD piece, are there any wireless products that work?

If by wireless you mean not tied to a computer for power and viewing an attached LCD display, all you need is a battery to keep everything running when not plugged in. If you’re asking how to transmit data to a phone or other remote device and view it there, that gets really complicated quickly. I would encourage you to not think about wireless until after you have a solid working system first and then you can figure out how to transmit the data you’re viewing on the attached display.