Arduino Traffic Light Radar Demonstration


To implement this project I used physical computing to test out whether it would be possible to create the WOOP concept. From my basic knowledge of arduino, I thought it would be possible, but that meant delving into physical computing in a way I had not up to this point. I used the Tinkercad platform to learn a few basic techniques, and first tried out making the lights flash. To create this physically I downloaded the code from Tinkercad, and installed the Arduino IDE app. Once I had opened the code within the application and uploaded it to my Arduino Uno I was able to control its functions.

From there I moved on to trying the radar sensor using the same method, but this time the code I downloaded did not work in the way I wanted it to. The code is featured below in C++ which is not a language that I was familiar with, but I was determined to alter it to make my radar traffic light system work. Firstly I determined that the HIGH/LOW functions controlled the voltage, and I experimented with that, but I just couldn’t get the circuit to feed back in the way I wanted it to. After about an hour, I simply read the file including the symbols, and noting down what it meant in terms of distance sensitivity. This helped me to determine the parameters that I needed to know to be able to put the correct voltage to the pins that would trigger the lights corresponding to distance.