Activity 3.1.1
Activity 3.1.2
Part 1
Part 3
Part 4
Activity 3.1.3
Part 2
Part 3
Part 4
Part 5
Part 6
Activity 3.1.4
Part A
Part B
Part C
Part D
Conclusions
Coding Conclusion Questions
3.1.1
1. Describe how these motors and sensors may be used.
These sensors and motors can be used in various ways. you can make systems that caries a load from point a to point b. you can make miniature vehicles with sensors on them. you can use the line follower to ensure the car will travel straight, and put sonars on them so they wont hit anything. You can also make a machine that can locate the distance of another object and make it mobile by putting motor wheels on it.
2. Describe scenarios where the motors or sensors did not respond as you would predict.
The motors and sensors did not work when i set them up on the grid for the very first time. i was new the the grid so didn't know how everything was wired. And to my prediction i was correct. when i clicked start computer said error, and i had to rewire the grid so that every port lined up.
3.1.2
1. Describe any challenges that you encountered while developing the program.
My main problem was how to correctly use the inputs, for example stop or start motor. It took me a while to figure how to accomplish certain tasks with each one. I had to go one by one and learn what each input is used for and how to properly place it in the computer.
2. Describe how these outputs might be used in an application.
One application for this activity is a stop light. you can turn on certain LED lights and keep them on for a certain time, then change the color. for example red light turns on it was 5 seconds then green light turns on.
3.1.3
1. Describe any challenges that you encountered while developing the program.
A problem i that occurred to me was when to steps were given to you in word but you had to translate them into the coding. the problem was that one step could be done many ways, and it was difficult to know how to code it. It was also difficult when we were given the comments and had to find out on our own how to code the comments.
2. Describe three applications for the use of sensors that you worked with in this activity.
The 3 sensors used in this activity were bump switch, line follower, and the sonar. An application for the sonar is if an object comes a certain distance from a secret or protected area, it can set off an alarm. the alarm wont go off until the object is a certain distance away. An application for the bump switch is when the switch is pressed it opens a gate, allowing people or vehicles to enter. when the switch isn't being pressed the gate closes. Finally an application for a line follower is for car crash test. To male it possible for a car to crash straight into a wall, attach a line follower to the car. and male the line lead up to the wall. in result a car can crash perfectly into the wall for good results.
3.1.4
1. Describe any challenges that you encountered while developing the programs.
The biggest struggle was to figure put how to use if-else and while loops. I needed to learn how to place the inputs within the system and whichnones i needed. Also the placement of brackets was difficult. i didnt know how many to use or if i should put them after every line or not.
2. Describe one application each for While loops and If-Else structures.
An application for an if-else is a fire alarm. If smoke levels get to a certain levels then the alarm will go off. The sensors with the device can recognize that levels of carbon monoxide are to high which triggers the alarm to go off and the sprinklers are set off to. An application for while loops is a light switch. while light switch is on then lights stay on as well. while light switch is closed the lights are off.