meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ixc2025:sample [2025/01/19 09:27] – diva | ixc2025:sample [2025/01/19 11:03] (current) – stephenlai | ||
---|---|---|---|
Line 2: | Line 2: | ||
No idea where to start?\\ | No idea where to start?\\ | ||
\\ | \\ | ||
- | This page shows you a simple way to use the Keyestudio IoT Smart Home Kit in your system. | + | This page shows you a simple way to use the Keyestudio IoT Smart Home Kit in your system. |
\\ | \\ | ||
- | This example demonstrates how you can automate a room using the Keyestudio IoT Smart Home Kit. The system handles entry, exit, lighting, ventilation, and even reacts to environmental changes like water droplets. | + | This example demonstrates how you can automate a room using the Keyestudio IoT Smart Home Kit. The system handles entry, exit, lighting, and even reacts to environmental changes like water droplets. |
=== Description === | === Description === | ||
The system automates a smart room with the following features: | The system automates a smart room with the following features: | ||
- | - When entering the room, the user taps an RFID card or tag on the RFID sensor. The door opens for 2 seconds, the fan turns on, and the light switches on. | + | - When entering the room, the user taps an RFID card or tag on the RFID sensor. The door opens for 2 seconds, the fan turns on, and the light switches on. RFID is needed so that only authorized users can enter the room or house. |
- | - When exiting, the user presses a button | + | - When exiting, the user presses a button. The door opens for 2 seconds, then closes. |
- If the room is empty (no motion detected by the PIR motion sensor), the light and fan automatically turn off to save energy. | - If the room is empty (no motion detected by the PIR motion sensor), the light and fan automatically turn off to save energy. | ||
- | - If water droplets are detected by the steam/water drop sensor and the window is open, the system closes the window and triggers the buzzer. If the window is already closed, the buzzer simply beeps as a warning. | + | - The water drop sensor is placed outside to detect rain and if water droplets are detected by the steam/water drop sensor and the window is open, the system closes the window and triggers the buzzer. If the window is already closed, the buzzer simply beeps as a warning. |
=== Flow of Scenario === | === Flow of Scenario === | ||
Line 20: | Line 20: | ||
- The door opens for 2 seconds. | - The door opens for 2 seconds. | ||
- The fan and light turn on. | - The fan and light turn on. | ||
+ | - The door closes. | ||
- **Exiting the room:** | - **Exiting the room:** | ||
- User presses the button. | - User presses the button. | ||
+ | - The door opens for 2 seconds. | ||
- The door closes. | - The door closes. | ||
- | - The light and fan turn off. | ||
- **Room empty:** | - **Room empty:** | ||
- PIR motion sensor detects no motion. | - PIR motion sensor detects no motion. | ||
Line 49: | Line 50: | ||
* Buzzer | * Buzzer | ||
- | === Arduino | + | === Source |
- | You can find the Arduino code for this system here: < | + | This example was done using Arduino IDE. You can find the Arduino code for this system here: [[https:// |