Toggling a Relais over WIFI with any Android phone

Posted on 2 CommentsPosted in Arduino

Parts needed: Wemos D1 Mini: www.ebay.de/WeMos-D1-mini  6€ Arduino Relais: www.ebay.de/Relais-Relay-Modul-Optocouple-5V 3€ Any Transistor like bc547 & two 220 ohm resistors ~1-2€ sum: 10€ Arduino source code: #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> // ******* NETWORK and HARDWARE settings, please change! ******* const char* ssid = “*******************”; // SSID existing WIFI’s const char* password = “*****************”; […]