User manual

36
4 Pedestrian lights
In the next experiment we are going to extend the traffic light by adding a pedestrian light which will feature
a flashing light for pedestrians during the traffic light’s red phase, as is common practice in some countries.
Obviously we could also integrate a pedestrian light into the program with red and green lights, which are
commonplace in Central Europe. However, besides the LEDs used for the traffic light the learning package
contains only one more LED.
For the following experiment incorporate an additional LED with series resistor into the circuit as illustrated.
This will be connected to the GPIO port 24.
Fig. 4.1: Breadboard assembly for traffic light and flashing light for pedestrians.
Components required:
1x breadboard
1x LED red
1x LED yellow
1x LED green
1x LED blue
4x 220-ohm series resistor
5x connecting wire