![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Im working on this project in my microcontrollers class that involves constructing a Lego tank robot that has 2 small unmatched motors.
The bot has to navigate obsticles and whatnot, and I have pretty much everything figured out except for how to get the PWM's matched to get the bot to go in a straight line. I know this should be in the robotics section, but there isnt much activity over there and its due in a couple days. so what would be the easiest way to do this?
__________________
Jeff Zimmerman To the optimist, the glass is half full. To the pessimist, the glass is half empty. To the engineer, the glass is twice as big as it needs to be. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Probably the simplest way is to use steppers rather than DC motors!. |
||
|
|
|
|
|
(permalink) |
|
oh yeah, I forgot to mention that I have an opical encoder connected to the one side to give me a tachometer feedback.
I was using a long piece of network cable to power the bot while testing, maybe I'll just kepp the wire on there and give it slight adjustments by pulling on the wire.
__________________
Jeff Zimmerman To the optimist, the glass is half full. To the pessimist, the glass is half empty. To the engineer, the glass is twice as big as it needs to be. |
|
|
|
|