Tollbooth
The variables that were used for the input were the limit switches that would determine if the gate were open or closed all the way, and the buttons which would begin the opening or closing of the gates. The output variables were Gate Open, Gate Closed, Motor open, and Motor close. These represented the light lighting up when the gate reached either the open or closed limits, and the motor outputs represented the starting of the motor when either the open or close buttons were pressed. Qa Qb and Qc were the variables that gave binary representation to each of the states and the transitions between them, this would help to create truth tables which would lead to the programing.
The process we are simulating is the operator of the booth pressing a button to open the booth. This results in the motor starting and the arm starting to go up. Once it reaches the top of the range it has, the motor shuts off. The operator then has to press the other buton which turns the motor so that the arm lowers, the motor will shut off after he lower limit is reached.
Conclusion
This project is different form the ones we have done before as it is the first one that we have programmed to work with a VEX machine. The other projects only used the displays on the breadboard, or in the case of the copy jam detector used something that we didn’t have to build (just used one from the early class). The hardest part of this project, and the part that was responsible for the most mistakes, was the wiring of the circuit on the breadboard. It was quite hard for me because I had a good amount of trouble putting the wire into to the right holes as the picture given looked to be on a weird angle for me. Once we got the wiring and the power supply mystery solved we were able to make the tollbooth work quite easily. We did not use the schematic for the chip in this project as far as I know, since the picture given basically told us how to set up the wiring without the need for the schematic. Next time, if we were doing a similar project or the same project again, I would build the tollbooth on one side before attaching the plate that would be the other wall. This would have made my life a lot easier when putting together the gears switches and motors, and would have made my building a lot more precise as I would have more room to work with. Also, I would be a lot more careful as to where I put the wires, when wiring the circuit in the breadboard, as that was where most of the errors came from.