Cockroach
Questions
1. State the assignment (problem/project) in your own words.
As a group we have to create a cockroach bot. The bot must be programmed to speed up when the lights turn on and slow down when the lights turn off.
2. What are your input factors? (What do you need to know or do before you can begin?) Include the research you did.
When doing this project you need to know the wait of the light sensor in order for the robot to sense the lights are turned on and off.
3. Describe the process in detail. Explain the steps you followed in order to complete the project.
First, we created a simple design and we added a light sensor that will be placed facing upward toward the light so the light sensor can detect when the light are on/off. We then programmed the bot to slowly move when its dark and speed up the robot when the light sensor detects when the lights are on.
4. Describe the final output / product in detail: (what are we looking at?)
You are look at what a real cockroach will do when it's searching for its food. As you see in the video, the light sensor is doing its job by detecting if the light are on/off. When lights are turned on the robot speeds up and when turned off it slows down. Our robot is just a nice simple design that completed the task.
5. Describe feedback you received during the project (suggestions, comments, etc). From peers, instructor etc . How did you use this feedback to correct issues with your project?
We received a lot of feedback from the teacher regarding the programming. We had a hard time with True/False aspect of the program and the placement of the icons.
6. What did you learn during the assignment such as tools, skills, design concepts, software, hardware, etc?
I learned that when programming the light sensor you must look at how much light between the bot and the lights. This is vital because the numerical value must be placed near the light sensor icon in the program.
7. If you were to do the project again, what would you do differently and why? Provide reasons and examples.
If I were to do this project again I would change the program. The program was perfect but, to be more realistic I would have the robot turn a little because cockroaches go crazy and are all over the place when the lights are turned on.
As a group we have to create a cockroach bot. The bot must be programmed to speed up when the lights turn on and slow down when the lights turn off.
2. What are your input factors? (What do you need to know or do before you can begin?) Include the research you did.
When doing this project you need to know the wait of the light sensor in order for the robot to sense the lights are turned on and off.
3. Describe the process in detail. Explain the steps you followed in order to complete the project.
First, we created a simple design and we added a light sensor that will be placed facing upward toward the light so the light sensor can detect when the light are on/off. We then programmed the bot to slowly move when its dark and speed up the robot when the light sensor detects when the lights are on.
4. Describe the final output / product in detail: (what are we looking at?)
You are look at what a real cockroach will do when it's searching for its food. As you see in the video, the light sensor is doing its job by detecting if the light are on/off. When lights are turned on the robot speeds up and when turned off it slows down. Our robot is just a nice simple design that completed the task.
5. Describe feedback you received during the project (suggestions, comments, etc). From peers, instructor etc . How did you use this feedback to correct issues with your project?
We received a lot of feedback from the teacher regarding the programming. We had a hard time with True/False aspect of the program and the placement of the icons.
6. What did you learn during the assignment such as tools, skills, design concepts, software, hardware, etc?
I learned that when programming the light sensor you must look at how much light between the bot and the lights. This is vital because the numerical value must be placed near the light sensor icon in the program.
7. If you were to do the project again, what would you do differently and why? Provide reasons and examples.
If I were to do this project again I would change the program. The program was perfect but, to be more realistic I would have the robot turn a little because cockroaches go crazy and are all over the place when the lights are turned on.
Program
When the light value is less than or equal to 31 the bot will slowly move along the floor because it's detecting the lights are turned off/darker. Then when the light value is greater or equal to 31 the bot will accelerate forward because it's detecting the lights are turned on. This program is set on a loop so the program will keep repeating itself until the robot is shut off.
Video
This video perfectly demonstrates a cockroaches behavior to the light/dark. When the lights are turned on the speed of the cockroach quickly increases. On the other hand, when the lights are turned off the cockroach will immediatly slow down, with little amount of speed.