This shield fits on top of an Arduino Mega. It provides breakouts for the sensors listed below, and fuses to protect the motor driver and motors. The PCB can be connected to a L298 motor driver or a Sabertooth 2x12 motor driver.
Parts list: See Excel file: "simple_component_list.xlsx"
Sensors:
Connections
- M1_PWR (motor 1 power) <---> motor 1 positive and negative connections on motor driver
- M2_PWR (motor 2 power) <---> motor 2 positive and negative connections on motor driver
- GND (next to 5V) <---> GND on motor driver (this should be common GND)
- 12V <---> 12V power supply
- GND (next to 12V) <---> GND of 12V power supply (this should be common GND)
- Connect Arduino's digital pins to the appropriate inputs on the motor driver. The pins will be different depending on whether you're using the L298 or Sabertooth (RTFM). If the motors are running the wrong direction, reverse the polarity
Known Issues
- The Arduino may disconnect from the laptop when running rosserial. Unfortunately, I don't know what's causing this. This has only happened once during our testing.
- Current spikes may cause the fuse to blow (CaBot will stop moving). You must replace the 12V fuse if this happens. You MUST use a 3A fuse with the L298 Motor Driver, otherwise it will burn out. The Sabertooth can use up to a 20A fuse.