ESP8266-12 Standalone Blynk Control Outlets Wireless 433 Mhz

29,745

78

10

Introduction: ESP8266-12 Standalone Blynk Control Outlets Wireless 433 Mhz

This is my first project on instructable ...

This project uses ESP8266-12 to turn on and turn off wireless outlets, without any changes, using the app Blynk library Rc-switch

Step 1:

Step 2: Materials

ESP8266-12 or ( ESP8266-07 , ...., ESP8266-12e)

RF 433 MHz Transmitter

3 wirelless remote control outlets

antenna 433mhz ( https://www.instructables.com/id/433-MHz-Coil-loaded-antenna/ )

Step 3: Software E Library

Step 4: Sketch

change the sketch in the following lines with your data:


  • char auth[] = "xxxxxxxxxx"; //insert here your token generated by Blynk app
  • Blynk.begin(auth, "ssid", "password"); //insert here your SSID and password
  • mySwitch.switchOn(1, 1); // insert here your code outlets

rc-switch (follow the prompts to set the transmission code of your outlets remote control)

Step 5: Connections

ESP8266-12

VCC +3,3v

CH-PD +3,3v (new version ESP8266-12e pin EN)

GND ground

GPIO15 ground

GPIO13 ---------- pin ATAD (transmitter 433mhz )


transmitter 433mhz

ATAD ----- GPIO13 (ESP8266-12)

VCC +5v

GND ground

Step 6: Thanks

Be the First to Share

    Recommendations

    • Halloween Contest

      Halloween Contest
    • Microcontroller Contest

      Microcontroller Contest
    • Plywood Contest

      Plywood Contest

    10 Comments

    0
    Mirko2
    Mirko2

    Question 2 years ago on Step 3

    Hi,thanks for share your code,have successfully made it and work perfect,now have buyed a google home assistant,and i'd like to run whit vocal command,searching on google has confused me,could you help me if possible...really thanks

    0
    catoplepa
    catoplepa

    Answer 2 years ago

    hi I'm glad you use the code and everything works, at the moment I'm not able to help you, I'm an Italian nurse and we are fighting against the coronavirus covid-19 I don't know when I can help you create the code, a greeting Christian

    0
    g8kuw
    g8kuw

    6 years ago

    I made it for the ESP-01. It turns my Christmas tree lights on and off. Tip: If your Arduino IDE compiler freezes - check for odd characters in the RCswitch.h file.

    0
    catoplepa
    catoplepa

    6 years ago

    Hi RoccoM1

    it should work, but I do not have it tested

    0
    RoccoM1
    RoccoM1

    6 years ago

    How do we know if this works with different outlets brand? I mean for example, is it possible to use this: http://www.brennenstuhl.com/en-DE/multi-way-extensions-und-plug-in-appliances/remote-control-set/remote-control-set-rcs-1000-n-comfort-1.html#wp_features ?

    0
    catoplepa
    catoplepa

    6 years ago

    Hi OlivierD2

    try entering the sketch

    mySwitch.switchOn("100010", "101001");

    or

    mySwitch.switchOn(100010101001);

    0
    OlivierD2
    OlivierD2

    Reply 6 years ago

    Thx I will try ;)

    0
    OlivierD2
    OlivierD2

    6 years ago

    How do you insert the code outlets, what is the syntax exactly ?

    BLYNK_WRITE(0) { //virtual pin 0

    mySwitch.switchOn(1, 1); // insert here your code outlets

    }

    If my outlet code is for example 100010101001, how is the syntax of the Arduino code just after mySwitch.switchOn(1,1); ?

    thx for your reply

    0
    catoplepa
    catoplepa

    6 years ago

    thanks Seamster

    0
    seamster
    seamster

    6 years ago

    Nice work, and I love the dancing robot gif! So cool!