Difference between revisions of "Tutorials/Arduino Projects/Mobile Robotics/Lego"

From ROBOTC API Guide
Jump to: navigation, search
(Light Sensor)
(Sharp IR Sensor)
 
(26 intermediate revisions by 2 users not shown)
Line 16: Line 16:
 
|-
 
|-
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Prerequisites for Using LEDs
+
|title=Requirements
|image=LED Wires LEGO.jpg
+
|image=Requirements_icon.png
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/LED_Prerequisites}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/LED_Prerequisites}}
  
Line 39: Line 39:
 
|image=LED Dimming LEGO.jpg
 
|image=LED Dimming LEGO.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/How_to_Dim_an_LED}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/How_to_Dim_an_LED}}
 +
 +
<!--
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Extension activities for LEDs
 +
|image=LED_Extension_Cover_LEGO.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Extension_Activities_For_LEDs}}
 +
-->
 
|}
 
|}
 
<br />
 
<br />
Line 46: Line 53:
 
|-
 
|-
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Prerequisites for Robot Motion
+
|title=Requirements
|image=LEGO Converter.jpg
+
|image=Requirements_icon.png
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Prerequisites_for_Robot_Motion}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Prerequisites_for_Robot_Motion}}
  
Line 62: Line 69:
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
 
|title=Driving Forwards and Backwards
 
|title=Driving Forwards and Backwards
|image=Lego_Forward_Backward_Arrows.jpg
+
|image=Lego_Forward_Backward_Arrows.png
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Driving_Forwards_and_Backwards}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Driving_Forwards_and_Backwards}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
 
|title=Turning
 
|title=Turning
|image=LEGO Point Turn Arrows.jpg
+
|image=LEGO Point Turn Arrows.png
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Turning}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Turning}}
  
Line 79: Line 86:
 
|image=Lego_in_Simple_Maze.jpg
 
|image=Lego_in_Simple_Maze.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Navigating_Simple_Maze}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Navigating_Simple_Maze}}
 +
 +
<!--
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Extension activities for Robot Motion
 +
|image=Robot_Motion_Extension_Cover_LEGO.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Extension_Activities_For_Robot_Motion}}
 +
-->
 
|}
 
|}
 +
 
<br />
 
<br />
  
Line 86: Line 101:
 
|-
 
|-
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Prerequisites for Using a Touch Sensor
+
|title=Requirements
|image=LEGO Start Switch Parts.jpg
+
|image=Requirements_icon.png
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Prerequisites_for_Touch_Sensors}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Prerequisites_for_Touch_Sensors}}
  
Line 114: Line 129:
 
|image=Lego_With_Bump_Switch_in_Maze.jpg
 
|image=Lego_With_Bump_Switch_in_Maze.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Navigating_Simple_Maze_using_Switches}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Navigating_Simple_Maze_using_Switches}}
 +
 +
<!--
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Extension activities for the Touch Sensor
 +
|image=Touch_Sensor_Extension_Cover_LEGO.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Extension_Activities_For_Touch_Sensor}}
 +
-->
 
|}
 
|}
 +
 
<br />
 
<br />
  
 
== Ultrasonic Sensor ==
 
== Ultrasonic Sensor ==
 
{{Note|ROBOTC does not currently support the Lego Sonar (Ultrasonic) sensor.}}
 
{{Note|ROBOTC does not currently support the Lego Sonar (Ultrasonic) sensor.}}
 +
<!--
 
:{| style="vertical-align: top; padding: 2px;"|
 
:{| style="vertical-align: top; padding: 2px;"|
 
|-
 
|-
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Prerequisites for Using the Ultrasonic Sensor
+
|title=Requirements
|image=Lego_Ultrasonic_Parts.jpg
+
|image=Requirements_icon.png
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Ultrasonic_Prerequisites}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Ultrasonic_Prerequisites}}
  
Line 150: Line 174:
 
|image=Lego_Sonar_Sensor_Maze_Navigation.jpg
 
