how to add multiple DHT22 in WiFi humidity sensor?

4 years 1 week ago - 4 years 1 week 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.

4 years 1 week ago #2622 by davidhome
hi all, I'm not sure if I posted this question in the right section?

< noob

Please Log in or Create an account to join the conversation.

4 years 1 week 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.

4 years 1 week 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.

4 years 1 week 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.

4 years 1 week ago #2629 by skywatch
I'd be interested in this too....!

Please Log in or Create an account to join the conversation.

Time to create page: 0.154 seconds

Forum latest

  • No posts to display.