Press "Enter" to skip to content

analog traffic light

Last week, I attempted to control the speed of a servo with an analog dial but failed due to the lack of knowledge of the hardware limitation. This week I want to try again with a force sensor resistor.

Back when I was in Virginia and  every time I had to sit in front of a traffic light, where there was literally four cars at most in total on all directions, it makes wonder if our traffic system could be a little smarter.  The concept I came up with is a mini traffic light that a person can control with his force. Obviously, this is not a practical design by any means, but it demonstrate an idea of more interactive traffic system.

 

This is the code:

screen-shot-2016-10-04-at-11-02-55-pm