|image=Lego_Sonar_Sensor_Maze_Navigation.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Navigate_Maze_Using_Ultrasonic_Sensor}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Navigate_Maze_Using_Ultrasonic_Sensor}}
|}
 
  
 
+
<!--
<br />
+
 
+
== Proportional Control ==
+
:{| style="vertical-align: top; padding: 2px;"|
+
|-
+
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Prerequisites for Proportional Control
+
|title=Extension activities for the Ultrasonic Sensor
|image=Lego_Proportional_Control_Parts.jpg
+
|image=Ultrasonic_Extension_Cover_LEGO.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Proportional_Control_Prerequisites}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Extension_Activities_For_Ultrasonic}}
 
+
|style="vertical-align: top;"|{{tut-mini
+
|title=What is proportional control?
+
|image=Lego_Proportional_Control_Image.jpg
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/What_is_proportional_control}}
+
 
+
|style="vertical-align: top;"|{{tut-mini
+
|title=Using proportional control with the Sonar Sensor
+
|image=Lego_Ultrasonic_Sensor_Proportional_Control_Image.jpg
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Programing_Proportional_Control_with_the_ultrasonic_sensor}}
+
 
|}
 
|}
 +
-->
 +
 
<br />
 
<br />
  
 
== Passive Light Sensor ==
 
== Passive Light Sensor ==
 +
 
:{| style="vertical-align: top; padding: 2px;"|
 
:{| style="vertical-align: top; padding: 2px;"|
 
|-
 
|-
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Prerequisites for Using the Passive Light Sensor
+
|title=Requirements
|image=Lego_Passive_Light_Sensor.jpg
+
|image=Requirements_icon.png
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Passive_Light_Prerequisites}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Passive_Light_Prerequisites}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
 
|title=What is a Passive Light Sensor
 
|title=What is a Passive Light Sensor
|image=Lego_Passive_Light_Sensor.jpg
+
|image=Lego_Light_Sensor.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/What_is_a_Passive_Light_Sensor}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/What_is_a_Passive_Light_Sensor}}
  
Line 194: Line 205:
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Program to use Light Sensor to find light
+
|title=Using the Light Sensor to find light
 
|image=Light_Lego_Robot_With_Light_Sensor.jpg
 
|image=Light_Lego_Robot_With_Light_Sensor.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Program_to_use_Light_Sensor_to_find_light}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Program_to_use_Light_Sensor_to_find_light}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Program to use Light Sensor to avoid light
+
|title=Using the Light Sensor to avoid light
 
|image=Dark_Lego_Robot_With_Light_Sensor.jpg
 
|image=Dark_Lego_Robot_With_Light_Sensor.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Program_to_use_Light_Sensor_to_avoid_light}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Program_to_use_Light_Sensor_to_avoid_light}}
  
 +
<!--
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Extension activities for the passive light sensors
 +
|image=pasive_light_Extension_Cover_LEGO.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Extension_Activities_For_passive_light}}
 +
-->
 
|}
 
|}
 
<br />
 
<br />
Line 210: Line 227:
 
|-
 
|-
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Prerequisites for Using the Light Sensor
+
|title=Requirements
|image=LEGO Light Sensor Parts.jpg
+
|image=Requirements_icon.png
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Light_Sensor_Prerequisites}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Light_Sensor_Prerequisites}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=What is a Light Sensor
+
|title=What is an active Light Sensor
 
|image=Lego_Light_Sensor.jpg
 
|image=Lego_Light_Sensor.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/What_is_an_Active_Light_Sensor}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/What_is_an_Active_Light_Sensor}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Connecting a Light sensor
+
|title=Connecting an Active Light sensor
 
|image=Lego_active_Light_Sensor_Connected.jpg
 
|image=Lego_active_Light_Sensor_Connected.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Connecting_an_Active_Light_Sensor}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Connecting_an_Active_Light_Sensor}}
Line 238: Line 255:
 
|image=Lego_With_Light_Sensor_in_Maze.jpg
 
