-
Simon posted an update 10 years ago
Finger Tip Sensors. Hi Gael, do you have any information on how to connect the sensors and or wiring besides the Assembly hand guild? I am not sure on what control board to uses.
Thank you.
Merne
Simon posted an update 10 years ago
Finger Tip Sensors. Hi Gael, do you have any information on how to connect the sensors and or wiring besides the Assembly hand guild? I am not sure on what control board to uses.
Thank you.
Merne
The sensors are connected to the Nervo shield board. The best is to add some resistances for each sensor connection.
https://dlnmh9ip6v2uc.cloudfront.net/r/500-500/assets/e/7/2/5/5/50eb2efece395ffb21000001.jpg
// Flexiforce quick start example
// Reads A0 every 100ms and sends voltage value over serial
void setup()
{
// Start serial at 9600 baud
Serial.begin(9600);
}
void loop()
{
// Read the input on analog pin 0:
int sensorValue = analogRead(A0);
// Convert the analog reading (which goes from 0 – 1023) to a voltage (0 – 5V):
float voltage = sensorValue * (5.0 / 1023.0);
// Print out the value you read:
Serial.println(voltage);
// Wait 100 milliseconds
delay(100);
}