Hello guys so i just bought an Duinopeak ECG/EKG/EMG Shield and what i want to do is to connect it to 5 servos so when i move my muscle the 5 servos will also move but the problem is i don't know how to program it
i've found this user manual https://www.olimex.com/Products/Duino/Shields/SHIELD-EKG-EMG/resources/SHIELD-EKG-EMG.pdf
and this code if somebody could explain it t me the would help a lot
thanks
ShieldEkgEmgDemo.ino (7.55 KB)
Just for future reference, Duinopeak is well known for selling illegal Chinese counterfeit versions of more reputable companies' sensors/shields such as Olimex and Advancer Technologies.
I didn't knw that but will it work
I don't think that code is a good place to start. I would suggest modifying the Arduino Servo library example code titled Knob as a starting place. https://www.arduino.cc/en/Tutorial/Knob
I believe the olimex EMG shield's output is the raw EMG signal so you'll need to rectify and integrate this signal to get the EMG Envelop (aka how hard you are flexing your muscle). The EMG envelope signal can be used in place of the potentiometer's signal in the Knob example.
thank you for your reply can please give an example i'm new to this that's why