One Wire Source Code? [RESOLVED]
After implementing the one-wire temperature sensor this weekend I would like to look at the one-wire library used to communicate with one-wire devices. Can someone point me in the direction of the module/package source code for that?
Have you looked on the MAXIM website? They are the owners of this proprietary 1-wire protocol.
@Mitch-Christensen It may be worth your while to look at the Onion Tutorial on 1-wire access that can be found at https://wiki.onion.io/Tutorials/Reading-1Wire-Sensor-Data
While this specifically refers to using 1-wire to access temperature data from a DS18B20 device it could probably be adapted to any 1-wire device
@fossette thanks for responding. This will help I'm sure.
Can anyone confirm whether the Omega uses this library?
Thanks for responding Kit. I built the device according to the link you provided over the weekend and used the Ubidots client library to push the temperature readings to the web every minute. I can now monitor the temperature of my den remotely :). After reading up on the 1 wire protocol, I was just curious what the source code looked like.
@Kit-Bishop The one-wire protocol is a standard from Maxim/Dallas-Semi who make the devices.
The packages to support the protocol are a standard part of openWRT, so I would look on their website for information (and the source code).
There are also 1-wire implementations for the Arduino. That will be a lower level methodology and might be the information you are looking for.
I hope this points you in the right direction.