gedankensplitter/espLowPower.md

109 lines
3.8 KiB
Markdown
Raw Permalink Normal View History

2022-02-01 20:34:39 +00:00
---
keywords:
- IT
- ESP8266
- ESP32
---
2023-03-10 12:10:50 +00:00
# ESP notes
2023-07-22 20:56:17 +00:00
## ESPressif esp8266 LowPower
2022-01-29 19:41:03 +00:00
Energy saving
https://github.com/z2amiller/sensorboard/blob/master/PowerSaving.md
https://tinker.yeoman.com.au/2016/05/29/running-nodemcu-on-a-battery-esp8266-low-power-consumption-revisited/
https://wtarreau.blogspot.de/2017/08/what-esp8266-modules-should-look-like.html
https://www.mikrocontroller.net/topic/385003
https://github.com/espressif/esp-iot-solution/blob/master/documents/touch_pad_solution/touch_sensor_design_en.md
Schoktty diode IN5817 | BAT43
connected RST--- >|---GPIO16
Sendeleistung reduzieren
/*ToDo Check this!
pinMode(D0, WAKEUP_PULLUP);
WiFi.setAutoConnect(false);
WiFi.setAutoReconnect(false);
WiFi.disconnect();
WiFi.mode(WIFI_OFF);
*/
Okay, to sum it up for Version 3.0.0 and 3.1.0:
1. UART is powered by 3.3V
2. Lift Pin16 (VCC) and Pin4 (V3)
3. Connect Pin16 to +V5 rail [or directly to VBUS, not tested yet]
4. Solder a capacitor between Pin1 (GND) and Pin4 (V3) 0.1µF
5. The M6211 has no reverse current protection! (use this instead RP108J or add a pMOSFET)
6. you get 3V on the +5V line while powering over 3.3V
7. I measured 76µA in deepsleep. (20µA ESP8266 Core, 40µA ME6211, 6µA CH340C ???)
8. completely stripped LDO leads to 17µA in deepsleep
9. Replace LDO with this MIC5219-3.3
mqtt/ESP8266
-ssl Zertifkat
-Einrichtung ACL/Benutzer
-Dokumentation und Erstellung Sicherheitskonzept
-SleepMode ESP8266, Intervall > 10 Min
2023-03-10 12:10:50 +00:00
https://www.basti79.de/mediawiki/index.php/MQTT_-_Daten_sammeln_und_auswerten
2022-01-29 19:41:03 +00:00
Wetterstation:
TP4056 Laderegler - Nicht geeignet bei Solarpanel ( ggf. DD0503MA)
http://bienonline.magix.net/public/undsonst-boards.html
https://www.elektronik-kompendium.de/forum/forum_entry.php?id=235976&page=0&category=Computertechnik&order=time
http://www.hmsemi.com/downfile/DW01A.PDF
Sensoren:
Helligkeit: TSL2561
https://github.com/kriswiner/VEML6075/blob/master/VEML6075.basicexample.ino
BME680
Infrarot CO2 MH-Z19 Sensor
https://forum.mysensors.org/topic/6952/veml6070-and-veml6075-uv-sensors/29
SI1145 Light, UVI
2023-07-22 20:56:17 +00:00
```xml
2022-01-29 19:41:03 +00:00
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">Mosquitto MQTT server on %h</name>
<service>
<type>_mqtt._tcp</type>
<port>1883</port>
<txt-record>info=A MQTT PubSub service! mqtt.org</txt-record>
</service>
</service-group>
2023-07-22 20:56:17 +00:00
```
2022-01-29 19:41:03 +00:00
OTA
advanced web server (zusätzlich https, LuCi Integration)
https://github.com/seamustuohy/luci_tutorials/blob/master
https://wiki.openwrt.org/doc/uci/uhttpd#embedded_lua
http://jeelabs.org/book/1526e/
http://esp8266.github.io/Arduino/versions/2.0.0/doc/ota_updates/ota_updates.html
http://www.whatimade.today/esp8266-on-websockets-mdns-ota-and-leds/
http://bakke.online/index.php/2017/06/02/self-updating-ota-firmware-for-esp8266/
Übersicht:
Meteogram (https://github.com/avaldebe/AQmon)
Spannungsabhängige Messwertübermittlung
Aktuelle Werte: Uhrzeit der letzten Werte, Indikator Lüften, Luftdrucktendenz, Hitzeindex, gefühlte Hitze
Sensor draußen: Temperatur, Luftfeuchtigkeit, \[Batterie-Spannung farbliche Unterlegung]
Sensor drinnen: Temperatur, Luftfeuchtigkeit, Staub, CO², Luftgüte
http://www.loxwiki.eu/display/LOX/Absolute+Luftfeuchtigkeit+berechnen
Erweiterte Ansicht:
Übersicht:
Temparatur/Feuchtigkeit (24h, Max, Min, Durchschnitt, Sonnenaufgang/Untergang)
Temparatur/Feuchtigkeit (31d, Max, Min, Durchschnitt, Sonnenaufgang/Untergang)
Temperatur (31d, Temperaturverlauf Säulendiagramm, farbig siehe http://www.bralug.de/wiki-common/images/e/e6/Heatmap_temperature.png)
https://www.stall.biz/project (Sonnenstand)
Luftdruck (24h, aktuell, Normalhöhe, Sonnenaufgang/Untergang)
Sensor draußen: Absolute Feuchtigkeit
Sensor drinnen: Absolute Feuchtigkeit
Almanach / Astronomische Daten
Prognose:
Tendenz: Barometerverlauf (24h)
Morgen:
Übermorgen: