1 / 4
ESP8266 Smart Home WiFi Button | IoT Click — zdjęcie 1
1 / 4

ESP8266 Smart Home WiFi Button | IoT Click

Zamów wydruk tego modelu

Obliczymy ostateczną cenę na podstawie wybranego pliku. Sprawdzisz ją i zaakceptujesz przed płatnością.

Zapisane na tym urządzeniu.

Low Power WiFi Button for Smart Home Automation

Ocena
0 / 5
Polubienia
5
Pobrania
14
Wydruki
0
Wyświetlenia
216
Oceny
0

Aktualizacja u źródła:

Informacje o modelu

Źródło
Printables
Licencja
Creative Commons — Attribution — Noncommercial — Share Alike

The IoT Click:

The IoT Click is a multifunctional WiFi button for home automation. Easily automate your smart lighting, sockets (e.g. WLED, Shelly, devices from home assistant, etc.) with just the push of a button.

 

Required Parts:

Name

AliExpress

Amazon (EU)

Amazon (US)

ESP01s with USB Programmer

2,19€ [Link](ESP-01S Set)

6,99€ [Link]

8,98$ [Link]

Button 6x6x5mm 2 Pin

1,09€ [Link](6x6 2Pins)

4,79€ [Link]

3,99$ [Link]

AAA Contacts Single 10x9mm

4,95€ [Link]

8,99€ [Link]

5,99$ [Link]

AAA Contacts Double 21x9mm

3,55€ [Link]

7,99€ [Link]

5,99$ [Link]

Jumper Wire

M3x6mm Counter Sink Screw

 

Wiring schematic:

 

You have to bend the Pins of the AAA-Contacts and the button

 

Put the ESP01s to the side

Insert the AAA-Contacts after soldering

 

Programming the ESP01s:

Use Arduino IDE, select Generic ESP8266 Module and flash to the ESP01s.

 

Code:
#include <ESP8266WiFi.h>

//CHANGE VARIABLES const char* ssid = "Your SSID here"; const char* password = "Your PASSWORD here";

int startTime;

void setup() { //connect to WiFi WiFi.begin(ssid, password); WiFi.reconnect();

//wait for connection to establish startTime = millis(); while ((WiFi.status() != WL_CONNECTED) && (millis() - startTime <= 5000)) { delay(5); }

if(WiFi.status() == WL_CONNECTED) { //ADD YOUR CODE HERE //do something

} else { //error no WiFi Connection } ESP.deepSleep(0); }

void loop() { //empty }

Have fun building the project!
Stay creative!

Tagi