Difference between revisions of "Open Source Smart Socket"
From Microduino Wiki
(→Assemble the Smart Socket) |
|||
Line 3: | Line 3: | ||
| | | | ||
==Outline== | ==Outline== | ||
− | * | + | *Project: Microduino open source smart socket (ESP8266connect with Blynk) |
− | * | + | *Objective: Mobile phone remote control socket on and off. |
− | * | + | *Difficulty: Low |
− | *Time- | + | *Time-consuming: 2 hours |
− | * | + | *Maker: ray |
*Introduction: | *Introduction: | ||
− | **The user can use | + | **The user can use mobile phone to surf the Internet to connect with Blynk control the Internet of things. |
**The core control module [[Microduino-Core+]] controls the relay switch after receiving introductions. | **The core control module [[Microduino-Core+]] controls the relay switch after receiving introductions. | ||
**WiFi wireless module [[Microduino-WIFI(ESP)]] is responsible for wireless communications. | **WiFi wireless module [[Microduino-WIFI(ESP)]] is responsible for wireless communications. | ||
Line 54: | Line 54: | ||
==Principle of the Experiment== | ==Principle of the Experiment== | ||
− | *Principle of the | + | *Principle of the Circuit's Control |
*The socket has two main components on the control panel. | *The socket has two main components on the control panel. | ||
− | **''' Switching mode power supply''' | + | **''' Switching mode power supply''': Change 220V city power into 5V working voltage to supply Microduino module with power. |
− | **'''Relay''' | + | **'''Relay''': Microduino module switch control the socket through it. |
*The socket can pick up any electrical appliances.'''(<1250W)''' | *The socket can pick up any electrical appliances.'''(<1250W)''' | ||
Line 157: | Line 157: | ||
==Program Download== | ==Program Download== | ||
− | Smart Socket | + | Smart Socket Github: [https://github.com/Microduino/ESP8266BlynkOutlet ESP8266BlynkOutlet] |
==Programming== | ==Programming== | ||
Line 165: | Line 165: | ||
*Open Arduino IDE for Microduino environment. (The reference to set up:'''[[AVR Core:Getting started]]''') | *Open Arduino IDE for Microduino environment. (The reference to set up:'''[[AVR Core:Getting started]]''') | ||
*Click '''[Tool]''' bar, confirm '''board card(Microduino-Core+) processor(Atmega644pa@16M,5V)''' selected correctly, and choose the corresponding '''port number(COMX)''' | *Click '''[Tool]''' bar, confirm '''board card(Microduino-Core+) processor(Atmega644pa@16M,5V)''' selected correctly, and choose the corresponding '''port number(COMX)''' | ||
− | *Click '''[File]'''->'''[Open]''', browse to the project program address, and click ''' | + | *Click '''[File]'''->'''[Open]''', browse to the project program address, and click '''"ESP8266BlynkOutlet.ino"''' program to open it. |
*After all these are correct, click '''"→"''' button to download to the development board. | *After all these are correct, click '''"→"''' button to download to the development board. | ||
Line 204: | Line 204: | ||
*Insert any electric power cord in the home into the smart socket, such as the electric power cord of the television, the refrigerator, and the humidifier. | *Insert any electric power cord in the home into the smart socket, such as the electric power cord of the television, the refrigerator, and the humidifier. | ||
*Here we take the phone charger for example, and inset it into the smart socket. | *Here we take the phone charger for example, and inset it into the smart socket. | ||
− | *Open the Blynk client and press the switch button, you will see the indicator lights up, and | + | *Open the Blynk client and press the switch button, you will see the indicator lights up, and then it start charging the mobile phone. |
− | In the | + | In the picture: |
① is the switch button. | ① is the switch button. | ||
② is the power indicator light. | ② is the power indicator light. |
Revision as of 07:48, 13 September 2016
ContentsOutline
Bill of Materials
Principle of the Experiment
Obtain, and Configure Blynk
Get the Mobile Client of Blynk
Program DownloadSmart Socket Github: ESP8266BlynkOutlet Programming
Assemble the Smart Socket
Operating Introduction
Attention Problem
FAQ |