ERAU STEM Summer Camps - Advanced Robotics Camp 2014
Richard S. Stansbury and Farahzad Behi
The 2014 Summer Camp used the Lego Mindstorms Educational Kit purchaed from Lego Education. Our kits ran the NXT 2.0 system, which is the previous generation Mindstorm. Since these units are discontinued, the cost associated with them have gone up significantly if you buy new. You can find used sets on E-Bay for around $200.
About one year ago, Lego upgraded from NXT 2.0 to EV3. Those are more affordable, but different from the kits used in camp. You can purchase an EV3 kit at amazon.com at the following link: http://www.amazon.com/LEGO-6029291-Mindstorms-EV3-31313/dp/B00CWER3XY/ref=sr_1_1?ie=UTF8&qid=1403871970&sr=8-1&keywords=lego+nxt+2.0
Schedule
Monday July 7, 2014
Morning
Part I - Introduction to Robot C
Lesson Videos:
- Karate Kid - Wax-on / Wax-off
- Thinking about Programming: Behaviors
- RobotC 101 - Part I
- RobotC 101 - Part II
Building / Programming Instructions
- Lego Build Instructions: REM Bot
- Downloading RobotC Firmware to NXT Brick
- Downloading a Sample Program to REM Bot
- Moving Forward Program (if time)
Afternoon
Part I - Robot Movement
Lesson Videos:
Building / Programming Instructions
- Programming Instructions - Page 1-3 - Learn how to control motor speed
- Programming Instructions - Page 4-10 - Learn how to control turning and reverse by changing motor speeds
- Optional / Advanced Instructions
Part II - Touch Sensors
Lesson Videos:
Building / Programming Instructions
- Build Instructions: Adding Light and Touch to REM Bot
- Reference: Print
- Programming Instructions: Wall Bump Behavior
- Follow instructions, if running out of time jump to page 17, "Putting it all together"
Tuesday July 8, 2014
Morning
Part I - Sonar (Ultrasonic) Sensor
Lesson Videos:
Building / Programming Instructions
- Build Instructions: Adding a Sonar
- Programming Instructions: Programming a Sonar to Avoid Wall Collision
Part II - Wheel Encoders / Speed and Rotational Sensors
Lesson Videos:
Building / Programming Instructions
- Reference: Motor Encoder Programming
- (optional) Reference: Writing Functions in RobotC
- Programming Challenge: Wheel Encoder Challenge
Afternoon
Part I - Line Detection
Lesson Videos:
- Introduction to Light Sensor
- Setting Thresholds for Light Sensor
- Using Light Sensor to Move Until Dark
Building / Programming Instructions
Part II - Line Following
Lesson Videos:
Building / Programming Instructions
Thursday Challenge Builds
You have done well, but you must complete the following challenges before you are ready for your Battle Bot.
Complete each of the challenge builds and demonstrate to Mr. Behi or Dr. Stansbury.
Challenge #1: The Wanderer
Create a program that when dropped into the battle arena will be able to move randomly throughout the environment without going out of bounds.
This is the first step to having a powerful battle bot.
Learn more about random movements: here.
Challenge #2: Robocci
For this, you will create a robot that will drive toward a cup and get as close as possible without hitting it.
Instructions can be found: here.
For this you can use, timing, sonar, or wheel encoders to try to get as close as possible.
Challenge #3: Mine Sweeper
Demonstrate your ability to evade enemies. You will place your robot in the arena and then move around randomly while avoiding any enemies. For this, your enemies will be foam cups. Don't hit them. Don't stop.
Instructions can be found: here.
Challenge #4: Last Bot Standing
Place in the arena a number of foam cups. Create a robot that uses the sonar to turn to face the closest opponent and then push that opponent until they are out of the arena. Then, turn to the next closest and attach again. The goal is to systematically clean out the arena and be the last one standing.
Battle Bots Rules and Code Sample
Tutorials: