Flex sensors 5 fingers

78 views
Skip to first unread message

Strange Hobby

unread,
Jul 18, 2017, 6:12:43 PM7/18/17
to Ardunity Forum
Hey, I'm new to both arduinity and unity and i have came up with the following problem edditing the example of the flex sensor:


I'm trying to upgrade the standard example of the flex sensor with single finger to a version that uses 5 flex sensors (and 5 fingers) connected to A0-A4.
So i copied the finger in the example 4 times so that i have a total of 5 fingers. I tried to edit the wire editior the same as used in the example (ofcourse changing the analog read to A1 with the second finger A2 to third etc.)
But the problem is that any of my flex sensors move all the 5 fingers at once. This is ofcourse not what i want. I want all flex sensors to work seperatly on each finger.

Does any one have an idea what i'm doing wrong (i Think the input and processing is done well but the problem lies in the connection of the rotation given that all of the fingers move at the same time when any flex sensor is bend) and how to fix this?

Thanks in Advance

Bas (20)
First year Electrical Engineer

Ardunity

unread,
Jul 20, 2017, 3:57:50 AM7/20/17
to Ardunity Forum
If you show the contents of the ARDUnity wire editor, I can help.

Strange Hobby

unread,
Jul 20, 2017, 6:25:27 PM7/20/17
to Ardunity Forum
After closer observation i noticed that when i copied the fingers i also copied their wires from the wire editor i had to delete those and redo the wiring myself. I currently have 2 fingers working and i'm confident i can do the other 3 aswell. Thank you for responding and for making this amazing program.

Cheers
Bas

Ardunity

unread,
Jul 21, 2017, 3:04:34 AM7/21/17
to Ardunity Forum
I am also very happy that your project works well.
If you have any difficulties, please feel free to ask questions.

franal...@gmail.com

unread,
Jul 15, 2019, 12:57:32 PM7/15/19
to Ardunity Forum
Hello everybody,

I'm trying to implement the flex sketch on 5 fingers. 

fff.PNG

In the image you can find part of my script. I've connected the flex sensors in analog pins, from A0 to A4. If I try to read the ADC value by using a custon arduino script, I'm able to aveluate the correct shape of the circuit. The problem is that in this way I'm able to receive data only from A0 pins, not by other. 

Can you please help me?
Thank you in advance,
Francesco
Reply all
Reply to author
Forward
0 new messages