thelamb
Posts: 2
Joined: Mon Apr 13, 2015 9:20 pm

Motorcontroller drawing (high) current immediately

Mon Apr 13, 2015 9:47 pm

Hi,

It's been a while since I've tinkered with the Gerboard and I'm having some doubts about the motor controller. I don't understand what I'm observing so I'd like to ask here before I fry anything (else).

I'm trying to drive a case fan (12V). I have done this successfully in the past with the same Gertboard.
Now however, when I slowly turn up the voltage (variable PSU) I see a current of 0.2A being drawn already at 2V. At this point there is not even any code running, but if I run the motor.c example the effect is the same. The fan itself does not turn, even if I dial it up to 5V / 0.8A. I didn't dare to go any higher.

Some more observations:
- Effect is the same even if the Pi is off
- Effect is the same if I disconnect MotA and MotB, so only have + and GND of the controller connected (tried this only with 2V)
- The fan runs fine directly connected to the PSU (it draws 0.2A at 12V)
- In case it helps:
- I measure ~0 resistance between MOT+ and MOT GNB (shouldn't this be high?)
- ~500 ohm resistance between MOT+ and MOTB
- High resistance between any other combination

Image a picture of the set up at 2V showing the 0.2A. I'm not sure if the leads are clear but it is connected as follows:
- (red) PSU + -> MOT +
- (brown) MOT GND -> PSU -
- (white) MOTA -> fan red wire (-)
- (yellow) MOTB -> fan black wire (+)

GP17 -> MOTB
GP18 -> MOTA

Since I measure the low resistance between MOT+ and MOT GND I assume something is wrong/fried as this is just shorting the PSU...
Did I just do something wrong last time I used the board and the controller is fried? Does this observation make sense in that case? I would think that there would be no current flowing if the controller is fried.

Thanks for any input

thelamb
Posts: 2
Joined: Mon Apr 13, 2015 9:20 pm

Re: Motorcontroller drawing (high) current immediately

Tue Apr 21, 2015 3:23 pm

Does anyone have any ideas?

User avatar
mikronauts
Posts: 2783
Joined: Sat Jan 05, 2013 7:28 pm
Contact: Website

Re: Motorcontroller drawing (high) current immediately

Tue Apr 21, 2015 3:49 pm

Use an H-Bridge or relay that can handle say 2A @ 12V
thelamb wrote:Does anyone have any ideas?
http://Mikronauts.com - home of EZasPi, RoboPi, Pi Rtc Dio and Pi Jumper @Mikronauts on Twitter
Advanced Robotics, I/O expansion and prototyping boards for the Raspberry Pi

User avatar
Gert van Loo
Posts: 2487
Joined: Tue Aug 02, 2011 7:27 am
Contact: Website

Re: Motorcontroller drawing (high) current immediately

Wed Apr 22, 2015 3:40 pm

Sorry, I have been extremely busy wit the new Gertbot SW release making 16 hour days.

The motor controller should NOT conduct from start-up.
In fact: it does not work at all if the voltage is below 6V**.
So it looks like yours is broken.


**I can't find a suitable H-bridge which works from ~3 .. 35V
I think TI have one but it is huge and very, very expensive.

Return to “HATs and other add-ons”