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

From ROBOTC API Guide
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:Lego + Arduino, Mobile Robotics Platform}} <yambe:breadcrumb self="Lego + Arduino, Mobile Robotics Platform">Arduino_Projects|Arduino Tutorials and Guided Proje...")
 
(Sharp IR Sensor)
 
(64 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
<yambe:breadcrumb self="Lego + Arduino, Mobile Robotics Platform">Arduino_Projects|Arduino Tutorials and Guided Projects</yambe:breadcrumb>
 
<yambe:breadcrumb self="Lego + Arduino, Mobile Robotics Platform">Arduino_Projects|Arduino Tutorials and Guided Projects</yambe:breadcrumb>
 
{{tl|1|}}
 
{{tl|1|}}
 +
== Platform base ==
 +
:{| style="vertical-align: top; padding: 2px;"|
 +
|-
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=What is the Lego + Arduino mobile robotics platform?
 +
|image=Lego Robot platform with Arduino2.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/What_is_the_Lego_+_Arduino_mobile_robotics_platform}}
 +
|}
 +
<br />
 +
 +
== Using LEDs ==
 +
:{| 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/LED_Prerequisites}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=What is an LED?
 +
|image=Orange LED.png
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/What_is_an_LED}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Program to Flash an LED
 +
|image=1LED on LEGO Robot.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Flash_an_LED}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Add a Second LED
 +
|image=LED OnOff LEGO.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Add_an_LED}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=How to Dim an LED
 +
|image=LED Dimming LEGO.jpg
 +
|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 />
 +
 +
== Robot Motion ==
 +
:{| 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/Prerequisites_for_Robot_Motion}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=What is a Lego Motor
 +
|image=LEGO Motor Front.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Lego_Motor_Intro}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Connecting a Lego Motor to the Arduino
 +
|image=LEGO Motor Connections Cover.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Connecting_A_Lego_Motor}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Driving Forwards and Backwards
 +
|image=Lego_Forward_Backward_Arrows.png
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Driving_Forwards_and_Backwards}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Turning
 +
|image=LEGO Point Turn Arrows.png
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Turning}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using functions to simplify coding
 +
|image=ROBOTC_Function_Image.png
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Driving_Functions}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Navigate a Simple Maze
 +
|image=Lego_in_Simple_Maze.jpg
 +
|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 />
 +
 +
== Touch Sensor ==
 +
:{| 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/Prerequisites_for_Touch_Sensors}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=What is a touch sensor?
 +
|image=Lego_Switch.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/What_is_a_Switch}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using a Touch Sensor to Light an LED
 +
|image=Touch_Sensor_LED.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_a_Touch_Sensor_to_Light_an_LED}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Starting a program with a touch sensor
 +
|image=Lego_with_Start_Switch.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Start_Program_with_a_Switch}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Detecting Obstacles with a touch sensor
 +
|image=Lego_Bump_Switch.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Obstacle_Detection_and_Avoidance_using_a_Switch}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Navigate a simple maze using a touch sensor
 +
|image=Lego_With_Bump_Switch_in_Maze.jpg
 +
|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 />
 +
 +
== Ultrasonic Sensor ==
 +
{{Note|ROBOTC does not currently support the Lego Sonar (Ultrasonic) sensor.}}
 +
<!--
 +
:{| 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/Ultrasonic_Prerequisites}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=What is an ultrasonic sensor?
 +
|image=Lego_Sonar_Sensor_Image.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/What_Is_An_Ultrasonic_Sensor}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Connecting an ultrasonic sensor
 +
|image=Lego_Sonar_Sensor_Connected_To_Robot.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Connecting_An_Ultrasonic_Sensor}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Programing an ultrasonic sensor to measure distance
 +
|image=Lego_Sonar_Sensor_Distance_Measurement_Config_Image.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Use_Ultrasonic_Sensor_To_Measure_Distance}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=program to drive forward and avoid obstacles
 +
|image=Lego_Sonar_Sensor_Wall_Avoidance.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Use_Ultrasonic_Sensor_To_Avoid_Walls}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=navigate a simple maze using the ultrasonic sensor
 +
|image=Lego_Sonar_Sensor_Maze_Navigation.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Navigate_Maze_Using_Ultrasonic_Sensor}}
 +
 +
<!--
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Extension activities for the Ultrasonic Sensor
 +
|image=Ultrasonic_Extension_Cover_LEGO.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Extension_Activities_For_Ultrasonic}}
 +
|}
 +
-->
 +
 +
<br />
 +
 +
== Passive Light Sensor ==
 +
 +
:{| 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/Passive_Light_Prerequisites}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=What is a Passive Light Sensor
 +
|image=Lego_Light_Sensor.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/What_is_a_Passive_Light_Sensor}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Connecting a Passive Light sensor
 +
|image=Lego_Light_Sensor_Connected.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Connecting_a_Passive_Light_Sensor}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using the Light Sensor to find light
 +
|image=Light_Lego_Robot_With_Light_Sensor.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Program_to_use_Light_Sensor_to_find_light}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using the Light Sensor to avoid light
 +
|image=Dark_Lego_Robot_With_Light_Sensor.jpg
 +
|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 />
 +
 +
==Light Sensor ==
 +
:{| 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/Light_Sensor_Prerequisites}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=What is an active Light Sensor
 +
|image=Lego_Light_Sensor.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/What_is_an_Active_Light_Sensor}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Connecting an Active Light sensor
 +
|image=Lego_active_Light_Sensor_Connected.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Connecting_an_Active_Light_Sensor}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using a light sensor to stop at a line
 +
|image=Lego_Light_Sensor_over_line.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Use_an_active_light_sensor_to_stop_at_a_line}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using a light sensor to follow a line
 +
|image=Lego_Light_Sensor_Following_Line.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Use_an_active_light_sensor_to_follow_a_line}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Navigate a simple maze using a light sensor
 +
|image=Lego_With_Light_Sensor_in_Maze.jpg
 +
|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 />
 +
 +
== Sharp IR Sensor ==
 +
:{| 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
 +
|title=What is different about the Sharp IR Sensor?
 +
|image=Sharp_IR_Sensor.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/What_is_different_about_the_Sharp_IR_Sensor}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Connecting the Sharp IR Sensor
 +
|image=Lego_Sharp_IR_Sensor_connected.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Connecting_the_Sharp_IR_Sensor}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using the Sharp IR Sensor to detect objects and their distance
 +
|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}}
 +
 +
|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 />
 +
 +
== Encoders ==
 +
:{| 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/Encoder_Prerequisites}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=What is an encoder?
 +
|image=LEGO Motor Front.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/What_is_an_Encoder}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Connecting an encoder
 +
|image=LEGO Motor Connections Cover.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Connecting_an_encoder}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using encoders to drive some distance
 +
|image=Lego_Encoder_Drive_distance_Closeup.png
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_encoders_to_drive_some_distance}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using encoders to correct motor variation
 +
|image=Lego_Encoder_Drive_Straight.png
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_encoders_to_drive_Straight}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using encoders to make turns
 +
|image=Lego_Encoder_Turn_Test_3.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Lego/Using_encoders_to_make_turns}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using encoders to navigate the simple maze
 +
|image=Lego_Encoder_in_maze.jpg
 +
|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