AI-Duino: Artificial Intelligence Robot with Arduino
Lets Be Friends
  • AI-Duino Overview
  • Aiduino Forum
  • AI-Duino Research Lab
    • HC-SR-4 Ultrasonic Sensor Module
    • Related Projects
  • AI-Duino Blog
  • AI-Duino Aims
  • AI-Duino Media
  • About AI-Duino
    • Contact Us
    • Donate

Motor Controller for Arduino Powered Bigtrak Installed

2/29/2016

0 Comments

 
Ok, so now I have the motor driver working, it is time to install it into the Bigtrak. The first job was to remove the circuit board, key pad and disconnect the wiring. With that done, I connected the motor driver to the Bigtrak's motors, 4.5v power supply and Arduino Uno.

The next job was to connect the Arduino to a separate 9v power supply, then screw the boards in place. Luckily, there are a few screw holes no longer used by the original board.

Once everything was in place I installed a variation of the blink sketch to test for functionality (code included at the bottom of this entry).

To see the Bigtrak in action check out these YouTube videos:
All comments, suggestions and feedback are welcomed.

Test Code

void loop() {
digitalWrite(11, HIGH); // Back
digitalWrite(5, HIGH); // Back
delay(1000); //
digitalWrite(11, LOW); //
digitalWrite(5, LOW); //
delay(1000); // wait for a second

digitalWrite(10, HIGH); // forward
digitalWrite(6, HIGH); // forward
delay(1000); //
digitalWrite(10, LOW); //
digitalWrite(6, LOW); //
delay(1000); // wait for a second

digitalWrite(6, HIGH); // turn left
digitalWrite(11, HIGH); // turn left
delay(1000); //
digitalWrite(6, LOW); //
digitalWrite(11, LOW); //
delay(1000); // wait for a second

digitalWrite(5, HIGH); // turn right
digitalWrite(10, HIGH); // turn right
delay(1000); //
digitalWrite(5, LOW); //
digitalWrite(10, LOW); //
delay(1000); // wait for a second
}

0 Comments



Leave a Reply.

    Steven Gartland

    Creator and Developer of Ai-Duino

    Categories

    All
    Motor Controller
    Obstacle Avoiding Robot
    The Plan

    RSS Feed

    Donate to AI-Duino
Powered by Create your own unique website with customizable templates.