Pages: [1]   Go Down
Author Topic: Arduino Motor Shield output Voltage problem  (Read 637 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, everyone. This is my first Arduino project, I really need your help. I tested the DC motor using in this project by simple code, it can work only one direction. So I measured the motor shield output voltage and found something wierd. The PWM value is the same for both motor working direction. But the out voltage get from is -7v and 0.1V(this should be 7V). What's the problem?

Thanks in advance.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 179
Posts: 8068
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Set the PWM output to 255.  Then the output voltage should switch between + the supply voltage to - the supply voltage as you change direction.  If one of the voltages is still WAY off there is probably a problem in the H-bridge.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks a lot John. One more questions, did you see my last post about motor running problem? What's your point about that?

Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 179
Posts: 8068
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks a lot John. One more questions, did you see my last post about motor running problem? What's your point about that?

I probably saw it but I don't remember it.  If I saw it and didn't answer I probably had nothing to add.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1]   Go Up
Jump to: