CLICK HERE FOR INDEX PAGE

PROJECT 1 - PROGRAM

V. Ryan © 2002

 

Microcontroller Flowchart

Explanation of flowchart

1. The PIC is turned on.

2. The PIC monitors the sensor (has the 555 circuit has been activated ?)

3. If the circuit has been activated a motor is turned on in a clockwise direction for two seconds, rotating the model person into the window.

4. The motor rotates in an anticlockwise direction, for two seconds, returning the model person to its first original position.

5. The motor is turned off
6. Both lights turn on for five seconds
7. Both lights turn off.
8. MACRO 'buzzer' is activated. This bleeps a buzzer for ten seconds

 

CLICK HERE FOR EXPLANATION OF SENSOR CIRCUIT AND PHOTOGRAPHS