After massive brain damage I finally managed to build a prototype 4WD Robotic car controlled over Bluetooth using iPhone app. This was done using serial communication between Arduino mega and Hercules motor driver. Sorry for not posting detailed pinout diagram. If anyone interested in detailed connections please drop me an email or comment. The real trick was to make the serial connections work and test without connecting the USB cable on Hercules. Hercules board should have had two serial communication pins for easy testing as it was pain to keep removing the connected Arduino serial connections for testing. Anyways its done now 😉

Parts used in this demo

You can download the source code used in this project “CarRemote” in Github. Please forgive my bad C code as it been real long time.