2024-11-1500
This commit is contained in:
parent
2fb37cb9b6
commit
5807bd4e5f
|
@ -54,7 +54,10 @@ float getTemperature_MCP9808(){
|
|||
dtostrf(temperature,7,1,Temperature);
|
||||
Serial.print("Temperatur (MCP9808):\t");
|
||||
Serial.print(Temperature);
|
||||
Serial.println(" °C");
|
||||
Serial.print(" °C\t");
|
||||
Serial.println(temperature,4);
|
||||
|
||||
|
||||
tempsensor.shutdown_wake(1); // shutdown MSP9808 - power consumption ~0.1 mikro Ampere, stops temperature sampling
|
||||
return temperature;
|
||||
}
|
||||
|
|
|
@ -146,6 +146,7 @@ void MessungADS() {
|
|||
Serial.println(" V");
|
||||
|
||||
voltage = readChannel(ADS1115_COMP_1_GND);
|
||||
voltage = voltage *2;
|
||||
dtostrf(voltage,8,2,ADSData.Solar);
|
||||
Serial.print("Solar:\t\t\t");
|
||||
Serial.print(ADSData.Solar);
|
||||
|
|
|
@ -32,7 +32,7 @@ void Init_BMP280(){
|
|||
F_BMP280 = false;
|
||||
SystemStatus = SystemStatus | BMP280noReady;
|
||||
Serial.print("SensorID was: 0x"); Serial.println(bmp.sensorID(),16);
|
||||
delay(5000);
|
||||
//delay(5000);
|
||||
} else{
|
||||
/* Default settings from datasheet. */
|
||||
bmp.setSampling(Adafruit_BMP280::MODE_NORMAL, /* Operating Mode. */
|
||||
|
|
|
@ -34,7 +34,8 @@ void read_HTU21D() {
|
|||
dtostrf(h,7,1,htuData.humity);
|
||||
Serial.print("Temperature (HTU21D):\t");
|
||||
Serial.print(htuData.temperature);
|
||||
Serial.println(" °C");
|
||||
Serial.print(" °C\t");
|
||||
Serial.println(t,4);
|
||||
Serial.print("Luftfeuchtigkeit:\t");
|
||||
Serial.print(htuData.humity);
|
||||
Serial.println(" %");
|
||||
|
|
|
@ -39,7 +39,7 @@ build_flags =
|
|||
build_flags = ${env.build_flags}
|
||||
-DDEBUG=0
|
||||
-DNOADS=0
|
||||
-DNAME=\"WETTERSTATIONMARCEL\"
|
||||
-DNAME=\"WETTERSTATIONTEST\"
|
||||
-DSTASSID=\"MagentaWLAN-RGDO\"
|
||||
-DSTAPSK=\"93329248424922704583\"
|
||||
-DGATEWAY=\"192.168.127.1\"
|
||||
|
@ -49,15 +49,15 @@ build_flags = ${env.build_flags}
|
|||
-Dmqtt_port=1883
|
||||
-DTERROR=5
|
||||
-DTLOWBATT=60
|
||||
-DTINTERVAL=10
|
||||
-DTINTERVAL=2
|
||||
-DSpannungsteiler=3.9
|
||||
-DUBKorectur=0.854417949
|
||||
-DMinimalSpannung=3.00
|
||||
-DKorrekturLuftdruck=23.58
|
||||
-DKorrekturTemperaturBME=0.1
|
||||
-DKorrekturTemperaturBMP=0.4
|
||||
-DKorrekturTemperaturBME=0.0
|
||||
-DKorrekturTemperaturBMP=0.0
|
||||
-DKorrekturTemperaturMCP=0.0
|
||||
-DKorrekturTemperaturHTU=0.1
|
||||
-DKorrekturTemperaturHTU=-0.496
|
||||
|
||||
[env:marcel] ; Produktivsystem:
|
||||
build_flags = ${env.build_flags}
|
||||
|
|
Loading…
Reference in New Issue
Block a user