Library | Building | Programming | Quick Guides Home | Quick Guides to Building | Quick Guides to Programming | LVLM | WeDo
ROBOLAB

DocumentsDate added

Order by : Name | Date | Hits [ Descendent ]
file icon 2 Button Touch Sensor Remotehot!Tooltip 05/26/2006 Hits: 3149

   The two-button remote control is a very versatile program for controlling Lego robots. It uses a series of touch sensor forks to determine which behavior you want to trigger. Since the forks are between a set of jumps, the program loops infinitely, and the behavior of the robot will change every time a different touch sensor is hit.

 

   In this program, the two-button remote is setup to control a car with motors on ports A and C. When only touch sensor 1 is pressed, motor A spins forward and motor A spins backward. This will turn the car left or right. When only touch sensor 2 is pressed, the motors are reversed and the car will spin the opposite direction. If both touch sensors are held, the car moves forward. When no touch sensors are held, the car does not move. Remember, each branch of the fork can control something different. It does not only work for a car. The touch sensors can trigger music, events, even mail to other robots. The possibilities are endless. 

file icon 3 Button Touch Sensor Remotehot!Tooltip 05/25/2006 Hits: 1831


 

file icon A Rotation Sensor Remotehot!Tooltip 05/26/2006 Hits: 2000
file icon Advanced Proportional Controlhot!Tooltip 05/26/2006 Hits: 1827
file icon Controlling the Displayhot!Tooltip 05/26/2006 Hits: 1739
file icon Data Logging from Computerhot!Tooltip 05/26/2006 Hits: 1653
file icon Data Logging the Light Sensorhot!Tooltip 05/26/2006 Hits: 1742
file icon Direct Modehot!Tooltip 05/26/2006 Hits: 1608
«StartPrev1234NextEnd»
Page 1 of 4
Home | About Us | Contact Us
© 2013 Center for Engineering Educational Outreach, Tufts University
© 2013 The LEGO Group. All rights reserved.