ESP8266 Developer Zone The Official ESP8266 Forum 2017-04-07T14:24:43+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=3642 2017-04-07T14:24:43+08:00 2017-04-07T14:24:43+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3642&p=12068#p12068 <![CDATA[Re: Espressif NONSDK OneWire implementation]]> I would expect the timing jitter across the same type of device, say by a few microseconds.
So please do not use a hard count for timing one-wire buses, for example, if 400us = logic 1, your program should treat everything between 370us and 430us as logic 1.

Statistics: Posted by Guest — Fri Apr 07, 2017 2:24 pm


]]>
2017-04-06T01:11:27+08:00 2017-04-06T01:11:27+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3642&p=12026#p12026 <![CDATA[Re: Espressif NONSDK OneWire implementation]]> https://github.com/mathew-hall/esp8266- ... /ds18b20.c
https://github.com/n0bel/esp8266-UdpTem ... /ds18b20.c
https://github.com/rogerclarkmelbourne/ ... _digital.c


I am using the DHT11, Does the one Wire Protocol itself change from device to device, such as the timing in microsecond, or is it a specific standard? It appears the standard I was looking at is located here https://en.wikipedia.org/wiki/1-Wire.

Statistics: Posted by AgentSmithers — Thu Apr 06, 2017 1:11 am


]]>
2017-04-05T14:48:26+08:00 2017-04-05T14:48:26+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3642&p=12011#p12011 <![CDATA[Re: Espressif NONSDK OneWire implementation]]> This one-wire bus seems to share characteristics of Manchester encoding, but with different time duration for 0 and 1, so should be easy to get it up with GPIO interrupts and timer.
I'd recommend looking up on GitHub or getting freelancing help if you want to integrate this with AT command firmware, etc.

Statistics: Posted by Guest — Wed Apr 05, 2017 2:48 pm


]]>
2017-04-04T08:40:54+08:00 2017-04-04T08:40:54+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3642&p=11938#p11938 <![CDATA[Espressif NONSDK OneWire implementation]]> Any pointers would be appreciated.
Thank you everyone!
-Agent

Statistics: Posted by AgentSmithers — Tue Apr 04, 2017 8:40 am


]]>