ArduinoIDE Boards
Lampe: Lolin(Wemos) D1 R2 & mini
Thermostate: Doit ESP32 DevKit V1
Thempsensor: Generic ESP8266 Module
ArduinoIDE Boards
Lampe: Lolin(Wemos) D1 R2 & mini
Thermostate: Doit ESP32 DevKit V1
Thempsensor: Generic ESP8266 Module
LED – 3V
SCK – D18
SDA – D23
A0 – D2
RESET – D4
CS – D5
GND – GND
1 2 3 |
#define TFT_CS 5 #define TFT_RST 4 #define TFT_DC 2 |
Eventuell noch das
1 2 3 4 5 6 7 |
mkdir -p ~/Documents/Arduino/hardware/espressif && \ cd ~/Documents/Arduino/hardware/espressif && \ git clone https://github.com/espressif/arduino-esp32.git esp32 && \ cd esp32 && \ git submodule update --init --recursive && \ cd tools && \ python get.py |
1 2 3 4 5 6 7 |
define TestArduino HTTPMOD http://MeineIP/ 10 attr TestArduino userattr reading01Name reading01Regex reading02Name reading02Regex attr TestArduino reading01Name Temperature attr TestArduino reading01Regex Temperature:.([\d\.]+) attr TestArduino reading02Name Humidity attr TestArduino reading02Regex Humidity:.([\d\.]+) attr TestArduino stateFormat T: Temperature H: Humidity |