As the assignment in week 7 is Designing and programing a smart device that perform a certain function or solve a problem.
Using software Arduino UNO to read signals from multiple input components (Ultra sonic Sensor, Switch-push button -) to control multiple action components ( led and lcd) using Arduino C (Text Code) to build warning device from stealing, so this is the idea for this week
as i am continuing my trails to deal more with the components that i will use in my project
software : Tinker cad to simulate the circuit online
Arduino software to create a code
materials: Arduino uno , LED, LCD, wires, resistors,
breadboard.
LED
Arduino Uno
Push Button
BUZZER
LCD
This week i searched a lot for how to use LCD as this is the first week for me to use it, i understood a lot from those videos and how to integrate the components with each others
this video helped me to simulate the circuit on tinkercad
I searched for how to simulate the LCD on tinker cad, but i found it quite different to use the LCD on tinker cad than on real, the only way that i found to simulate the circuit with the LCD is to connect the 7 front pins for the LCD which is different from using the LCD in real, so i put only the places of the pins on tinker cad then tried the code with the real component with Arduino software
then i started by uploding the liberary of the lcd, then define the compent in the void setup with adding the pins
define the slider with int x
then if this variable x =0
so it will be on the manual mode and we have to use the bush button
then if this variable x =1
so it will be on the automatic mode and we have to control with the ultrasonic
and try to make an simple trial for the enclosure before adding the wires
then the wires
now the process of using the real components
a whole for the Arduino
trying the process
after finishing the en closer with the box
it was so small to have the whole components inside it so i made a new big box for all of them
alawys slack was the only of way to solve the whole challenge that i faced through the weeks, i asked abdullfattah alot this weeks on how to use the lcd as i didnot know any thing about using of the lcd, and he sent for me a video on how to use it with arduino software
At first i was confused for how to start the if condition till i asked menna elbadry for how to start she was always supportive as usual and her explanation to the point, she explained for me we have to start with the slide button so we could switch from manual mode to the automatic mode
Title of Media
as i will use the lcd in my project
so this week was a great trail for my to know more about the feature of the LCD, the connection for it and how to add function to the LCD
Title of Media
Title of Media