Encoder Question regarding my skid-steer
Bill Chennault
Posts: 1,198
All--
I have Banebot gearmotors on my skid-steer robot. The motors have two connectors, each. One connector is labeled "0-5v" and the other connector is labeled "A-B". Now, this is fairly obvious, even to a newbie like me. The "A-B" connector is the quadrature output. (I plan to use only "A", at first.)
However, the "0-5v" connector has me a tiny bit confused. I plan to power the LED inside the encoder with a Stamp's 5vdc from either VDD or with a Stamp-identical regulator I will build for that purpose. I suppose my question is this: Can I power the encoder LED directly off VDD or do I need a 470 ohm resistor between the regulator and the anode of the LED?
Thanks!
--Bill
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You are what you write.
I have Banebot gearmotors on my skid-steer robot. The motors have two connectors, each. One connector is labeled "0-5v" and the other connector is labeled "A-B". Now, this is fairly obvious, even to a newbie like me. The "A-B" connector is the quadrature output. (I plan to use only "A", at first.)
However, the "0-5v" connector has me a tiny bit confused. I plan to power the LED inside the encoder with a Stamp's 5vdc from either VDD or with a Stamp-identical regulator I will build for that purpose. I suppose my question is this: Can I power the encoder LED directly off VDD or do I need a 470 ohm resistor between the regulator and the anode of the LED?
Thanks!
--Bill
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You are what you write.
Comments
Thank you very much!
I got it up and running under Stamp control today! The HB-25s are great little machines. I imagine I ran it either on the bench (blocked up) or on the carpet for about an hour, total. The 12vdc system only dropped about 0.05 volts. Speaking of which, I am about to start another thread concerning the 12vdc system and would appreciate your thoughts.
--Bill
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You are what you write.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
It's been wonderful to follow all your progress. The photos in you other post look great. Glad you're up and running. Can't wait to hear the "approved" name.
Whit+
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Whit+
"We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
You are right . . . I took the resistor out and it worked fine.
A little progress report: The robot works fine; runs straight (veers approximately two inches to the right in about eight feet), turns very well on the carpet, batteries last a long time, etc.
The encoders are up and running and I am in the process of implementing the code for one Stamp to control the HB-25s and another Stamp to simply watch the encoders. As it turns out, this is not a trivial process. You have to re-think a lot of things.
I am going to place the entire 12vdc system under Stamp control with a 74HC595 and a 12vdc relay that will handle 24 amps. There will be two modes of 12vdc control; automatic via Stamp and manual via a pushbutton that tells the Stamp to turn on and off·the 12vdc system. I imagine the latter will see far more use than the former!
I am having fun!
Whit, more photos soon!
--Bill
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You are what you write.
Hey! Not a problem whatsoever! I figured that either the resistor was not necessary or the unit was defective and I could not hurt it either way.
I got caught up making it move forward and backward and turn and move fast and slow and . . . didn't take videos. But, I will tomorrow.
--Bill
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You are what you write.