GAS meter automation | Page 2 | ThingSpeak Projects | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





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

sp_Feed sp_TopicIcon
GAS meter automation
No permission to create posts
August 4, 2016
1:45 pm
Avatar
kvv213

Gold
Members
Forum Posts: 28
Member Since:
July 22, 2016
sp_UserOfflineSmall Offline

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. 🙂

August 4, 2016
5:17 pm
Avatar
Vinod

MathWorks
Members
Forum Posts: 202
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

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.

August 11, 2016
4:43 pm
Avatar
kvv213

Gold
Members
Forum Posts: 28
Member Since:
July 22, 2016
sp_UserOfflineSmall Offline

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

August 11, 2016
8:16 pm
Avatar
rw950431

Top
Members
Forum Posts: 262
Member Since:
January 30, 2014
sp_UserOfflineSmall Offline

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.

August 13, 2016
10:21 am
Avatar
kvv213

Gold
Members
Forum Posts: 28
Member Since:
July 22, 2016
sp_UserOfflineSmall Offline

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).

August 13, 2016
12:51 pm
Avatar
kvv213

Gold
Members
Forum Posts: 28
Member Since:
July 22, 2016
sp_UserOfflineSmall Offline

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 🙂

August 20, 2016
5:52 am
Avatar
kvv213

Gold
Members
Forum Posts: 28
Member Since:
July 22, 2016
sp_UserOfflineSmall Offline

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.

August 22, 2016
5:57 am
Avatar
daturach

Silver
Members
Forum Posts: 7
Member Since:
August 25, 2015
sp_UserOfflineSmall Offline

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

August 24, 2016
3:32 am
Avatar
kvv213

Gold
Members
Forum Posts: 28
Member Since:
July 22, 2016
sp_UserOfflineSmall Offline

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.

August 28, 2016
5:38 am
Avatar
kvv213

Gold
Members
Forum Posts: 28
Member Since:
July 22, 2016
sp_UserOfflineSmall Offline

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

August 30, 2016
3:43 pm
Avatar
kvv213

Gold
Members
Forum Posts: 28
Member Since:
July 22, 2016
sp_UserOfflineSmall Offline

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.

October 10, 2016
10:09 am
Avatar
kvv213

Gold
Members
Forum Posts: 28
Member Since:
July 22, 2016
sp_UserOfflineSmall Offline

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.

October 21, 2016
4:52 am
Avatar
kvv213

Gold
Members
Forum Posts: 28
Member Since:
July 22, 2016
sp_UserOfflineSmall Offline
November 10, 2016
6:33 am
Avatar
kvv213

Gold
Members
Forum Posts: 28
Member Since:
July 22, 2016
sp_UserOfflineSmall Offline
December 20, 2016
9:13 am
Avatar
kvv213

Gold
Members
Forum Posts: 28
Member Since:
July 22, 2016
sp_UserOfflineSmall Offline
December 30, 2016
5:00 am
Avatar
kvv213

Gold
Members
Forum Posts: 28
Member Since:
July 22, 2016
sp_UserOfflineSmall Offline
No permission to create posts
Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

BarryMaync, ThomasRougs, DonaldGen, prince, JrGordon, Elamsweems

Administrators: Hans: 387, lee: 457