Dagu Mini Driver Robot Controller - Arduino Compatible
The Dagu Mini Driver is the perfect low cost controller for small robots. At just 30mm x 60mm this board is tiny but has lots of features like dual FET motor drivers, power switch, servo headers and easy connection via USB for programming. Fully compatible with Arduino IDE.
My board is not recognized by my computer or the COMM ort does not show up in the Arduino IDE You need to install the CP2102 USB drivers first. These can be downloaded from the Silicon Labs website. Disconnect the Arduino board, install the drivers (and reboot if required). Re connect the board. After re-connecting the board a new COM port should be visible in Device Manager and the Arduino IDE. You may need to restart the Arduino IDE to recognize the new port.
I can't load the program onto my board - or- I'm getting stk500: Not in sync errors In the Arduino IDE, go to the Board Menu, and select "Arduino NG or older with ATMEGA8".
How to drive the DC Motors To drive the DC motors make sure the jumpers are correctly inserted in pins D7-D10. The pins control the Direction and Speed of each motor: - D9 is left motor speed - D7 is left motor direction - D10 is right motor speed - D8 is right motor direction
To make a motor move, first set the direction by doing a digitalWrite of HIGH or LOW (for Forward/Reverse) to the direction pin. Next set the motor speed by doing an analogWrite of 0~255 to the speed pin. 0 is stopped and 255 is full throttle.
How to use Servos Up to 8 Servos can be connected to Digital pins D2-D6 and D11-D13. You must set the "+V" jumper (located under the power switch) to Vbat in order to power the servos. Each servo must be connected so that the Black wire connects to the GND pin. For programming information, please refer to the Arduino Servo library here https://www.arduino.cc//en/Reference/Servo
How to turn the LED on and Off The LED is connected to Digital Pin 13. To use it perform a digitalWrite(13, HIGH) to turn it on or digitalWrite(13, LOW) to turn it off. For more information and an example see the Arduino documentation here https://www.arduino.cc//en/Reference/digitalWrite
How to read the Battery level The battery level can be monitored by reading Analog pin A7. In the code, simply perform an analogRead(7). A reading of 512 corresponds to approximately 5V. To prevent damage to the boot loader and the board, you must stop using it once the battery level drops to 5V.
How to Install and use the optional DAGU Bluetooth Module The Board is compatible with the DAGU Bluetooth Module. The module is inserted on the board respecting the position of the Vcc and Gnd pins. The BT board connects to the default RX and TX pins of the Arduino (Digital pins 0 and 1). You can use the Arduino Serial library to send and receive data over Bluetooth. By default the Bluetooth module comes Pre programmed for 9600bps 8N1 but please refer to the module's documentation for additional information.