I am working on putting together my first Arduino robot. This is the set up I have come up with based on the parts I have on hand. Do note that the IR sensor is really a Parallax Ping sensor, but I couldn't find one of those in Fritzing. Does anyone see anything that stands out as a problem? I know that I should really be using a motor driver, but I don't have one yet, so I am hoping that this jury rigging will get me by till I can order one. Comments and suggestions are welcome!!
There is the new layout. The only change really is that the motor are running off the power directly from the batteries, the 9v was replaced with 4 AA, and two resistors were added to the base on each transistor.
Right now I am not too concerned with being able to reverse the motors. I will incorporate that later on.
I was able to finally get the code running correctly on here, but now my problem is that the left motor is turning slower than the right, so it is turning when it is suppossed to be going straight. Does anyone know if there is a way to fix this?
It looks like I may have to go ahead and get a motor driver board. The transistors keep burning out on me. They never start smoking/stinking, but they completely stop working.