Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Problems Adding MH-Z19B CO2 sensor to AQM
#5

(23-02-2019, 04:18)Werk_AG Wrote:  Hi Zak,

I'm not sure about what is causing the described problem, anyway I have published an updated software version. Please try it and report back.
Make sure you compile it with AVR Boards Manager 1.6.21. newer versions are causing problems with some WeatherDuino software (boards using Nano and Mega only).
Thank you.

Kind regards,
Werk_AG

Hi Werk_AG,

Sorry it's taken me a while to get back to you.

Thank you for publishing an updated version and for your time considering this problem. Unfortunately it does not seem to have solved the issue. The PM reading is fine, but the CO2 sensor still returns a value of 65535PPM:

https://photos.app.goo.gl/ErmwFwLm2a9QuEbQ9

The serial monitor output is below. The CO2 initiation seems to be working fine, followed by the first reading of the dust sensor. However, the subsequent reading of the CO2 monitor returns a dust value of 0....

Kind regards,

Zak

Quote:   WeatherDuino 4Pro
Air Quality Monitor v8.0 b002

Please wait 30s
Configuring CO2 Sensor
Setting measurement range to: 5000
FF,99,1,0,0,0,0,0,66,
66,66
Measurement range changed!
Disabling ABC Funtion
Reseting Sensor
E1,90,1C,FC,0,1,0,3,0,
Calculated crc: 54
Wrong reply from CO2 sensor!
FF,86,1,9A,3A,0,0,0,A5,
Calculated crc: A5
CO2 read: 441 - Temp: 18

FF,86,1,9A,3A,0,0,0,A5,
Calculated crc: A5
CO2 read: 441 - Temp: 18

FF,86,1,9A,3A,0,0,0,A5,
Calculated crc: A5
CO2 read: 441 - Temp: 18

FF,86,1,9A,3A,0,0,0,A5,
Calculated crc: A5
CO2 read: 441 - Temp: 18

FF,86,1,9A,3A,0,0,0,A5,
Calculated crc: A5
CO2 read: 441 - Temp: 18

FF,86,1,9A,3A,0,0,0,A5,
Calculated crc: A5
CO2 read: 441 - Temp: 18

FF,86,1,9A,3A,0,0,0,A5,
Calculated crc: A5
CO2 read: 441 - Temp: 18

FF,86,4,2F,3A,0,0,0,D,
Calculated crc: D
CO2 read: 1136 - Temp: 18

FF,86,4,2D,3A,0,0,0,F,
Calculated crc: F
CO2 read: 1134 - Temp: 18

Init MH-Z19 Ended


Waking up the dust sensor...
Reading will be done 40s later.

Reading the dust sensor...

PMS7003 readings:
PM2.5: 23.00 ug/m3
PM10 : 24.00 ug/m3
PM2.5_1H_Avg : 23.00
PM2.5_NowCast: 23.00

FF,86,4,27,3A,0,0,0,15,
Calculated crc: 15
CO2 read: 0 - Temp: 18
Reply


Messages In This Thread
Problems Adding MH-Z19B CO2 sensor to AQM - by Zack_ster - 21-02-2019, 23:23
RE: Problems Adding MH-Z19B CO2 sensor to AQM - by werk_ag - 22-02-2019, 02:10
RE: Problems Adding MH-Z19B CO2 sensor to AQM - by Zack_ster - 22-02-2019, 23:36
RE: Problems Adding MH-Z19B CO2 sensor to AQM - by werk_ag - 23-02-2019, 04:18
RE: Problems Adding MH-Z19B CO2 sensor to AQM - by Zack_ster - 24-02-2019, 23:33
RE: Problems Adding MH-Z19B CO2 sensor to AQM - by werk_ag - 25-02-2019, 01:23
RE: Problems Adding MH-Z19B CO2 sensor to AQM - by Zack_ster - 26-02-2019, 21:42
RE: Problems Adding MH-Z19B CO2 sensor to AQM - by werk_ag - 27-02-2019, 06:50



Users browsing this thread: 1 Guest(s)