Due: Thursday Sept 30thth
Overview: This is the traditional line following lab with a couple of twists. You will design and program a robot to search through a maze (essentially a line following lab). Use any method you like to program the robot.
This is your first project and your objective is to integrate sensor input and motor output to perform a simple line following task. You will have the opportunity to get used to some of the quirks of the robots and the fairly inexpensive commodity parts by using them in a straightforward introductory task. Your robot will need to continuously monitor sensors and act accordingly in real time with no external input from you.
Your materials are in a green Lego bin in the cabinet in the front of the lab. The drawers of the cabinet and the bin themselves have been labeled according to groups. Use only the materials assigned to your own group. (you are grad group 3)
You will have an augmented Lego educational set including A handyboard robot, two motors, and a set of sensors including two top hat sensors. Each bin has been supplemented with additional Legos to give you more choice when building your robots. You may find that you have a great idea but just need a couple more legos to make it real. I have a few spare Legos from other kits that I can give out on a first proposal that shows the needs gets the legos basis. (don't come just asking for lots of extra parts, rather, come with a nearly finished robot and tell me what you need to finish it.
Use any computer except the one over and around the corner which serves as a server.
For those of you who have card access setup (it should be all of you by now), you have access of the lab whenever Moakley is open and the other class isn't meeting.
Your group will build an XBC based robot that will
navigate a maze. Your maze will consist of a colored line on a
contrasting background. Two sample mazes will be provided in the lab
to practice on. One will be a silver line on a black background while
the other is a black line on a white background. You should design
your robot to navigate the maze as quickly as possible without
skipping any of the maze or getting lost and running off of the maze.
On September 30th each of the groups will demo their robot in class on a new maze that I will bring in at that time. Dead reckoning will not be an acceptable method of solving this task. You will need to use the sensors to navigate the maze.
For this lab we will be using the interactive C environment. I will give a brief lecture preparing you on the day the lab is assigned.
You are not guaranteed a particular color for the line or the background in the final demo, you are only guaranteed that there will be a contrast as significant as that in the test maze. You should write your program so that you are calibrating the sensors before beginning the maze. Your group will be given a couple minutes to calibrate your robot's sensors before beginning the demo.
Batteries take about 3 hours to reach full charge according to the literature, This is when they are completely run down. It is best for the batteries if they are completely run down each time. However, before they are completely run down they often start giving strange readings from the active sensors. If you find your sensor readings suddenly getting weird, try charging the batteries..
Remember that this lab is shared with other classes, so when you leave the lab for the day, you must return all of your materials to the cabinet. Make sure that the sample maze is back near the cabinet (but still visible to other groups who might come in later.) Make sure that your robot and parts kit is in your designated drawer. You are responsible if your group leaves your robot out on the table and it gets broken. If you need to charge your handyboard in trickle charge mode while at class, you can leave the handyboard and its cables and plugs at a station on one of the off network computers for a few hours. Do not leave these more than 24 hours as the lab is shared space and others may need to use the are.
Have fun and I look forward to seeing your finished projects in class at the end of the Month.