0

Talking Motors
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Talking Motors

by adafruit_support_bill on Fri Apr 09, 2010 12:02 pm

The project on the bench this morning involved controlling an air pump and a bunch of valves with an Arduino.
I powered it up and watched it go through the initialization sequence. But when it came time for the pump to turn on there was no movement. Instead, it started talking to me! I put the scope on it and everytime the control pin went high, the motor (a BLDC with an integral controller) started picking up some radio talk show.

After a good laugh, I started to debug it. I had re-allocated the digital pins a few days ago and had forgotten to change the line of code that sets the pin mode to OUTPUT. D'oh!

adafruit_support_bill
 
Posts: 75263
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.