GAS meter automation | Page 2 | ThingSpeak Projects | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
GAS meter automation
Avatar
kvv213

Gold
Forum Posts: 28
sp_UserOfflineSmall Offline
21
August 4, 2016 - 1:45 pm
sp_Permalink sp_Print

Small update about 15 seconds data post interval. Actually it exists. If I try to publish data more often than 1 post in 15 seconds then all the following after 1st posts are ignored. 🙂

Avatar
Vinod

Forum Posts: 183
sp_UserOfflineSmall Offline
22
August 4, 2016 - 5:17 pm
sp_Permalink sp_Print

Once you send a point to a channel, that channel cannot receive an update for the next 15 seconds. After the 15 seconds are up since the initial point was received, the next update will will be logged, etc. Note that any points sent between the 15s are ignored.

Avatar
kvv213

Gold
Forum Posts: 28
sp_UserOfflineSmall Offline
23
August 11, 2016 - 4:43 pm
sp_Permalink sp_Print

Still struggle with power for MQ sensors.... Even a separated 1A 5V board energy source can't coupe with one MQ sensor. 5V appeares to be just 2.6V after connection of MQ :-E

http://s45.radikal.ru/i109/1608/7b/cbd67c7deebe.jpg

Avatar
rw950431

Forum Posts: 252
sp_UserOfflineSmall Offline
24
August 11, 2016 - 8:16 pm
sp_Permalink sp_Print

Theres a listing of the various MQ sensors on the arduino website

http://playground.arduino.cc/Main/MQGasSensors

Some of them, as you found, require high current for the heating elements.

Avatar
kvv213

Gold
Forum Posts: 28
sp_UserOfflineSmall Offline
25
August 13, 2016 - 10:21 am
sp_Permalink sp_Print

With help of reliable external power source I've managed to feed two of MQ sensors with enough power 🙂

 

But here I got a question. The heat-up time for a sensor is around 3 minutes. If I read sensor values every 30 minutes. So should I turn off the heater after measurment and turn it on 5 minutes before the next measurment? The idea is to save energy because the heaters consumes a lot of energy and the device will work 24H per day (12am and 12pm) for years. Than can make sense. But the other side of such green behaviour - reduced work-time of the sensors in general.

Plus the device and the sensors are going to be installed at a room that have temperature below zero for 4-5 months. So the heating can take longer (it is possible to calculate it with temperature sensor anyway).

Avatar
kvv213

Gold
Forum Posts: 28
sp_UserOfflineSmall Offline
26
August 13, 2016 - 12:51 pm
sp_Permalink sp_Print

The pre latest effort 🙂

The question is - how to convert analogRead values from the sensors into PPM values.

 

Metan sensors shows me around 140 of something.

CO sensors provides me with around 404 of something. That is surprisingly close to value mentioned here http://co2now.org/

 

Calibrating accroding to sensors datasheets is not possible due to very sick informations in them. A way how to calibrate sensors is here http://davidegironi.blogspot.ru/2014/01/cheap-co2-meter-using-mq135-sensor-with.html#.V69PlCOhpBe but it is an overkill for me 🙂

 

Any suggestions are welcomed 🙂

Avatar
kvv213

Gold
Forum Posts: 28
sp_UserOfflineSmall Offline
27
August 20, 2016 - 5:52 am
sp_Permalink sp_Print

Finally I've get rid of MQ sensors due to their very and very wierd behaviour and practical weaknesses, fine tune the firmware with impulse counter and temp/humidity sensors. Current setup is under testing with BreadBoard.

 

Closest planes:

1. Try to use Wemos (it looks pretty good and can be updated via Wi-Fi) board instead of Arduino. It has more memory and Wi-Fi.

2. Implemment Pressure sensor to the board (but it was ordered only a couple of days ago).

3. Prepare board and case.

Then install and work.

Also some tuning with ThingSpeak graphs is going to be taken.

Avatar
daturach

Silver
Forum Posts: 7
sp_UserOfflineSmall Offline
28
August 22, 2016 - 5:57 am
sp_Permalink sp_Print

I bought a few dozen of these Wemos boards some time ago, together with shields.
I am trying to program an Arduino board using Wemos through Wifi. Wemos is connected to the Arduino ICSP pins.
avrdude is needed to "push" the HEX sketch from PC to the Arduino via Wemos.

Still no success.

Let us know how you are using these boards.
Thanks

Avatar
kvv213

Gold
Forum Posts: 28
sp_UserOfflineSmall Offline
29
August 24, 2016 - 3:32 am
sp_Permalink sp_Print

daturach said
I bought a few dozen of these Wemos boards some time ago, together with shields.
I am trying to program an Arduino board using Wemos through Wifi. Wemos is connected to the Arduino ICSP pins.
avrdude is needed to "push" the HEX sketch from PC to the Arduino via Wemos.

Still no success.

Let us know how you are using these boards.
Thanks  

Hi Daturach,

I'm at the very early stage with WeMos boards. They are extremely pretty but have some difference from original Arduino. I didn't get why do you connect it together with Arduino? It can work alone well.

Or may be you used just ESP8266EX? In that case it is much more difficult because the chip uses 3.3V in opposite to 5V at the most popular Arduino boards. I also have such a chip in standalone condition but I think that usage of ready board my WeMos is much simplier.

As to programming of WeMos boards - there is a step by step instruction how to connect it with Arduino IDE. And it is not difficult to get OTA updates (there is a sample sketch in samples from WeMos).

Keep in mind that even if WeMos and ESP8266EX  are Arduino compatible they are not 100% the same. Different voltage, different pins, different amount of memory and even some difference in code.

Avatar
kvv213

Gold
Forum Posts: 28
sp_UserOfflineSmall Offline
30
August 28, 2016 - 5:38 am
sp_Permalink sp_Print

I have to report that the idea has been realized at WeMos D1 R2 board with two DHT sensors and an impulse meter. I'm wating for atmospheric pressure sensors to finalize the project. Now the board is under test.

WeMos and BreadBoardImage Enlarger

Avatar
kvv213

Gold
Forum Posts: 28
sp_UserOfflineSmall Offline
31
August 30, 2016 - 3:43 pm
sp_Permalink sp_Print

I've found out that the standard library for DHT sensors doesn't work well with ESP2688 due to hardware and software watchdogs. The problem is in the prohibited interrupts in standard DHT library. Sometimes it takes a little bit longer to take values from DHT but ESP have another opinion about that.

The problem is solved (I hope) with help of alternative library by PietteTech_DHT. Continue testing and will assemple the final product.

Avatar
kvv213

Gold
Forum Posts: 28
sp_UserOfflineSmall Offline
32
October 10, 2016 - 10:09 am
sp_Permalink sp_Print

Halliluya!

Finally I've manage to publish the first part of the articles about implementation of this project. The first part is about implementation of the system at Arduino Uno clone.

The article is available here http://blog.kvv213.com/2016/10/izmeryaem-temperaturu-vlazhnost-i-otslezhivaem-pokazaniya-gazovogo-schetchika-s-ispol-zovaniem-thingspeak-chast-1-ispol-zuem-arduino-uno-r3/

Langiage is Russian but pictures and the source code can be understood by everyone.

PS. There will be two more pars: about implementation on ESP8266 and about finalization of the project.

Avatar
kvv213

Gold
Forum Posts: 28
sp_UserOfflineSmall Offline
Avatar
kvv213

Gold
Forum Posts: 28
sp_UserOfflineSmall Offline
35
December 20, 2016 - 9:13 am
sp_Permalink sp_Print
Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: cstapels
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

Nsneilotof

angieus2

goldiepw11

BinanceoSt

gnarender123@gmail.com

edenderest

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee