The assignment of this week is Build and Program a smart circuit using an Arduino UNO one input and one output by using Code Blocks
First, I was interested to do something like my final project which it is a laptop cooler. then I decided to make a simple auto fan circuit to test with my self the final project circuit but after a lot of searching I didn't found how to program the temperature sensor with blocks, so I decided to change it by the IR sensor with the same circuit
Software:
Tinkercad
To test my circuit to make sure that it is works without any problem and simulate it
Machine: ..............
Materials:
Cardboard
By searching for more ideas
Sketching a free hand design with pen and paper
Detect the cardboard Parts
Create new circuit
Detect the components needed Arduino, PIR sensor, Motor and Breadboard )
Insert the components and start connect
Start making the code blocks
Start simulation and make sure that the circuit works
< < Images > >
After the software files were finished, I start to implement the design
Firstly, Start make the cardboard parts as shown in the sketch
Secondly, Determine the components that I need
< < Images > >
Thirdly, Start connect the components with Arduino as I made in the tinkercad
And then test it
At the end, Assembly the circuit with the cardboard body then test it
The final Output
I asked Muhammad Tariq, when I wanted to use the temperature sensor, about is was in the Kit or not, And he told me that there are tow sensor in the kit can do the function which they are LM35 and DH11
when I finish the simulation in the tinkercad I went to implement the circuit and upload the code then test it , the fan doesn't work
Then I remembered that the fan is like a motor and must get an external voltage with the output voltage from the Arduino, so I used the motor driver with the 9 volt adaptor
I learned how to make the code that will control the process of the final project and the connections of the Arduino
The coolest thing that I have learned this week is how to use the sensors with the different actions
Title of Media