Pages: [1]   Go Down
Author Topic: Pololu Low-Voltage Dual Serial Motor Controller :(  (Read 1334 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 88
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i am wondering if there is any way to program the arduino to use the Pololu Low-Voltage Dual Serial Motor Controller to drive 2 motors that go with the tamiya dual gearbox, plz help me by explaining how to do this, i am also willing to pay anyone who can help me with programming my robot !  ;D
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 547
Posts: 45982
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey spooky,
  Do you have any idea how many posts you have to make before you can post links?

  Hint: It's way fewer than the number of posts you've made.
Logged

Ontario
Offline Offline
God Member
*****
Karma: 20
Posts: 835
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
before you can post links

That's irrelevant.  Saying the model or part number of the motor driver, quoting the specs from the motor, mentioning the general application requirements, or mentioning the model of Arduino does not require a link at all.
« Last Edit: January 19, 2011, 01:55:56 pm by gardner » Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 547
Posts: 45982
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Posting part numbers without links to data sheets is better than nothing. But, I'm kind of lazy. A post with all the information, including links, will get more attention than a post without all the required information. I'm generally inclined to skip on past posts that make me go google stuff, especially when it is so easy to post a link.
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 88
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

here is link http://www.pololu.com/catalog/product/120
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 547
Posts: 45982
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

According to that link, the device communicates over the serial port. So, you use Serial.write() to send it commands.

Code:
Serial.write(0x80); // Start
Serial.write(0x00); // device type
Serial.write(0x11); // Motor 1 fwd
Serial.write(0x3F); // 63/127'ths full speed

Serial.write(0x80); // Start
Serial.write(0x00); // device type
Serial.write(0x00); // Motor 0 reverse
Serial.write(0x7F); // full speed
Logged

Pages: [1]   Go Up
Jump to: