New sketches: UV, WaterMeter for Reed sensors, Air quality ...
-
Hello,
Lost posts, but the sketches are still here:
https://github.com/empierre/arduino
- MQ135.ino : for CO2/COV ... validated
- MQ2.ino : for ethanol... still ongoing...
- PressureSensor.ino : validated, works well, too much temp reading given back
- SoundSensor2.ino: not yet tested
- UVsensor.ino : validated
- WaterMeterPulseSensor2.ino : for use with water meter that have a reed switch, validated
Next steps:
- validate sound sensor
- validate mq2 sensor (I dont smoke...hart to trigger...)
- MQ6 sensor
- MQ131 sensor
- TGS2600 sensor
-
Hi, I bought these MQ sensors collection from ebay and soldered them on their boards.
Connected them this way:
Arduino VCC ---> MQ2 VCC
Arduino GND ---> MQ2 GND
Arduino A0 ----> MQ2 AOUT
not connected ---- MQ2 DOUTI tried AirQuality.ino, MQ2.ino, and http://sandboxelectronics.com/?p=165.
Serial monitor outputs 0ppm on every parameter. Tried blowing cigarette smoke in MQ2 with no luck.MQ2 PCB SMD board has four outputs like the one on the MySensors store , and it has a pot on it. Sketch from http://sandboxelectronics.com/?p=165 after calibration outputs R0 resistance (3.65kohm). Should I tune that pot to the point when the sketch outputs ~10kohm?
I have read on Arduino playground that MQ sensors should have burn-in period (12-24 h) to make their readings more consistent. But if there are no readings I shold not expect readings from it.
Does someone have any advice to get this sensor reading? Cheers, Dario.
-
Hello,
first the pot is only for the digital output, it has no effect on the analog one.
second, check your wiring, the analog should always report something, make sure the analog you use in the sketch is the one wired ... basic mistake... same for the 5V and ground.
there is also a led on the board, if the board is correctly powered at some moment the led should turn up.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login