Comments (10)
The calibration process should be quite rapid (max 10 minutes).
The calibration process as built in the library works by heating the sensor for 15-20 seconds (depending on the sensor type) and measuring the value every seconds. At each cycle, we stored the value read on the sensor. As soon as the value is stable, we know the stabilization cycle of the sensor. It defined the R0 and the time to read.
Did you preheat your sensor? (burn time of 48h)
from arduino-mq131-driver.
I have not burned it in completely yet. it is running right now with the calibration in the background and it should be finished tomorrow morning.
Is that burn in time necessary only once, or every time, that you are using it?
from arduino-mq131-driver.
Burn in time is required only once.
You should rerun the calibration after the burn in time.
If you have still problem, we have to investigate why the reading value is unstable.
from arduino-mq131-driver.
So I left it running and started the calibration again, after the burn in time.
Still the calibration is not finishing.
I added some Pictures of my Setup. It's a mess, but maybe you can see something, that I can't.
Thank you again for your help.
from arduino-mq131-driver.
I didn't check in details your wiring. I have just some doubts about the power. It seems that you power everything through the USB of the computer, which is maybe not enough. I personally use the additional jack power to give enough power to the wiring.
In order to understand what is happening, you should add this after the line 246 in the MQ131.cpp file :
Serial.println(value);
It will give you an idea of the readings on the analog input.
from arduino-mq131-driver.
Hello again. Sorry for the late answer, I was gone for a few days.
I did add the jack, but still the Calibration doesn't finish.
I also added the Line and I am getting some readouts now.
Here are some Images of the Readout at the start and roughly 10-15 minutes later.
from arduino-mq131-driver.
The variance is important and unusual. When I looked to your last output, we have the same values coming out : 1127777.75
, 1014000.00
and 920909.12
. During the calibration process, the code is expecting a stable value.
What is the board that you're using?
What is the load resistance you're using?
from arduino-mq131-driver.
https://ardubotics.eu/en/microcontrollers/150-sainsmart-uno-r3-atmega328p-development-board-compatible-with-arduino-uno-r3.html This is the Board that I'm using.
I have replicated your Setup exactly, so my resistors are the same. I set it up multiple times with the same results.
from arduino-mq131-driver.
I retest the whole code and made some technical refactoring. I don't see why your sensor is driving crazy during the calibration process.
Please check the connections as described in the README (I added the MQ131 pinout on a schema).
If you used a wrong connection on the pinouts, you had maybe damage the lead in the sensor. :-(
from arduino-mq131-driver.
Hi @CAMR94 ,
it's easy that you have damage the sensor, maybe you have powered it with wrong wiring. If you read the datasheet you could understand it. It's a supposition , but could happen.
this is extremely situation, but strange behaviour happen if it's partially damaged, like unstable value.
from arduino-mq131-driver.
Related Issues (20)
- Collection of data points in the data sheet to define equation HOT 1
- MQ131 analog out less than 1V HOT 1
- doesn't print correctly HOT 1
- Ozone Analyser (03) HOT 1
- Additional processing during the heating/reading process HOT 1
- live data HOT 1
- PPB values HOT 1
- confusing wiring diagram HOT 3
- MQ131 and ESP32 HOT 4
- high concentration mq131 HOT 1
- MQ131 module.
- Ground connection in schematics HOT 1
- Load resistance with 3.3V microcontroller HOT 1
- Unusual Sensor Reading HOT 3
- Low Concentration Qualitative Detection MQ131 with ESP32 HOT 2
- Wrong Readings PPB HOT 1
- Always on? HOT 1
- control temperature HOT 1
- Bluetooth hc-05 HOT 1
- Library compatibility with Nano ESP32 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-mq131-driver.