The H-bridge makes use of both power supplies: one for internal logic (5V from the Arduino) and one to power the motors (6V from the batteries). The left-side bus provides 6V from the battery pack, and the right-side bus provides 5V from the Arduino. In the diagram, notice how the left and right power buses on the breadboard are not connected with a jumper wire. However, make sure you do not short-circuit the 5V Arduino supply to the 6V battery supply.Important: All the components in your circuit should have a "common ground." This means the Arduino's ground pin, the L293D's ground pins, and the 4xAA battery pack's negative wire should all be connected to the ground bus on the breadboard, and the ground buses on opposite sides of the breadboard should be connected.Make sure the L293D is oriented with the notch facing "up" on the breadboard.Here are a few things to look out for when building the circuit: If you are not sure how to wire a circuit on a breadboard, see the How to Use a Breadboard resource. The colors shown in the picture are for readability purposes only your wire colors do not need to match. Connect your motors, batteries, and the L293D, as shown in Figure 4 (note: there is more than one correct way to wire the circuit, this is just an example). Before you worry about connecting the bump sensors, you should make sure your robot's motors work and that it can drive around.How setting the input pins high and low controls motor behavior. Wire strippers allow you to cut wires to custom lengths, keeping your circuit neater.Needle nose pliers or tweezers make it easier to handle small parts.Alligator clip leads make it easier to connect your multimeter probes to your circuit.A digital multimeter is strongly recommended for help with troubleshooting.Some additional tools are recommended for working with circuits, not included in the kit:. You will need an adapter or different cable if your computer only has USB-C ports. The "B" end plugs into the Arduino and the "A" end plugs into your computer. The Science Buddies kit comes with a USB-A to B cable. See the Use Arduino with Chromebook page if you have a Chromebook. Access to the Arduino IDE (either installed local version or web-based editor).Science Buddies Electronics Kit for Arduino, available from our partner.The kit includes a robot chassis, wheels, motors, breadboard, batteries, and circuit parts to build Bluebot 4-in-1 robotics kit, available from our partner.Get the right supplies - selected and tested to work with this project.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |