Title of Media
i'll make smart kitchen system to control the light and the fan wirelessly thru bluetooth app
Components that i used
-arduino uno
-servo motor
-lamp
- jumpers
- bluetooth module
- bread board
- relay
-volt regulator
then i used arduino ide to write my code
i used arduino control mobile app to communicate with the arduino to start do my orders
Title of Media
i connected the lamp with external 9v power adapter then i used the volt regulator to give me 5 volt to power on the bluetooth module and the fan
i connected the fan thru the relay and connected the relay signal to pin 6
and the servo signal to pin 9
i included the servo library
i put char variable for the incoming data from the mobile app
fan and sero are outputs
the mobile app data is input
Title of Media
i told the arduino if i sent you 1 make the servo rotate to 40 angle
and that will make the servo horn turn on the light switch
and if i sent you 2 make the servo rotate to -40 degree and that will turn the light switch off
and if i sent 3 that will turn on the fan thru the relay
and if i sent 4 that will turn off the fan
the smart kitchen controlled by wireless android app
i fixed the servo motor to the lamp switch
the lamp on the ceiling
i put the fan on the kitchen window
the circuit
the lamp anode connected to the switch
the bluetooth control app ( arduino control app )
when i press number 1 on the app it sends signal to the arduino to move the servo motor + 40 degrees and that turning on the lamp
when i press number 2 on the app it sends signal to the arduino to move the servo motor - 40 degrees and that turning off the lamp
when i press number 3 on the app it sends signal to the arduino to turning on the fan thru the relay
when i press number 4 on the app it sends signal to the arduino to turning off the fan thru the relay
was challenging to find the perfect degree to let the servo horn rotate and push the button on the tow ways
and it needed more try and error to get the right number after searching online with a few tries
Title of Media
Title of Media
How to control my arduino components easily and wirelessly thru bluetooth
Title of Media
Title of Media