Hey guys,
I'm trying to build a circuit with the Arduino uno which reads an analog voltage signal from a myoware sensor and uses that data to shift position on a servo motor. As I'm rather new to electrical components like these, I'm having trouble picking the right power supply.
Myoware sensor power input rating: 3V-6V (MyoWare 2.0 Muscle Sensor - DEV-21265 - SparkFun Electronics)
Servo power input rating: 4.8V to 7.4V (D646WP Servo - ServoCity)
Although the servo says 4.8 to 7.4, I would like to run it at 7.4 only to obtain max torque from it.
So for this circuit to work, what kind of power input should I supply, will a single LiPo 7.4V (like this one https://www.hobbyzone.com/batteries/lipo/2-cell/DYN1427.html) be enough?
And also can I connect a battery to this circuit as drawn in the figure?
Thanks in advance guys.
You should be o.k. though note that a 2S (7.4V nominal) Lipo is 8.4V fully charged. But servo specifications usually take that into account.
I can't tell a lot from your diagram. Your battery has 3 unnamed wires coming out. And I've never seen a Uno with pins called +3.5 or pw1. But the general idea looks about right.
Steve
Basically what I'm trying to show is:
Can I use the same battery to power the circuit and the servo. Wire 1 from the battery runs to the Arduino uno's dc power jack. wire 2 and 3 are + and - connections to the servo.
+3.5 is the 3.5V output from the Arduino
Pw1 is referred to a pulse width in/out port
The 3.5V output is 3.3V. A lot of getting circuits and programs right is about accuracy.
If by "pulse width in/out port" you mean a PWM pin then note that servos (using the Servo library) do not need to use PWM pins. Any digital pin will work perfectly well.
And yes one battery powering Arduino and servo is fine. Connecting + / - directly to the servo is correct.
Steve