-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Code 3 #53
Comments
I'm not sure what's happening here, it might be synchronisation issue. Have you tried the RetrieveDeviceInfo.ino? |
Hello! I have similar issue with ESP32 and MH-Z19B. When running https://github.com/WifWaf/MH-Z19/blob/master/examples/RetrieveDeviceInfo/RetrieveDeviceInfo.ino it outputs:
When running https://github.com/WifWaf/MH-Z19/blob/master/examples/BasicUsage/BasicUsage.ino it always show 0ppm and -17C. I tried to calibrate via hardware method (HD pin to LOW for 7+ sec) and software method (20+ minutes running https://github.com/WifWaf/MH-Z19/blob/master/examples/Calibration/Calibration.ino on open window. Nothing has changed. I tried to power MH-Z19B with 3.3V and 5V, same results. Any tips would be highly appreciated, thanks! |
Try using getCo2(false) and let me know if it works. |
It was totally my mistake, sorry for bothering. For those who came across the same issues: check your RX & TX connections. You should connect them like this: Now sensor outputs:
With
I think that's ok(?), it should calibrate itself within 24 hours |
If it's still calibrating, that's fine. It just means that the baseline CO2 value it has stored is too high. |
I am getting something similar. Every second measurement I get returns the errorCode 3 and then it makes a normal measurement. I suppose it is not a default behavior, right? Maybe you have an idea what should I do? Try to get a new a sensor? Firmware Version: 05.20 |
Hello
I use esp32 UART to communication with MH-Z19 MH-Z19C
than, I tried the example ErrorCodes and I got message
Sent << DEC: 255 1 133 0 0 0 0 0 122
Received >> DEC: 66 77 9 129 8 200 3 52 1 ERROR Code: 3
Failed to receive CO2 value - Error
Response Code: 3
Sent << DEC: 255 1 133 0 0 0 0 0 122
Received >> DEC: 66 77 9 129 8 200 3 52 1 ERROR Code: 3
Failed to receive CO2 value - Error
Response Code: 3
Sent << DEC: 255 1 133 0 0 0 0 0 122
Received >> DEC: 66 77 9 130 8 198 3 51 1 ERROR Code: 3
Failed to receive CO2 value - Error
Response Code: 3
Sent << DEC: 255 1 133 0 0 0 0 0 122
Received >> DEC: 66 77 9 130 8 198 3 51 1 ERROR Code: 3
Failed to receive CO2 value - Error
Response Code: 3
Sent << DEC: 255 1 133 0 0 0 0 0 122
Received >> DEC: 66 77 9 130 8 199 3 50 1 ERROR Code: 3
Failed to receive CO2 value - Error
Response Code: 3
Sent << DEC: 255 1 133 0 0 0 0 0 122
Received >> DEC: 66 77 9 131 8 199 3 49 1 ERROR Code: 3
Failed to receive CO2 value - Error
Response Code: 3
Could you help me please?
Thank you @WifWaf
The text was updated successfully, but these errors were encountered: