Advanced Circuits Project: Home Automation Challenges

Slide Note
Embed
Share

Dive into an exciting journey of creating a smart home system by wiring up various sensors, interconnecting them with Google Home/Alexa, and incorporating features like door lock servos and keypads. Engage in challenges from automating behaviors based on sensor inputs to creating manual control functions, culminating in securing your smart home with keypad access and alarm systems.


Uploaded on Sep 13, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. Intro to Circuits Advanced group: Week 5 exercises

  2. Aims: Let s wire up a house! Smart home Interconnected sensors Google home/Alexa Multipurpose buttons

  3. The plan: Week 1 Arduino, battery, breadboard and lights Week 2 LDR, motion sensor, gas sensor Week 3 LDR, motion sensor, gas sensor Week 4 LDR, motion sensor, gas sensor / Door lock servo, keypad Week 5 Door lock servo, keypad Week 6 Door lock servo, keypad

  4. Tips: Use functions as much as possible, much easier and tidier to work with Try to keep the virtual wires as tidy as possible, and colour code them Test as much of the code and circuit as possible use the serial monitor and Serial.print() Ask questions if you re stuck

  5. BRONZE Challenge: Start thinking about how you might want to go about controlling a smart home from a control panel (keypad). Which sensors should be automated? Which components would you want manual control using the keypad?

  6. SILVER Challenge: Using the functions you have created in the last few weeks, create some automated behaviours (inside the loop() ): 1. Turn the bulbs on or off dependent on sunrise or sunset (LDR sensor) 2. Turn on the bulbs and flash the orange LED on motion (pir sensor) 3. Turn on the bulbs and flash the red LED on detection of smoke (smoke sensor)

  7. GOLD Challenge: Using the functions you have created in the last few weeks, create some manual behaviours (inside the loop() ): 1. Turn the bulbs on or off using a button press from the keypad 2. Create a door lock where you have to press the correct combination of buttons to unlock the door (Servo).

  8. Extension challenge Create some code that will prevent you from unlocking the door or turning lights on or off etc. without pressing the correct combination of buttons on the keypad (lock someone out of the control panel). Sound an alarm if someone gets the password wrong!

  9. Thank You

Related