Learning Outcomes List all Edison’s Sensors and actions Control the blinking of the two LEDs Program Edison to generate sound Program Edison to move in any direction
Activity 1 – Page 35
Clap Controlled Driving Activity 2 – Page 36 Clap Controlled Driving
Programming Software Program : set of instructions to teach the robot to understand its input, control its output. Edison Robot can be programmed using : - visual programming - text-based interface
EdPy (Edison and Python) It’s a high level language was first released in 1991. http://www.edpyapp.com/
What are LEDs? LED stands for Light Emitting Diode. How many LEDs does Edison Have? Book Activity P- 40
Self learning – P41
Self learning – P42 Ed.LeftLed(Ed.ON) # Turn left LED ON Ed.RightLed(Ed.OFF) # Turn right LED OFF Ed.TimeWait(4, Ed.TIME_SECONDS) # Wait for 4 seconds
Step – by – Step program your Edison to beep three times Beep As you want Step – by – Step program your Edison to beep three times Book P-45
Self learning – P47 Ed.PlayBeep() # Beep Ed.TimeWait(2, Ed.TIME_SECONDS) # Wait for 2 seconds Ed.TimeWait(1, Ed.TIME_SECONDS) # Wait for 1 seconds