EDUCATIONAL ROBOTICS

Elephant

elephant

The elephant that refuses to fall! As it advances, the elephant uses its trunk to mechanically sense the edge of the table. It then quickly turns to avoid the drop.

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.

elephant photo

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_elephant 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_elephant.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 start to move forwards in a straight line. As it advances, the trunk prevents the spinning tyre from coming into contact with the table. When the trunk reaches the edge of the table it drops down and the spinning tyre makes contact. This turns the robot so it doesn't plummet off the edge!

Try modifying the script to change the speed of the motors. You can also change the angle of the trunk to see what happens. Have fun!