![]() ![]() ![]() 3 AA batteries work well for the motors (you can borrow the existing battery bay to house them). Connect the Arduino up as stated in the previous step and in the code. I'm using a Arduino Nano, which plugs directly into a breadboard, so the H-Bridge and the arduino sit on the same breadboard. Route the cables through those holes and affix the lid back on. There are two buttons on the top of the lid. Before putting the motors back, cover the original contacts with some electrician's tape, just to isolate the old board from any current we send the motors' way. Solder some wire (about 10cm or more) onto the contacts, taking care not to damage the rather fragile motor contacts. Once detached, remove the motors by just wiggling them out. This can be done by simply applying a little upwards pressure on the motor whilst heating the solder - the contact should come unstuck. De-solder the motors from the contact points. Locate the two DC motors near the back, then switch on your soldering iron. Four by the battery bay and two in the front. Start by unscrewing the lid off the top of the robot. This is great, because we can control them independently, allowing forward, backwards and turning motion. In order to get this robot moving, we need to borrow its motors. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |