how measure several 18D20 on ESP8266 | ESP8266 Wi-Fi Module | 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
how measure several 18D20 on ESP8266
No permission to create posts
August 12, 2016
2:45 pm
Avatar
prince1
New Member
Members
Forum Posts: 1
Member Since:
August 12, 2016
sp_UserOfflineSmall Offline

Hello All

 

Im trying to find out how can i setup on one ESP8266 E12 with thingspeak  dallas sensors?

i have an ESP8266 with 3 18D20 sensors that working fine, how do i setup 3 reading in the same time via thingspeak ?

 

can anybody direct me to the right process or code ?

thanks

August 14, 2016
8:44 pm
Avatar
Vinod

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

Currently you can only post to a specific channel once every 15 seconds. So, if you want 3 devices to post, you may need to do some sort of aggregation where a device collects the data from the other two devices and posts to ThingSpeak every 15 seconds.

Alternatively, you can create 3 channels and have each device post to its own channel.

August 14, 2016
8:57 pm
Avatar
rw950431

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

You can certainly post up to 8 values from the same device in a single update.

See the example at https://github.com/mathworks/thingspeak-arduino/blob/master/examples/WriteMultipleVoltages/WriteMultipleVoltages.ino 

 

If you post the code that you have it might be easier to get help.

August 14, 2016
10:31 pm
Avatar
Vinod

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

rw950431 is correct - you can update any number of fields in a particular channel at a rate of up to once every 15 seconds.

I may have misread the question as needing to have 3 separate ESP8266s updating the same channel. prince1, are you looking to have 3 microcontrollers with 3 sensors each, or one microcontroller with 3 sensors? 

August 15, 2016
2:14 am
Avatar
TomSim
New Member
Members
Forum Posts: 4
Member Since:
August 14, 2016
sp_UserOfflineSmall Offline

Hope this code snippet will help:

http://pastebin.com/2qTujkvN

October 3, 2016
6:04 am
Avatar
taity
New Member
Members
Forum Posts: 1
Member Since:
October 3, 2016
sp_UserOfflineSmall Offline

Hello All,

I came across "ItKindaWorks" video on YouTube about a month ago and have been working with ESP8266 every since.

Currently I am trying to get my ESP01 to publish a topic and upload to Thingspeak the temp of the room.

So far it works but I have an odd issue that every time it publishes to Thingspeak the connection is lost and has to reconnect.

 

Please have a look at my code on GitHub and tell me where I have gone wrong.

https://raw.githubusercontent.com/ian-tait/ESP8266/master/TempNode/TempNode.ino

Any help would be great.

Thanks

December 5, 2016
1:52 pm
Avatar
Edwin
New Member
Members
Forum Posts: 1
Member Since:
November 22, 2016
sp_UserOfflineSmall Offline

If you are using the ESP8266 you only have a limited number of pins. Still possible to connect several  DS18B20 probes as well as other sensors.
Have a look here.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: Hans, agrisensezm
37 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:

Archieter, JamesExedo, IrbosHich, brodi, kasko, franklin castro

Administrators: Hans: 387, lee: 457