Hi guys new here and to arduino. I have a couple of questions I hope you guys can help me with. I'm making a EMG controlled bionic arm for a project.
I have an arduino Nano and an uno,
x2 MG90S servos,
x1 buck converter,
x4 AA 2500mah battery pack 6v,
x1 V3 EMG muscle sensor
X1 on/off toggle switch
I want to control the servos independently of one another. They need to be controlled by by the EMG signal, so I'll need to be able to toggle between them with a push button to switch to the servo I want to control. One servo needs to open and close the hand to grasp, and the other only opens and closes the index and thumb fingers to pinch to pick up smaller objects.
I've included a diagram of the circuit I plan on using. My first question is, where do I need to put a switch or momentary push button to switch between the servos?
And my second question is how do I set up the code to run it all?
I know you might say github but tbh I don't know what I'm looking for as I'm a newbie to this. Even if there was someone willing to write the code for me it would be amazing.
I appreciate any help you guys can provide.