Girl Scout Lego Robotics Workshop Ruthe Farmer Cathy Swider Jim Ryan Roger Swanson April 19, 2003
Why Are We Here? Learn about robots Build some robots out of Legos Try some simple programming Have fun!!!
Agenda Housekeeping Robot video About Lego Robots Build a Roverbot and experiment with it Lunch CitySights demonstration Programming with Robolab The Can Do Challenge
Before We Start The RCX Motors Sensors Enable the default programs Outputs(A,B,C) Inputs (1,2,3) Buttons (On, Program, Run) Infrared port Motors Sensors Touch sensor Light sensor Enable the default programs
Build the Roverbot Follow pages 12-17 in the Constructopedia Run Program 1 and see the Roverbot in action Add two touch sensors to Inputs 1 and 3 and drive your Roverbot with Program 2 Add the light sensor on pages 34 and 35 and connect to Input 2 Use Program 3 to experiment with the light sensor
Programming with Robolab Load the firmware into the RCX Pilot 1 – very limited Pilot 2 – drive forward for 4 seconds Pilot 3 Go in a circle until touch sensor is touched Go forward and stop on black line Pilot 4 – Drive in a square
The Can Do Challenge Playing field is a white area with a black circle Some number of cans are inside the circle Adapt your Roverbot and program it in Pilot 4 to: Start inside the circle Push as many cans out of the circle as you can in 2 minutes