Hello, first time in this forum.
I am having problems with Arduino Mega which is connected to a pc with LabView from which i control the board in real time. I also connected some flex sensors. The idea is to control robot hand and fingers with my own hand and fingers. I have written the code in labview and it kind of work but it is very unstable and slow. In the code I wanted to map the voltage changes from flex sensors and get the changes in degrees so the servos can understand it. I could map it properly because the flex sensors are hooked up with a voltage divider and the values i get are between 2.5 and 1.9 volts approximately. So i just put 9 points with limitations for voltage (ex. from 2.15 to 2.2 equals to 160 degrees and when i get values in that range the servo goes to 160 degree). I know that I could map this using arduino coding because of the libraries for servos but can someone help me map it in LabView or maybe suggest a better way to do it. And also i have to figure out a way to move the rest of the hand i 3 dimensions. I am thinking of 3d accelerometer but maybe there is a better way?
Thank you