Skip to content

Documentation for the trafic light client

Vasileios Karavasilis edited this page Oct 24, 2015 · 1 revision

Trafic light client

The main program of the traffic light client is https://github.com/ellak-monades-aristeias/system-of-traffic-lights-and-raspberry-pi-for-air-quality-estimation/blob/master/src/raspberryClient/opt/trafficLight/traficLightClient.py.

This program connects to the traffic-light-server, fetches the current status, finds the status that is specific for this the traffic light and turns on and off some lights.

All communication use the http protocol.

In order to turn on and off the lights, it uses the GPIO pins.

Clone this wiki locally