#Blog8
Hello Everyone!
Here is my work on integrating Hand Glove to the Arduino MKR1000 Setup
Five Flex Sensor attached to each finger is interfaced through the voltage divider circuit to Analog input pins of the Arduino MKR1000
The Code
//Observe all the flex sensor reading in a tabular column void setup() { // initialize serial communication at 9600 bits per second: Serial.begin(9600); } void loop() { // read the input on from Flex sensor int s0 = analogRead(A1); int s1 = analogRead(A2); int s2 = analogRead(A3); int s3 = analogRead(A4); int s4 = analogRead(A5); // print out the Flex sensor value: Serial.print(" s0: "); Serial.print(s0); Serial.print(", s1: "); Serial.print(s1); Serial.print(", s2: "); Serial.print(s2); Serial.print(", s3: "); Serial.print(s3); Serial.print(", s4: "); Serial.println(s4); delay(300); }
The Output
Stay Tuned
Thanks for reading my blog