Week # - 8
Smart home system
Smart home system
Ideation
Ideation
when I was watching a video for a smart home maket that I made before I was using end-user devices made by Wulian brand
when I was watching a video for a smart home maket that I made before I was using end-user devices made by Wulian brand
so I decided to make a smart home system to open certain remotely using an Arduino and Bluetooth module and servo motor to open my curtain and a relay module to turn my room light on/off
so I decided to make a smart home system to open certain remotely using an Arduino and Bluetooth module and servo motor to open my curtain and a relay module to turn my room light on/off
Toolchain
Toolchain
Arduino uno
Arduino uno
9V battery
9V battery
breadboard
breadboard
Electric wires
Electric wires
Micro servo
Micro servo
relay module
relay module
bluetooth module
bluetooth module
Preparation Process
Preparation Process
Tenkercad
Tenkercad
I used Tinkercad to simulate my circuit before wiring it physically
I used Tinkercad to simulate my circuit before wiring it physically
Tenkercad
Tenkercad
Tenkercad
Tenkercad
my code
my code
- at first, I define incoming data in a variable of char kind
and also define servo name as (s1)
and add a definition for inputs and outputs in the void setup
and in the void loop, I used while to avoid serial intrrupt data
and I used the if condition to command my Arduino to take action based on the if condition and the number impeded at the incoming value
Inputs
Inputs
1*Bluetooth module
1*Bluetooth module
2*Smart phone
2*Smart phone
Outputs
Outputs
1*Relay module to control light on or off
1*Relay module to control light on or off
2*Servo motor to push on my curtain switch to open or close it
2*Servo motor to push on my curtain switch to open or close it
Final Project
Final Project
Assignment Design Files
Assignment Design Files
Community of Learning
Community of Learning
In the first place youtube platform, slack community troubleshooting
Devolpment
Devolpment
in the next phase, I will add astepper motor to my system to make it compataple ass posipole
this an example of a srepper motor mounted to a window curtain
this an example of a srepper motor mounted to a window curtain
Overcoming Challenges
Overcoming Challenges
stepper motor not supported in tinkecad
stepper motor not supported in tinkecad
*so I add a sevro motor to to control the physical switch of my window certin
*so I add a sevro motor to to control the physical switch of my window certin
serial monitor send not allowed
serial monitor send not allowed
*if you connect an Arduino RX pin to a Bluetooth module TX pin at this case you cant send any command using
*if you connect an Arduino RX pin to a Bluetooth module TX pin at this case you cant send any command using
ide serial monitor
ide serial monitor
*the solution is to disconnect the Bluetooth TX