see Traffic control example running on a Beagle Bone Black for background.
![]() |
Breadboard Wiring |
![]() |
Wiring to RPi |
RPi wiring
Traffic light (Red,Yellow,Green) = (pins 11,13,15) = (GPIO 17,13, 22)
Pedestrian (Red, ,Green) = (pins12, ,16) = (GPIO 12, ,23)
- Connect LED+ to a GPIO pin on the RPi
- Connect LED- to resistor (used 330 Ohms)
- Connect resistors to breadboard negative line,
- which should be connected to a ground pin on RPi (used pin 6=GND)
No comments:
Post a Comment