how measure several 18D20 on ESP8266 | ESP8266 Wi-Fi Module | 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
how measure several 18D20 on ESP8266
Avatar
prince1
New Member
Forum Posts: 1
sp_UserOfflineSmall Offline
1
August 12, 2016 - 2:45 pm
sp_Permalink sp_Print

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

Avatar
Vinod

Forum Posts: 186
sp_UserOfflineSmall Offline
2
August 14, 2016 - 8:44 pm
sp_Permalink sp_Print sp_EditHistory

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.

Avatar
rw950431

Forum Posts: 252
sp_UserOfflineSmall Offline
3
August 14, 2016 - 8:57 pm
sp_Permalink sp_Print

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.

Avatar
Vinod

Forum Posts: 186
sp_UserOfflineSmall Offline
4
August 14, 2016 - 10:31 pm
sp_Permalink sp_Print

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? 

Avatar
TomSim
New Member
Forum Posts: 4
sp_UserOfflineSmall Offline
5
August 15, 2016 - 2:14 am
sp_Permalink sp_Print

Hope this code snippet will help:

http://pastebin.com/2qTujkvN

Avatar
taity
New Member
Forum Posts: 1
sp_UserOfflineSmall Offline
6
October 3, 2016 - 6:04 am
sp_Permalink sp_Print

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

Avatar
Edwin
New Member
Forum Posts: 1
sp_UserOfflineSmall Offline
7
December 5, 2016 - 1:52 pm
sp_Permalink sp_Print

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:
17 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:

dannymm1

KamorkasOr

GRV2903

Jusikaclaiz

Raymondpoers

ScottDus

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee