Working on a pair of wings and need some help with the electronics part as far as the wiring and good way to power everything. I have 2X(404.747) 12V motor that our basically car seat motors that I plan to use for the shoulder joints. I have 2X(DS3218) servo motors that plan to use for the wing flaps. Looking around different places I was having hard time finding a battery pack and motor control to do it all. I went looking around different guides and download Fritzing to come up with a basic layout. As of right now this is a multi-battery setup. Some of the pieces in the picture attached just place holder for other parts and will be labeled. I want to use a 12V battery to power both 12v motor using a motor control. The motor control didn't have a 5v regulator on it as far as I can tell so can't use it to power Arduino. The 2 servo would be powered by 6V battery and not sure if it hooked up right to Arduino. Think the servo would of killed the board if power was taken directly from the board. As right now I have a 9v battery as place hold to run Arduino board and believe the joystick. Wanting to know if this setup would work for powering everything or is there another way. Also can anyone tell me if the wire diagram is close to being right for Arduino board or do I need to use a shield to control the servo. Thank you all in advance for any help with this.
Servos don't need a shield so that end of the diagram is fine.
You have given no details of the motor driver so I can't comment on that end of things other than I can't see a ground connection between it and the Arduino.
You could use the 12V battery and a buck converter to provide the 5V for the Arduino. You could also use a converter from 12V for the 6V to servos but they need a lot of current so I think I might stick with a separate battery.
Steve
Thanks for the feedback. Will differently make sure to add ground wire from the other side. Here was the link to the motor drive that was sent to me Dual 50A motor control. Hopefully it can add little more detail. The one in the diagram was just place holder picture since I didn't really understand Fritzing on adding new items in. I have also pulled up the datasheet for 12v motor and attached if that would help.
I have this problem and I can not solve it.
Please, can someone help me? Thanks.
Arduino\libraries\SoftwareServo/SoftwareServo.h:4:22: fatal error: WProgram.h: No such file or directory
Why are you trying to use the ancient SoftwareServo library? What does it give you that the more modern servo libraries don't?
Steve