STHS Computer Technology


Posted on Feb 6, 2014

On the breadboard, build two bi-directional motor control circuits (also known as `H-bridge`) circuits. These circuits will control the two DC motors that drive the wheels. Each circuit will have two wires from the Arduino (one for forward, one for backward) to control the circuit, and two wires from the single DC motor that it is controlling. You


STHS Computer Technology
Click here to download the full size of the above Circuit.

should test your circuits to ensure you can control both motors in both forward and reverse directions. Here is a sample Arduino sketch you can use to test the motors. Edit the code to check each motor and direction, and double-check the circuit for any motor that doesn`t behave as expected. Here`s the schematic circuit diagram of one QRD line sensor connected to the Arduino. You will be wiring two of these, so your robot can tell whether it is on the line, off a little bit to the left, off a little bit to the right, or completely off the line. Now test that both QRD1114`s are operating correctly, and sending a proper signal to the Arduino. Here is a sample Arduino sketch to test the circuits. Make sure you are getting a good range of values from both sensors between light and dark. Make a not of the highest and lowest values you get from each sensor. You will use a value half way in between these for your "cut off" or "threshold" value. This is the boundary value we`ll use to decide if the sensor is seeing the dark line or not.




Leave Comment

characters left:

New Circuits

.

 


Popular Circuits

Sound Effects Generator
4-channel amplifier
Mic condenser amplifier circuit
The Hall A Wire-chamber Gas System Ops Manual
microphone Neumann UM 57
modular burglar alarm
Radio Circuits
Aristo Streamliner Tips
Electronic Canary Circuits
4-input mini Logic Analyzer
Practical loudness control circuit
Flashing light controller with LM567 production
Common intermediate frequency amplifier circuit having a circuit and on the radio
A709 a voltage follower circuit diagram



Top