|image=Lego_With_Light_Sensor_in_Maze.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Navigating_Simple_Maze_using_a_Light_Sensor}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Navigating_Simple_Maze_using_a_Light_Sensor}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using the Light Sensor LED
 +
|image=Lego Light Sensor LED.jpg
 +
|link=Tutorials/Arduino Projects/Mobile Robotics/Lego/Use the light sensor LED}}
 +
 +
<!--
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Extension activities for the Light Sensor
 +
|image=Light_Sensor_Extension_Cover_LEGO.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Extension_Activities_For_Light_Sensor}}
 +
-->
 
|}
 
|}
 +
 
<br />
 
<br />
  
Line 244: Line 274:
 
:{| style="vertical-align: top; padding: 2px;"|
 
:{| style="vertical-align: top; padding: 2px;"|
 
|-
 
|-
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Requirements
 +
|image=Requirements_icon.png
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/IR_Sensor_Prerequisites}}
 +
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
 
|title=What is different about the Sharp IR Sensor?
 
|title=What is different about the Sharp IR Sensor?
Line 258: Line 293:
 
|image=Lego_Sharp_IR_Sensor_with_object.jpg
 
|image=Lego_Sharp_IR_Sensor_with_object.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_the_Sharp_IR_Sensor_to_detect_objects_and_their_distance}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_the_Sharp_IR_Sensor_to_detect_objects_and_their_distance}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using the Sharp IR Sensor to follow a wall
 +
|image=Lego_Sharp_IR_Sensor_Follow_Wall.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_the_Sharp_IR_Sensor_to_follow_walls}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using the Sharp IR Sensor to navigate the simple maze
 +
|image=Lego_Sharp_IR_Sensor_In_Maze.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_the_Sharp_IR_Sensor_to_Navigate_A_Simple_Maze}}
 +
 +
<!--
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Extension activities for the Sharp IR sensor
 +
|image=IR_Extension_Cover_LEGO.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Extension_Activities_For_sharp_IR}}
 +
-->
 
|}
 
|}
 +
 
<br />
 
<br />
  
Line 265: Line 318:
 
|-
 
|-
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Prerequisites for Using Encoders
+
|title=Requirements
|image=Lego_Motor_Interior.jpg
+
|image=Requirements_icon.png
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Encoder_Prerequisites}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Encoder_Prerequisites}}
  
Line 281: Line 334:
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
 
|title=Using encoders to drive some distance
 
|title=Using encoders to drive some distance
|image=Lego_Encoder_Drive_distance.jpg
+
|image=Lego_Encoder_Drive_distance_Closeup.png
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_encoders_to_drive_some_distance}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_encoders_to_drive_some_distance}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
 
|title=Using encoders to correct motor variation
 
|title=Using encoders to correct motor variation
|image=Lego_Encoder_Drive_Straight.jpg
+
|image=Lego_Encoder_Drive_Straight.png
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_encoders_to_drive_Straight}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_encoders_to_drive_Straight}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
 
|title=Using encoders to make turns
 
|title=Using encoders to make turns
|image=Lego_Encoder_turning.jpg
+
|image=Lego_Encoder_Turn_Test_3.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_encoders_to_make_turns}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_encoders_to_make_turns}}
  
Line 298: Line 351:
 
|image=Lego_Encoder_in_maze.jpg
 
|image=Lego_Encoder_in_maze.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_encoders_to_navigate_the_simple_maze}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_encoders_to_navigate_the_simple_maze}}
 +
 +
<!--
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Extension activities using Encoders
 +
|image=Encoder_Extension_Cover_LEGO.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Extension_Activities_For_Encoders}}
 +
-->
 
|}
 
|}

Latest revision as of 20:22, 10 August 2012

ArduinoArduino Tutorials and Guided Projects → Lego + Arduino, Mobile Robotics Platform

Platform base


Using LEDs


Robot Motion


Touch Sensor


Ultrasonic Sensor

Notepad.gif NOTE: ROBOTC does not currently support the Lego Sonar (Ultrasonic) sensor.


Passive Light Sensor


Light Sensor


Sharp IR Sensor


Encoders