A simple wind generator
this week was about smart devices by using Arduino , so I choice a simple smart project which is wind generator ( I created it by using a microwave sensor to stop the project while any living thing is around , then send a message to the lamp to work as a way for safety indication , And when there is no living thing around the lamp will be closed and the motor will be choice and the wind generator will work , Then I decided to create some steps which will happen when the temp and humidity of the environment will be very high to rescue the wind generator from damage. Actually, I choice this idea because I worked on something like this before and I thought it will be a good chance to review my info by the way.
Arduino
Relay
Microwave sensor
DHT sensor
lamp
dc motor
H_bridge
jumper wires
crocodile wires
9v DC power supply
Breadboard
cartoon for enclosure.
the whole component
Arduino+ USB cable
Relay
LDR sensor
Breadboard
9V power supply
Title of Media
DHT sensor
DC motor
H-bridge
Microwave sensor
lamp
wires
coding process
tinkercad circuit
The preparation process has about three steps:
first ( tinkercad designing):
I designed the circuit on tinkercad program first to ensure that all connections are correct.
Second ( Real circuit designing ):
I followed the instruction of each component when I was trying to design the circuit ( I started with Arduino then I added the Relay for lamp and made sure that everything was going ok , Then I added the H-bridge for the DC motor and also made sure that the connection was correct,After that I connected the two sensors with arduino by following the instructions and I think they have a similar way for connection, finally I connected the DC power supply and the Arduino to my laptop for starting coding process.)
Third (coding process ):
I started to code every device separately , then I integret them all together ( I had two conditions in my project the first one was about if there is any living thing .... in this condition the lamp will be recognised as HIGH value and the motor will be the opposite
, the second condition will be the normal condition ( no living things) so in this case the lamp will be recognised as LOW value and the motor will be the opposite and the wind will work... and this second one was put down the else partition.
The implementation process:
Enclousre process :
in this process I finally was able to create the cartoon parts to integrate the electronics component inside it , After made sure that the code is going well and each component works with the correct instructions.
Title of Media
the correct code for DC motor
As I mentioned before this week was about Arduino coding and I don't have any background about it , so it was too hard for me to learn it , but my friend Norhan helped me to understand it while our working together in creating the smart home in lab , as I thought that when we try to connect the H_bridge with Arduino while using one motor only we will write the info of this only one motor but then the circuit didn't work and she told me that we will introduce the info of two motors but will make the other one always low.
sincerely , this week I did a simple mistake while I was connecting the H-bridge with Arduino as I should connect them by using 5v pin on H-bridge but instead I used 12V one and while I was connecting the Arduino with laptop something went wrong and my laptop closed immediately and when i fixed this problem and then tried to reconnect the circuit refused to work ,so I called my instructor menna and she told me that my Arduino was damaged and I will need to fix it.
Arduino problem
while testing project
coding skills:
I used the coding skills which I learned this week specially in ( face- to - face lab session) to coding my smart wind generator and also I cited some things from the coding of my smart home project.
circuit designing :
here I applied what I learned during the last two weeks about the electronics connections, specially , the Relay and H-bridge one.
and you can see my testing video from this link
(https://drive.google.com/file/d/1F_hQgBrR4RaH4OgcK11irJYUM63B3GBu/view?usp=sharing)
(https://drive.google.com/file/d/1EwP0JwBjjbnaEpGMy3xCypdfMatI2-nD/view?usp=sharing)
project enclosure
the coolest thing was the creation of the smart home project because I learned a lot while making it and also there is a lot of fun and a lot of hard work and we had to reach our houses very late because this much work but I think it deserve , by the way the component of this project were similar to the component of my final project for this week because we also used
Arduino
Relay
Microwave sensor
DHT sensor
lamp
dc motor
H_bridge
jumper wires
crocodile wires
9v DC power supply
Breadboard
cartoon for enclosure.
but with LDR sensor also.
3
4
1
2
Title of Media