Week 1 - Section 2 - Robot driving

Site: ΕΛ/ΛΑΚ Moodle
Course: Advanced Coding - June 2017
Book: Week 1 - Section 2 - Robot driving
Printed by: Guest user
Date: Thursday, 28 March 2024, 1:15 PM

Description

In the first week we will learn about the edison robot, its capabilities, sensors and communication with the software. We will also learn how to use the EdWare, the software for programming edison robots.

Chapter 2.1 - Driving the robot forward

Write the following program to drive the Edison robot forward. Use the activity sheet as start and stop markers


Set the ‘Seconds pass’ (replace?) to an amount of time in seconds to have the robot start from behind the start line and stop before the finish line.

Minimum amount of time is 0.01 seconds.

Maximum amount of time is 327.67 seconds.

Try different amounts of time until your robot drives forward and stops just before the finish line.

Chapter 2.2 - Driving the robot backward

Write the following program to drive the Edison robot backwards. Use the activity sheet as start and stop markers.


Set the ‘Seconds pass’ (replace?) to an amount of time in seconds to have the robot start from behind the start line and stop before the finish line.

Minimum amount of time is 0.01 seconds.

Maximum amount of time is 327.67 seconds.

Try different amounts of time until your robot drives backwards and stops just before the finish line.

Chapter 2.3 - Forward and then backward

Write the following program to drive the Edison robot forward and then backward. Use the activity sheet as start and stop markers.

 


 

Set the ‘Seconds pass’ (replace?) to an amount of time in seconds to have the robot start from behind the start line and stop before the finish line, then drive backwards and stop before the start line.

Minimum amount of time is 0.01 seconds.

Maximum amount of time is 327.67 seconds.

Try different amounts of time until your robot drives forwards and backwards and stops just before the start line.

Chapter 2.4 - Speed play

Write the following program to drive the Edison robot forward and then backward. Use the activity sheet as start and stop markers.

This time change the time and the speed!

Feel free to add new icons to your program such as play beep, flash LED or even play music. 

1.  Start from behind the start line and stop before the finish line,
then drive backwards and stop
before the start line as fast as possible!

2. Start from behind the start line and stop before the finish line,
then drive backwards and stop
before the start line as slow as possible!