I am currently working on a line following car project.
I am quite new to electronics and it would be no surprise if I miss something basic in the theory side.
I am trying to control 4 motors using my Dagu 4 channel motor controller and Arudino Mega 2560. I am having power problems and after researching and some testing, I am quite clueless about what exaclty is wrong.
I have programmed the arduino mega to set the direction pin to HIGH and the PWM pin to 255. I have 2 setups for testing.