Interactive led wall
The idea is a trial to simulate the interactive lighting with the passerby. Therefore, it directed me to use IR sensor and led light.
1- I searched for an idea, and then I chose the interactive lights.
2- simulated the circuit using Tinker CAD containing (an IR sensor, Led light, resistor, breadboard, and Arduino.
3- Used the electric components from the electronics kit to simulate the circuit.
4- used Arduino IDE to copy the code from tinkerCAD to the Arduino itself using a cable.
I simulated The circuit on tinker CAD as shown in the video the wiring and the code.
No need for an extra power source as the voltage of the Arduino are enough.
The input component was the IR sensor that senses any motion and gives signals to the Arduino. and the output component is the led light. when the Arduino receives the signal from the sensor transfers it to the led light to do the assigned code.
The code blocks began with read digital pin 4 which was the sensor connected to it to see whether it was high or low. To do the assigned task (lit the Led) when the signal is high, we need an if function. If the digital pin is high, then let the LED light in green. If else let it low.
I used a digital input pin for the sensor not analogue input as it has only two values. high if something moved or low when there is no movement.
I started simulating the wiring from tinkerCAD to the real Arduino and breadboard.
Then, I copied the text code from TinkerCAD to Arduino IDE.
Then, I uploaded it into Arduino.
The Final trial is where the led lit up when something moves in front of it.
The actual Wiring.
I had a little complication with the actual circuit when transferring the text code from tinkerCAD to Arduino. The basic state was when the led is lit and when something moves in front of it, it shuts down.
Therefore, I asked Amany for help and she searched on google and found that there are some IR sensors when it detects some movement it goes into low instead of high.
Therefore I edited the text of the code to make the digital pin that receives the signals from the sensor to when it is low, lets the led lit.
Title of Media
The First trial is when the digital pin connected to the sensor reads high when something moves to let the LED shut down.
The Second trial is when the digital pin connected to the sensor reads low when something moves to let the LED lit.
Title of Media
THE SIMELY WAVING HAND .....
Title of Media