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

From ROBOTC API Guide
Jump to: navigation, search
(Robot Motion)
 
(4 intermediate revisions by one user not shown)
Line 2: Line 2:
 
<yambe:breadcrumb self="Lego + Tetrix + Arduino, Mobile Robotics Platform">Arduino_Projects|Arduino Tutorials and Guided Projects</yambe:breadcrumb>
 
<yambe:breadcrumb self="Lego + Tetrix + Arduino, Mobile Robotics Platform">Arduino_Projects|Arduino Tutorials and Guided Projects</yambe:breadcrumb>
 
{{tl|1|}}
 
{{tl|1|}}
==== Platform base ====
+
== Platform base ==
 
:{| style="vertical-align: top; padding: 2px;"|
 
:{| style="vertical-align: top; padding: 2px;"|
 
|-
 
|-
Line 17: Line 17:
 
<br />
 
<br />
  
==== Using LEDs ====
+
== Using LEDs ==
 
:{| 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=What is an LED and how to use one
+
|title=What is an LED?
|image=LED_image_Lego.jpg
+
|image=LED_image.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/What_is_an_LED_and_how_to_use_one}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/What_is_an_LED}}
 +
 
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=How to connect an LED
 +
|image=LED_Tetrix_Arduino.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/How_to_connect_an_LED}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
 
|title=Programing an LED to flash
 
|title=Programing an LED to flash
|image=Tetrix_Breadboard_1_LED.jpg
+
|image=Tetrix_1_LED_Breadboard.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Programing_an_LED_to_flash}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Programing_an_LED_to_flash}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
 
|title=Adding a second LED
 
|title=Adding a second LED
|image=Tetrix_Breadboard_2_LEDs.jpg
+
|image=Tetrix_2_LEDs_Breadboard.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Adding_a_second_LED}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Adding_a_second_LED}}
  
Line 42: Line 47:
 
<br />
 
<br />
  
==== Robot Motion ====
+
== Robot Motion Devices ==
 
:{| style="vertical-align: top; padding: 2px;"|
 
:{| style="vertical-align: top; padding: 2px;"|
 
|-
 
|-
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=What is a DC Motor?
 +
|image=Tetrix_DC_Motor.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/What_is_a_DC_Motor}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=How to connect a DC Motor to the Arduino
 +
|image=Tetrix_DC_Motor_breadboard_connection.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/How_to_connect_a_DC_Motor_to_the_Arduino}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Controlling the DC Motor
 +
|image=Tetrix_DC_Motor_connected_to_Arduino.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Controlling_the_DC_Motor}}
 +
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
 
|title=What is a Lego Motor?
 
|title=What is a Lego Motor?
Line 51: Line 71:
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Connecting a Lego Motor to the Arduino
+
|title=How to connect a Lego Motor to the Arduino
 
|image=Lego_Motor_Breadboard_Connection.jpg
 
|image=Lego_Motor_Breadboard_Connection.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Connecting_a_Lego_Motor_to_the_Arduino}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/How_to_connect_a_Lego_Motor_to_the_Arduino}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
Line 61: Line 81:
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=What is a DC Motor?
+
|title=What is a servo?
|image=Tetrix_DC_Motor.jpg
+
|image=Tetrix_servo.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/What_is_a_DC_Motor}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/What_is_a_servo}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Connecting a DC Motor to the Arduino
+
|title=How to connect a servo to the Arduino
|image=Tetrix_DC_Motor_connected_to_Arduino.jpg
+
|image=Tetrix_servo_connected_to_Arduino.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Connecting_a_DC_Motor_to_the_Arduino}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/How_to_connect_a_servo_to_the_Arduino}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Driving Forwards and Backwards
+
|title=Controlling a servo
 +
|image=Tetrix_servo_connected_to_Arduino_with_arrows.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Controlling_a_servo}}
 +
|}
 +
<br />
 +
 
 +
== Robot Motion ==
 +
{{Todo|add a section to make the first activity using the switch to control an LED}}
 +
:{| style="vertical-align: top; padding: 2px;"|
 +
|-
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Making the robot drive forwards and backwards
 
|image=Tetrix_Forward_Backward_Arrows.jpg
 
|image=Tetrix_Forward_Backward_Arrows.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Driving_Forwards_and_Backwards}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Making_the_robot_drive_forwards_and_backwards}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Making the Robot turn
+
|title=Making the robot turn
 
|image=Tetrix_Turn_Arrows.jpg
 
|image=Tetrix_Turn_Arrows.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Making_the_robot_turn}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Making_the_robot_turn}}
Line 83: Line 114:
 
|title=Using functions to simplify coding
 
