Hi,
Could someone help me with writing a program to determine the force by using Flexiforce Pressure Sensor and Arduino? I don't know where to start.
Hi,
Could someone help me with writing a program to determine the force by using Flexiforce Pressure Sensor and Arduino? I don't know where to start.
Start at the very beginning.
void setup ()
{
// put some code here to initialise your sensor and your reporting method
}
void loop ()
{
//put some code here to read your sensor and pass the result to your reporting method
}
A very good place to start.
Alternatively, take a look at the data sheet for the device, it shows an example circuit using an amplifier to get a voltage reading which you could read with analogread. Simpler yet, and take this with a pinch of salt because what I don't know about electronics would fill encyclopaedias, it provides variable resistance, so search the forums for threads on voltage dividers, pick suitable resistors, and analogread will help you again.