In celebration of the 50th anniversary of Apollo 11's Moon Walk, we are offering $50 off our SparkFun Inventor's Kit for RedBot and the Arduino Engineering Kit while supplies last! Use promo code APOLLO11 at checkout until 11:59 p.m. MT to get yours today!
Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
September 5, 2013
about 5 years ago
The two leds should be paralles,then connecct to on resistor. then the leds will be safe.
The motor run at one direction(clockwise)suppose the dir pin of LM298 is always high.but you want to adjust the speed,so you need use the PWM to control the EN pin of the lm298.
if the EN pin is high.one light is on.The En pin became low,another led will on,becase the reverse voltage of the winding of the motor.
so we use lm298 to drive the motor,the leds can't indicate the direction
I have 2 questions:
1.About the reverse voltage of the direction LED.The reverse voltage of my LED is small,just 5 V.If the Ardumoto works at 12V,the direction LED will stand the 12V(little more), is fine? why?
2.The two different color LED can indicate the direction? I think if the motor is run fully,is ok. If we use the pwm to dirve the motor,on,off,on,off,The two LEDs will light togather.
No public wish lists :(
Forgot your password?
No account? Register one!