Go Down

Topic: Have Arduino uno got enough current for vibration motor ? (Read 13473 times) previous topic - next topic

JimboZA

It's very hard to help when your original pic didn't match either your circuit or your code  :smiley-yell:

But anyhow, so does your circuit match the schematic I attached a couple of posts earlier, except the battery is 3V3 from a regulator?

Might be an idea if you can post a drawing of your circuit.
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

jeolex

I realised when you say :) It's not match because I couldn't count that how many times I change wiring :) I tried lot of combination :)

I draw my circuit on paper and upload here. Before I was said that I am new, so sorry for faults :)



JimboZA

Does the Arduino ground join to that ground you show in that pic?
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

Grumpy_Mike

That diode is the wrong way round.
You need  capacitors on both side of the regulator.

JimboZA


That diode is the wrong way round.
You need  capacitors on both side of the regulator.


I think in the photo of the setup, the diode is the right way round, ie cathode to +ve for a flyback.

Also I think I read the base resistor as 10k in the photo, shows 1k in the diagram.... I'm not experienced enough to know what it ought to be.
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

jeolex

Upss no they are not same ground. For now I run arduino with USB and run motor with power supply. You can ask me how this circuit work while they havent got same ground :)


That diode is the wrong way round.
You need  capacitors on both side of the regulator.


I tried both way of the diode and not work but I didn't use capacitors.

So can you explain please that What is the task of the capacitor on this circuit and which capacitor I need to use ?

Grumpy_Mike

They have to be the same ground to make it work.
Capacitors from the regulator pin to ground, they stop the regulator oscillating. the values to use are in the data sheet for the manafacaturers of the device you use.

JimboZA

The transistor's emitter has to be on the same 0V as the Arduino, otherwise the voltage on the Arduino output to the base, which is 5v as far as Arduino is concerned, has no meaning to the transistor. It would be like taking a 5V battery and putting the + on the base but not connecting the other side of the battery. Or trying to hear one hand clapping. Waaaay too Zenny for me.


Look at my schematic a few posts earlier.
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

jeolex

I understood that For run motor, arduino and powersupply gnd have to be same. But I have a question. Motor get power from 12v 2A, arduino get power from computer USB. If I wiring them to same ground, Will arduino not damaged ?

JimboZA

#54
Aug 09, 2014, 11:38 am Last Edit: Aug 09, 2014, 11:40 am by JimboZA Reason: 1
Quote
Quote
If I wiring them to same ground, Will arduino not damaged ?


No.

Ground is just a sort of "reference" so that voltages have meaning.

Have you tried it yet?

Before you do, try this: while the Arduino output pin is high, put your voltmeter on the transistor base and the other on the emitter.... there will be 0 voltage across there if the grounds aren't joined. But if you move the -ve side of the meter to the Arduino ground, there will be. The Arduino output means nothing to the transistor if the grounds aren't hooked up.
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

Grumpy_Mike

No. Just connecting grounds will not damage anything.The grounds need to be connected for it to work.

jeolex

Thank you so so much my friends. It's run now :)) Used potantiometer, I can control motor speed. It seems that there is a big problem but actually because of my lack of information :)) thanks again

My next step is LCD then mechanism for my wheat grain counter :)

JimboZA

Great, glad it's working.

But the moral of the story is to post the ACTUAL circuit not the one your circuit is BASED ON. You had your answer 5 minutes after posting your real circuit: but that was 90 minutes after posting the wrong one....
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

jeolex


JimboZA

Double check the diode by the way: the cathode must be on the +ve, no matter how strange that may seem.
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

Go Up