Sunday, November 26, 2017

MyTraffic Light

This app is to create Trafic app for BBB on the RPi.
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)

Trafic system

Click on System and then on the  Virtual DNS tab at bottom and all variables, like %SCADA_Enable%,  and their values appear :)

No comments:

Post a Comment