Go Down

Topic: Servomotor and LCD overheat the arduino (Read 3157 times) previous topic - next topic

mecha_ppl

hello everyone, i'm currently doing a project : Automatic fish dispenser. it consists of 2 servo motor controlling
a) food dispenser
b) bait

 so the flow is something like this

feeder set to 2 times feeding per day, when it comes to the 1st feeding, the servomotor2 will rotate and let the bait submerge in the water for 2 minutes. if the fish pulls the bait (connected to the limit switch too) the servomotor1 will rotate and dispense the food. after two minutes, the servomotor2 will rotate lifting the bait from the water. and this repeat for another time in 6 hours.

the LDR sensor are suppose to detect the level of food in the dispenser. little food = led on.

LCD is just a display of feeding hour, no of feeding and time to next feeding.


BUT whenever i connect one servomotor and the LCD on the arduino, it overloads!
I've tried using an external power source but there's no movement at all.

can anyone tell me what went wrong here?


Cactusface

Hi mecha_ppl,
                      firstly DO NOT power your servos from the Arduino, this will cause lots of problems including damaging the arduino. Use a serperate power supply or batteries, BUT make sure all GNDs are connected together!

Servos use a lot of current 1A or more, so the arduino regulator can't handle this and the arduino resets itself, etc.

We really need to see your schematic and code in order to help more...

Hope it helps, Regards

Mel.
Open your mind! But not too far, your brains might fall out.
Also like Photography, model building and my 300+ Cacti and Succs.

mecha_ppl

here is the schematic

boolrules


Paul__B

That's not a schematic.
Well, whether it is or not, it has at least one serious issue - it shows the positive of batteries and servomotors connected to ground on the Arduino.

mecha_ppl

i didnt realised that. thank u for pointing it out.
is it right now?

Paul__B

is it right now?
I do not know whether it is or it isn't but it is in no small part because that diagram is far worse than the first!

mecha_ppl

perhaps this is easier to understand?

JimboZA

Now you have no common ground between the battery/servo side of things and the Arduino....
Johannesburg hams call me: ZS6JMB on Highveld rep 145.7875 (-600 & 88.5 tone)
Dr Perry Cox: "Help me to help you, help me to help you...."
Your answer may already be here: https://forum.arduino.cc/index.php?topic=384198.0

mecha_ppl

do u mean i have to connect the battery ground to the arduino ground?

JimboZA

See attached....
do u mean i have to connect the battery ground to the arduino ground?
See attached
Johannesburg hams call me: ZS6JMB on Highveld rep 145.7875 (-600 & 88.5 tone)
Dr Perry Cox: "Help me to help you, help me to help you...."
Your answer may already be here: https://forum.arduino.cc/index.php?topic=384198.0

mecha_ppl

aaaa i see. thank u so much for your help.

best wishes

mecha_ppl

i've connected the batteries's ground to arduino. is this correct?

JimboZA

Yep.

Without that, the 5V signal on the yellows from the Arduino to the servo has no reference to be measured against. It would be like trying to measure the voltage of a battery by only applying the meter's red lead to the +ve and not touching the black to the other end.

Or like the sound of one hand clapping.
Johannesburg hams call me: ZS6JMB on Highveld rep 145.7875 (-600 & 88.5 tone)
Dr Perry Cox: "Help me to help you, help me to help you...."
Your answer may already be here: https://forum.arduino.cc/index.php?topic=384198.0

Paul__B

Or like the sound of one hand clapping.
Kudos!

That's the best come-back I have seen in quite a while.   :smiley-grin:   :smiley-lol:

Go Up