Hello guys, I made a robot and a robotic arm with only 2 micro servos one to move the Y axis one to move the gripper that will hold items and I also made an app with MIT app inventor to control the robot and the robotic arm. The problem :
when the servos move the arduino and the app I made freeze. I know I can connect power supply for the servos. But they are only 2. Iam supposed to connect power supply only when I have 4 micro servos or more right ?
Just in case you doubt how much current even a micro servo can draw, look here. (The page title says mini servo I know, but the photo says micro.) At stall even that tiny servo can draw almost 3/4A.
edit: Interestingly, if you do the sums given a torque of 1.8kgcm and a speed of 0.1s/60°, that's power of almost 2W. At 5V that's 0.36A, so if the makers say it's going to draw twice that, that's the inefficiency between the mechanical power it outputs vs the electrical power it consumes.
The wiring : (note: there might be mistakes with the fritzing diagram.) Wiring Diagram
kenwood120s:
Just in case you doubt how much current even a micro servo can draw, look here. (The page title says mini servo I know, but the photo says micro.) At stall even that tiny servo can draw almost 3/4A.
edit: Interestingly, if you do the sums given a torque of 1.8kgcm and a speed of 0.1s/60°, that's power of almost 2W. At 5V that's 0.36A, so if the makers say it's going to draw twice that, that's the inefficiency between the mechanical power it outputs vs the electrical power it consumes.
The arduino is powered with 3 ultrafire batteries.
The servos are in my robotic arm.
Note :
if this will be helpful my robot consists of :
4x 6v dc gear motor controlled with 2x L293D and there is an LCD to display the temperature (LM35)
And an LDR and 3 leds to light in dark and also 2 speakers and 1 sd card module to read the WAV files from the sd card and play them with the speaker And finally an HC-05 bluetooth module to control the robot movements and the robotic arm (I made the application with MIT app inventor)
Hardizzer:
The arduino is powered with 3 ultrafire batteries.
The servos are in my robotic arm.
Note :
if this will be helpful my robot consists of :
4x 6v dc gear motor controlled with 2x L293D and there is an LCD to display the temperature (LM35)
And an LDR and 3 leds to light in dark and also 2 speakers and 1 sd card module to read the WAV files from the sd card and play them with the speaker And finally an HC-05 bluetooth module to control the robot movements and the robotic arm (I made the application with MIT app inventor)
MarkT:
Circuit looks reasonable - have you checked the servo supply is not dropping out?
Idk, how to check ? I'am still newbie in electronics.
Code and app blocks are from this link: (note: the blocks and code are made for 10 motors but I edited them)
Please read the first post in any forum entitled how to use this forum. http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Please read the first post in any forum entitled how to use this forum. http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Thanks.. Tom...
I know how to do it. but when I was copying the code I was in the Quick Reply it doesnt contain the add code button
Does it work if you disconnect one of the servos? Because as others have said, it looks like a power issue. Some more prints would be helpful though - what are you sending to the arduino? Are you sending CR & LF and confusing your read routine?