james' RobotC Coding
Activity 3.1.1
Activity 3.1.2
1. Describe any challenges that you encountered while developing this program.
I didn't really encounter many problems at all while developing these programs. The only problems I had were testbed related, not program related.
2. Describe how these outputs might be used in an application.
These outputs could be used in a number of different things. Say you wanted to do something where one motor turns on only if you needed to use it to turn around or something, while the other one doesn't. There are many movement possibilities with such simple commands.
I didn't really encounter many problems at all while developing these programs. The only problems I had were testbed related, not program related.
2. Describe how these outputs might be used in an application.
These outputs could be used in a number of different things. Say you wanted to do something where one motor turns on only if you needed to use it to turn around or something, while the other one doesn't. There are many movement possibilities with such simple commands.
Activity 3.1.3
1. Describe any challenges that you encountered while developing this program.
I didn't encounter any problems while developing this program. I only had to ask if the servo motor position meant speed or actual position.
2. Describe three applications for the use of the sensors that you worked with in this activity.
Three possible applications could include
I didn't encounter any problems while developing this program. I only had to ask if the servo motor position meant speed or actual position.
2. Describe three applications for the use of the sensors that you worked with in this activity.
Three possible applications could include
ACTIVITY 3.1.4
1. Describe any challenges that you encountered while developing this program.
I accidentally made more than one if statement in two of the programs, and it messed my up with brackets and such. This activity was very confusing compared to the others.
2. Describe one application each for While loops and If-Else structures.
You could set up something like a night light, where if the light level is below a certain level, it will turn the light on. You could also use the sonar to light up something like a warning light on a car while you're close to backing up into a wall or something.
I accidentally made more than one if statement in two of the programs, and it messed my up with brackets and such. This activity was very confusing compared to the others.
2. Describe one application each for While loops and If-Else structures.
You could set up something like a night light, where if the light level is below a certain level, it will turn the light on. You could also use the sonar to light up something like a warning light on a car while you're close to backing up into a wall or something.
Conclusion Questions.
3.1.1
1. Describe how these motors and sensors may be used.
These motors and sensors could be used on robots to help them move and complete tasks humans would have trouble with.
2. Describe scenarios where the motors or sensors did not respond as you would predict.
I didn't have any problems with this program. These worked as I expected.
3.1.2
1. Describe any challenges that you encountered while developing the program.
I had no problems while developing the program, it worked very well the first time i used it.
2. Describe how these outputs might be used in an application.
These could be used to perform tasks where you needed something to move forward and stop at a specific station, like a conveyor belt in a factory or something.
3.1.3
1. Describe any challenges that you encountered while developing the program.
My only problem was that I reversed the light values for light and dark in the beginning.
2. Describe three applications for the use of sensors that you worked with in this activity.
The line follower could possibly be like a tour bot in a museum or something, moving forward on a set line on the ground and stopping at each station and reading something off. The encoder could be used like a clock to see how many seconds have passed between something. The potentiometer could be used to measure some sort of degrees for something, like turning a steering wheel.
3.1.4
1. Describe any challenges that you encountered while developing the programs.
I accidentally made more than one if statement in two of the programs, and it messed my up with brackets and such. This activity was very confusing compared to the others.
2. Describe one application each for While loops and If-Else structures.
You could set up something like a night light, where if the light level is below a certain level, it will turn the light on. You could also use the sonar to light up something like a warning light on a car while you're close to backing up into a wall or something.
1. Describe how these motors and sensors may be used.
These motors and sensors could be used on robots to help them move and complete tasks humans would have trouble with.
2. Describe scenarios where the motors or sensors did not respond as you would predict.
I didn't have any problems with this program. These worked as I expected.
3.1.2
1. Describe any challenges that you encountered while developing the program.
I had no problems while developing the program, it worked very well the first time i used it.
2. Describe how these outputs might be used in an application.
These could be used to perform tasks where you needed something to move forward and stop at a specific station, like a conveyor belt in a factory or something.
3.1.3
1. Describe any challenges that you encountered while developing the program.
My only problem was that I reversed the light values for light and dark in the beginning.
2. Describe three applications for the use of sensors that you worked with in this activity.
The line follower could possibly be like a tour bot in a museum or something, moving forward on a set line on the ground and stopping at each station and reading something off. The encoder could be used like a clock to see how many seconds have passed between something. The potentiometer could be used to measure some sort of degrees for something, like turning a steering wheel.
3.1.4
1. Describe any challenges that you encountered while developing the programs.
I accidentally made more than one if statement in two of the programs, and it messed my up with brackets and such. This activity was very confusing compared to the others.
2. Describe one application each for While loops and If-Else structures.
You could set up something like a night light, where if the light level is below a certain level, it will turn the light on. You could also use the sonar to light up something like a warning light on a car while you're close to backing up into a wall or something.