Construire Un Lego Spybotics Avec Arduino

A friend gave me his old Lego Spybotics robot, however, the programming environment that goes along with it is a bit too orientated to the younger user.
Lego Spybotics with Arduino
So why not control it using an Arduino?

Step 1: Open up!

Open up

In order to get this robot moving, we need to borrow its motors.

There are two DC motors in the robot. This is great, because we can control them independently, allowing forward, backwards and turning motion.

Start by unscrewing the lid off the top of the robot. The screws are located on the bottom. Four by the battery bay and two in the front.

Locate the two DC motors near the back, then switch on your soldering iron.

De-solder the motors from the contact points. This can be done by simply applying a little upwards pressure on the motor whilst heating the solder – the contact should come unstuck.

Once detached, remove the motors by just wiggling them out. Solder some wire (about 10cm or more) onto the contacts, taking care not to damage the rather fragile motor contacts.

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. Then just slot the motors back in.

There are two buttons on the top of the lid. Pull them out. This will create two holes. Route the cables through those holes and affix the lid back on.

Step 2: Motor control (with the infamous H-Bridge!)

Now that we have access to the motors, we need to drive them. I’m using a L293D quad half H-bridge driver chip. It cost me R27 ($3), and because of it being quad half, we can control both motors off one chip.

Refer to the image as to how to connect the H-bridge.

The reason for the quadruple grounds is to sink heat (and of course ground the chip), so be sure to connect all of them.

 

For more detail: Build An Lego Spybotics with Arduino

 

 


A Propos De L'Auteur

Ibrar Ayyub

Je suis expérimenté, rédacteur technique, titulaire d'une Maîtrise en informatique de BZU Multan, Pakistan à l'Université. Avec un arrière-plan couvrant diverses industries, notamment en matière de domotique et de l'ingénierie, j'ai perfectionné mes compétences dans la rédaction claire et concise du contenu. Compétent en tirant parti de l'infographie et des diagrammes, je m'efforce de simplifier des concepts complexes pour les lecteurs. Ma force réside dans une recherche approfondie et de présenter l'information de façon structurée et logique format.

Suivez-Nous:
LinkedinTwitter

Laisser un Commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

fr_FRFrench
Faire défiler vers le Haut