Below is the diagram of how the Proteus wiring was set up. It shows which part of the robot was plugged into each port on the Proteus. To the right of it is a table that shows all of the sensors that were plugged into the Proteus. In addition, there is a table for the drive-train motors that were used, and another one for the servo motor.
Purpose of Each Sensor:
-Left/Right/Middle Optosensors were used for line following. Each optosensor read a value that told it the reflectivity of the surface beneath it and the combination of the three readings was used to tell the robot if it was on a line, and if it was not the robot read the information and knew how to adjust. The optosensors and line following were not used in the final competition.
-Right/Left Bump Switches were used to read whether or not the robot had run into an obstacle. If either or both of the bump switches returned a value that meant that the switch was pressed, then the robot knew it had hit a wall and decided what to do with that information based on the task at hand.
-The CDS Cell was used to read the light color that was underneath it. It read a value through a filter that meant that the light was either red, blue, or not on. This was used to tell the robot when to start, as well as to read the light color that told the robot in which bin to deposit the core.
Purpose of Each Motor:
-The servo motor with the ID Servo Arm was used to raise and lower the lift. It was attached to the chain and sprocket system that was connected to the lift, so when the servo turned one way or the other, the lift raised and lowered.
-The Left/Right Motors were VEX Motors. They were used to make the robot drive forward or backwards. If the robot was navigating the course at any time it meant that one of the two, if not both of the motors were being used.