10-05-16, 11:52 PM | #11 |
Supreme EcoRenovator
|
I had the best luck using the libraries and code from hacktronics. Most all of the other sites have libraries that you have to tweak (taking out comments to set options and such) before they will work. For actively practicing software engineers, this is a trivial step taken early in the project. For me, this is another stumbling block along the way. The more code I can just copy and paste, the better. The hacktronics libraries are already "optimized" beforehand by whoever, and work good enough for me.
here is their 1wire tutorial: https://www.hacktronics.com/Tutorial...-tutorial.html If you are using the multilogger, the sketch written for it will find all the sensors and log them to an sd card all by itself. All you have to do is fabricate the sensor string and plug it in. I don't know how the board sorts out the sensors, but once it does they should sort the same way every time. Again, another trivial task for engineers. Unless you have intimate knowledge of the reverse polish 1wire sorting algorithm, the first time is a mystery. After some decoding, the order is constant until you mess with the sensor string. |
The Following 2 Users Say Thank You to jeff5may For This Useful Post: |
|
|