@@ -167,4 +167,35 @@ Dieses Projekt ist unter der MIT-Lizenz lizenziert. Weitere Informationen findes
---
https://www.youtube.com/watch?v=JWUKFLCX5Os
\ No newline at end of file
## Erste Schritte
1. Lade den Code auf den ESP32 hoch.
2. Verbinde dich mit dem Access Point ESP32-Config (Passwort: config123).
3. Öffne einen Browser und gehe zu 192.168.4.1.
4. Gib die WiFi- und MQTT-Daten ein und speichere sie.
5. Der ESP32 startet neu und verbindet sich mit dem WiFi-Netzwerk.
# INA219 -Config
The following lines sets different ranges for the INA219 current sensor.
<code>// To use a slightly lower 32V, 1A range (higher precision on amps):
ina219.setCalibration_32V_1A();
// Or to use a lower 16V, 400mA range, call:
ina219.setCalibration_16V_400mA();</code>
**By default**, the INA219 sensor is initialized with a range of 32V and 2A.
But you can change this default setting to calibrate for different ranges, and these commented lines of code show you how to do it.
##### ina219.setCalibration_32V_1A();
calibrates the INA219 for a range up to 32V and 1A. This reduces the maximum current measurement range but increases the precision of current measurements, making them more accurate.
##### ina219.setCalibration_16V_400mA();
calibrates the INA219 for a range up to 16V and 400mA. This further reduces both voltage and current measurement range, but in return, it increases the precision for both voltage and current measurements.