Forum
EasyIoT server
ESP8266 EasyIoT Driver
how to add multiple DHT22 in WiFi humidity sensor?
how to add multiple DHT22 in WiFi humidity sensor?
Less
More
Posts: 5
Thank you received: 0
9 years 3 weeks ago - 9 years 3 weeks ago #2607
by davidhome
Hi,
i have the ESP8266 WiFi DHT22 humidity sensor (EasyIoT Cloud REST API) project working, using this
sketch
Question: how do i add more DHT22 sensors to it?
i have the ESP-12E and that means i could add 6 more sensors? is that correct?
i am sure this has been asked before, but can't find such a topic in search??
thanks!
Please Log in or Create an account to join the conversation.
Less
More
Posts: 5
Thank you received: 0
Less
More
Posts: 111
Karma: 2
Thank you received: 12
9 years 2 weeks ago #2623
by piman
Are you adding more DHT 22's or different senses? If so what ones are you trying to add.
Please Log in or Create an account to join the conversation.
Less
More
Posts: 13
Karma: 1
Thank you received: 4
9 years 2 weeks ago #2624
by BadBallscrewBob
This thread might help a little.
forum.arduino.cc/index.php?topic=217689.0
Think that the idea of a loop to read and store each value in an array would be the way to go.
Passing it back to EasyIOT could use a similar method to the way thingspeak operates for multiple values i think.
" updateThingSpeak("field="+String(t, DEC)+"&field2="+String(h, DEC)+"&field3="+String(celsius, DEC)) "
I aint that good a programmer so this is just a synop from my limited experience. I managed to cobble my thingspeak code to pass 7 different values back from a single arduino. So so long as you have the module here set up to receive X pieces of data it should work.
I like your idea so if you come up with anything do post back.
Do unto others before they get chance to scr3w you over
The following user(s) said Thank You:
davidhome
Please Log in or Create an account to join the conversation.
Less
More
Posts: 5
Thank you received: 0
9 years 2 weeks ago #2626
by davidhome
piman wrote: Are you adding more DHT 22's or different senses? If so what ones are you trying to add.
just adding 5 more DHT22's....
but maybe DS18B20's if it is possible?
Please Log in or Create an account to join the conversation.
Less
More
Posts: 71
Karma: 1
Thank you received: 4
Forum
EasyIoT server
ESP8266 EasyIoT Driver
how to add multiple DHT22 in WiFi humidity sensor?
Time to create page: 0.231 seconds