|title=Using functions to simplify coding
 
|image=ROBOTC_Function_Image.png
 
|image=ROBOTC_Function_Image.png
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Using_Functions_to_simplify_coding}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Using_functions_to_simplify_coding}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
 
|title=Navigating a simple maze
 
|title=Navigating a simple maze
|image=Tetrix_in_Simple_Maze.jpg
+
|image=Tetrix_in_Simple_Maze.jpg|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Navigating_a_simple_maze}}
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Navigating_a_simple_maze}}
+
 
+
|style="vertical-align: top;"|{{tut-mini
+
|title=What is a servo?
+
|image=Tetrix_servo.jpg
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/What_is_a_servo}}
+
 
+
|style="vertical-align: top;"|{{tut-mini
+
|title=Connecting a servo to the Arduino
+
|image=Tetrix_servo_connected_to_Arduino.jpg
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Connecting_a_servo_to_the_Arduino}}
+
 
+
|style="vertical-align: top;"|{{tut-mini
+
|title=Controlling a servo
+
|image=Tetrix_servo_connected_to_Arduino_with_arrows.jpg
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Controlling_a_servo}}
+
 
|}
 
|}
 
<br />
 
<br />
  
==== Bump Switch ====
+
== Bump Switch ==
 
:{| style="vertical-align: top; padding: 2px;"|
 
:{| style="vertical-align: top; padding: 2px;"|
 
|-
 
|-
Line 126: Line 141:
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Navigating a simple maze using switches
+
|title=Using switches to navigate the simple maze
 
|image=Tetrix_with_switch_in_maze.jpg
 
|image=Tetrix_with_switch_in_maze.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Navigating_a_simple_maze_using_switches}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Using_switches_to_navigate_the_simple_maze}}
 
|}
 
|}
 
<br />
 
<br />
  
==== Ultrasonic Sensor ====
+
== 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=What is an Ultrasonic Sensor?
 
|title=What is an Ultrasonic Sensor?
|image=Lego_Sonar_Sensor_Image.jpg
+
|image=Tetrix_ultrasonic_sensor.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/What_is_an_Ultrasonic_Sensor}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/What_is_an_Ultrasonic_Sensor}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Connecting an ultrasonic sensor
+
|title=How to connect an ultrasonic sensor
|image=Lego_Sonar_Sensor_Connected_To_Arduino.jpg
+
|image=Tetrix_ultrasonic_sensor_connected.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Connecting_An_Ultrasonic_Sensor}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/How_to_connect_an_ultrasonic_sensor}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Programing an ultrasonic sensor to measure distance to an object
+
|title=Using the ultrasonic sensor to measure the distance to an object
|image=Tetrix_Sonar_Sensor_Distance_Measurement_Config_Image.jpg
+
|image=Tetrix_ultrasonic_sensor_Distance_Measurement.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Programing_an_ultrasonic_sensor_to_measure_distance_to_an_object}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Using_the_ultrasonic_sensor_to_measure_the_distance_to_an_object}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Program to drive forward and avoid obstacles using the ultrasonic sensor
+
|title=Using the ultrasonic sensor to detect and avoid obstacles
|image=Tetrix_Sonar_Sensor_Wall_Avoidance.jpg
+
|image=Tetrix_ultrasonic_sensor_Wall_Avoidance.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Program_to_drive_forward_and_avoid_obstacles_using_the_ultrasonic_sensor}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Using_the_ultrasonic_sensor_to_detect_and_avoid_obstacles}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Navigating the simple maze using the ultrasonic sensor
+
|title=Using the ultrasonic sensor to navigate the simple maze
|image=Tetrix_Sonar_Sensor_Maze_Navigation.jpg
+
|image=Tetrix_ultrasonic_sensor_Maze_Navigation.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Navigating_the_simple_maze_using_the_ultrasonic_sensor}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Using_the_ultrasonic_sensor_to_navigate_the_simple_maze}}
 
|}
 
|}
 
<br />
 
<br />
  
==== Proportional Control ====
+
== Proportional Control ==
 
:{| 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=What is proportional control?
 
|title=What is proportional control?
|image=TetrixProportional_Control_Image.jpg
+
|image=Tetrix_Proportional_Control_Image.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/What_is_proportional_control}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/What_is_proportional_control}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Using proportional control with the Ultrasonic Sensor
+
|title=Implementing proportional control using input from the ultrasonic sensor
 
|image=Tetrix_Ultrasonic_Sensor_Proportional_Control_Image.jpg
 
|image=Tetrix_Ultrasonic_Sensor_Proportional_Control_Image.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Using_proportional_control_with_the_Ultrasonic_Sensor}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Implementing_proportional_control_using_input_from_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=What is a Passive Light Sensor
+
|title=What is a Passive Light Sensor?
|image=Lego_Passive_Light_Sensor.jpg
+
|image=Tetrix_Passive_Light_Sensor.jpg
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/What_is_a_Passive_Light_Sensor}}
 
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/What_is_a_Passive_Light_Sensor}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Connecting a Passive Light sensor
+
|title=How to connect a passive light sensor
|image=Lego_Light_Sensor_Connected_to_Tetrix.jpg
+
|image=Tetrix_Light_Sensor_Connected_to_Tetrix.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Connecting_a_Passive_Light_Sensor}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/How_to_connect_a_passive_light_sensor}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Program to use Light Sensor to avoid light
+
|title=Programing the robot to use the passive light sensor to avoid light
 
|image=Dark_Tetrix_Robot_With_Light_Sensor.jpg
 
|image=Dark_Tetrix_Robot_With_Light_Sensor.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Program_to_use_Light_Sensor_to_avoid_light}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Programing_the_robot_to_use_the_passive_light_sensor_to_avoid_light}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Program to use Light Sensor to find light
+
|title=Programing the robot to use the passive light sensor to find light
 
|image=Light_Tetrix_Robot_With_Light_Sensor.jpg
 
|image=Light_Tetrix_Robot_With_Light_Sensor.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Program_to_use_Light_Sensor_to_find_light}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Programing_the_robot_to_use_the_passive_light_sensor_to_find_light}}
 
|}
 
|}
 
<br />
 
<br />
  
==== Active Light Sensor ====
+
== Active Light Sensor ==
 
:{| style="vertical-align: top; padding: 2px;"|
 
:{| style="vertical-align: top; padding: 2px;"|
 
|-
 
|-
Line 222: Line 237:
 
<br />
 
<br />
  
==== Sharp IR Sensor ====
+
== Sharp IR Sensor ==
 
:{| style="vertical-align: top; padding: 2px;"|
 
:{| style="vertical-align: top; padding: 2px;"|
 
|-
 
|-
Line 231: Line 246:
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Connecting the Sharp IR Sensor
+
|title=How to connect the Sharp IR Sensor
 
|image=Tetrix_Sharp_IR_Sensor_connected.jpg
 
|image=Tetrix_Sharp_IR_Sensor_connected.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Connecting_the_Sharp_IR_Sensor}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/How_to_connect_the_Sharp_IR_Sensor}}
  
 
|style="vertical-align: top;"|{{tut-mini
 
|style="vertical-align: top;"|{{tut-mini
|title=Using the Sharp IR Sensor to detect objects and their distance
+
|title=Using the Sharp IR Sensor to detect objects and measure their distance
 
|image=Tetrix_Sharp_IR_Sensor_with_object.jpg
 
|image=Tetrix_Sharp_IR_Sensor_with_object.jpg
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Using_the_Sharp_IR_Sensor_to_detect_objects_and_their_distance}}
+
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Using_the_Sharp_IR_Sensor_to_detect_objects_and_measure _their_distance}}
 
|}
 
|}
 
<br />
 
<br />
 +
 +
== Encoders ==
 +
:{| style="vertical-align: top; padding: 2px;"|
 +
|-
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=What is an encoder?
 +
|image=Tetrix_Encoder.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/What_is_an_Encoder}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=How to connect a Lego motor encoder
 +
|image=Tetrix_Lego_encoder_connected.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/How_to_connect_a_Lego_motor_encoder}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=How to connect a Tetrix motor encoder
 +
|image=Tetrix_encoder_connected.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/How_to_connect_a_Tetrix_motor_encoder}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using encoders to drive a specific distance
 +
|image=Tetrix_Encoder_Drive_distance.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Using_encoders_to_drive_a_specific_distance}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using encoders to make turns more accurate
 +
|image=Tetrix_Encoder_turning.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Using_encoders_to_make_turns_more_accurate}}
 +
 +
|style="vertical-align: top;"|{{tut-mini
 +
|title=Using the encoders to navigate the simple maze
 +
|image=Tetrix_Encoder_in_maze.jpg
 +
|link=Tutorials/Arduino_Projects/Mobile_Robotics/Tetrix/Using_the_encoders_to_navigate_the_simple_maze}}
 +
|}

Latest revision as of 18:45, 26 June 2012

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

Platform base


Using LEDs


Robot Motion Devices


Robot Motion

Notepad.gif TODO: add a section to make the first activity using the switch to control an LED


Bump Switch


Ultrasonic Sensor


Proportional Control


Passive Light Sensor


Active Light Sensor


Sharp IR Sensor


Encoders