- Im Ordner
include
eine Datei mit dem Namen wifi_credentials.h
und mit folgendem Inhalt erstellen. Die SSID und das Passwort anpassen.
#ifndef WIFI_CREDENTIALS_H
#define WIFI_CREDENTIALS_H
const char* ssid = "ssid"; // set correct ssid
const char* password = "pass"; // set correct password
#endif // WIFI_CREDENTIALS_H
- Programm auf den Controller laden
- Die IP-Adresse des Controllers herausfinden. Am besten über den Router.
- Die IP-Adresse des Controllers im Browser eingeben. Die folgende Webseite wird angezeigt.
- Unter Settings kann die Zeit gesetzt werden.
- ESP01-S, Controller inkl. WLAN-Modul
- DS3231, RTC-Modul
- LED, simuliert Ausgang
- Spannungsanschluss 3.3V
- Besseres Anmelden im Netzwerk --> Access Point erstellen, wenn keine WLAN-Credentials verfügbar sind
- WLAN Credentials auf dem Chip speichern
ESP8266mDNS
-Bibliothek verwenden, damit der Webserver über einen Namen aufgerufen werden kann
- NodeMCU (grösserer Controller mit mehr Pins) verwenden um den Controller bei Bedarf auch mit Hardware erweitern können