|
ESP01 |
x 1 | |
|
RELAY-TINY |
x 1 | |
|
IN4007 |
x 1 | |
|
BC547Jiangsu Changjing Electronics Technology Co., Ltd.
|
x 1 | |
|
MCT2E |
x 1 | |
|
C209903HI-LINK(海凌科)
|
x 1 | |
|
LD1117S50TR |
x 1 |
|
Easyeda |
|
|
Arduino IoT CloudArduino
|
|
|
TinkerCad |
IoT Based Smart Plug
**Project Title: DIY Smart Plug with IoT Integration**
**Project Description:**
**Introduction:**
In a world increasingly dominated by smart technologies, the DIY Smart Plug with IoT Integration project aims to empower users to transform their conventional electrical appliances into intelligent, remotely controllable devices. This do-it-yourself solution combines the simplicity of a traditional plug with the power of the Internet of Things (IoT), offering users enhanced control, energy efficiency, and convenience.
**Features:**
1. *Remote Control:*
- Connect and control your appliances from anywhere in the world through a dedicated mobile application.
- Gain the flexibility to turn devices on or off with a simple tap on your smartphone.
2. *Voice Integration:*
- Seamlessly integrate your DIY Smart Plug with popular voice assistants like Amazon Alexa or Google Assistant.
- Control your devices effortlessly using voice commands, adding a new level of convenience to your daily life.
3. *Energy Monitoring:*
- Track the energy consumption of connected devices in real-time.
- Utilize data insights to make informed decisions on energy usage and promote a more sustainable lifestyle.
4. *Customizable Automation:*
- Set schedules for your appliances to turn on or off automatically.
- Create custom automation scenarios based on your preferences, routines, or specific events.
5. *Security and Safety:*
- Monitor the status of your devices remotely to ensure safety.
- Receive instant notifications in case of unusual activity, enhancing the overall security of your home.
**Why I Decided to Make It:**
The decision to embark on this DIY Smart Plug project stemmed from a desire to bridge the gap between traditional appliances and the advancements offered by IoT. The following factors motivated the creation of this innovative solution:
1. *Affordability and Accessibility:*
- Commercial smart plugs can be expensive. By creating a DIY solution, I aimed to make smart home technology more accessible to a wider audience.
2. *Customization and Learning:*
- The DIY nature of the project allows users to customize and tailor the smart plug according to their specific needs. It also serves as an excellent learning opportunity for electronics enthusiasts and beginners interested in IoT.
3. *Sustainability:*
- Empowering users to monitor and control their energy consumption aligns with a growing awareness of environmental responsibility. The smart plug encourages sustainable practices by providing insights into electricity usage.
4. *Empowering Home Automation:*
- Enabling users to transform their homes into smart environments without relying on commercial solutions was a key motivation. This DIY project puts the power of home automation directly into the hands of individuals.
In conclusion, the DIY Smart Plug with IoT Integration project aims to empower users to embrace smart living through an affordable, customizable, and user-friendly solution. By combining the simplicity of a traditional plug with the capabilities of IoT, this project represents a step towards a more connected and efficient future.
Demo
/*
Sketch generated by the Arduino IoT Cloud Thing "Untitled"
https://create.arduino.cc/cloud/things/e2c027b3-21df-4991-bceb-374ca63a72ff
Arduino IoT Cloud Variables description
The following variables are automatically generated and updated when changes are made to the Thing
CloudLight led;
Variables which are marked as READ/WRITE in the Cloud Thing will also have functions
which are called when their values are changed from the Dashboard.
These functions are generated with the Thing and added at the end of this sketch.
*/
#include "thingProperties.h"
void setup() {
// Initialize serial and wait for port to open:
Serial.begin(9600);
pinMode(0,OUTPUT);
// This delay gives the chance to wait for a Serial Monitor without blocking if none is found
delay(1500);
// Defined in thingProperties.h
initProperties();
// Connect to Arduino IoT Cloud
ArduinoCloud.begin(ArduinoIoTPreferredConnection);
/*
The following function allows you to obtain more information
related to the state of network and IoT Cloud connection and errors
the higher number the more granular information you’ll get.
The default is 0 (only errors).
Maximum is 4
*/
setDebugMessageLevel(2);
ArduinoCloud.printDebugInfo();
}
void loop() {
ArduinoCloud.update();
// Your code here
}
/*
Since Led is READ_WRITE variable, onLedChange() is
executed every time a new value is received from IoT Cloud.
*/
void onLedChange() {
if(led==1){
digitalWrite(0,HIGH);
}
else{
digitalWrite(0,LOW);
}
// Add your code here to act upon Led change
}
view raw
gistfile1.txt hosted with ❤ by GitHub
IoT Based Smart Plug
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(1)
- Naman Kansal Dec 09,2023
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Naman Kansal
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
154 1 1 -
-