EDUCATIONAL ROBOTICS

Crocodile

crocodile

The crocodile lies in wait with mouth ajar…​ Don't put your finger in there, it might hurt!

Before proceeding please make sure you've read the Edbot Dream Owner's Guide. This includes lots of useful information and some very important safety precautions. Following these safety precautions will keep you, your students and your Edbot Dream safe.

Download the assembly instructions.

When you've finished building, you'll need to plug the Bluetooth module into the microcontroller. This will allow the Edbot Software to connect to the robot.

Make sure the Edbot Software is set up and running. Hold down the start button on the Edbot Dream microcontroller until the unit beeps twice. After a short time the robot should connect to the Edbot Software. Now it's time to code!

Scratch

To get you going we provide the dream_crocodile project for Scratch 2.0 and 3.0 created automatically when you generate the Scratch sample projects using the Edbot Software.

Python 3

As a starting point try the dream_crocodile.py Python script in the Edbot python folder. Before running it, you'll need to change the robot name at the top of the script.

Let's go!

Place the robot on a table and run the script. It should sit there with its mouth open. Put your finger in its mouth so as to trigger the centre IR sensor. Snap! Gottcha! The robot will then move backwards then forwards and rest, waiting for its next victim!

Try modifying the script to change the speed of the motors. You can also change the sensing distance and customise the speech. Have fun!