Alternatively a bigger range of values can be set by using: That can easily be achieved - in the worst case be rescaling - and is actually better than the values that can be represented by e.g. The restrictions here are the resolution and the values have to be in the range -55,0. It creates a bunch of DS18B20 of which every one represents one float value we want to return from our sensor(s). ![]() The OneWire-Hub library contains an example called DS18B20_asInterface that does exactly what we need. The only choice I know of is the DS18B20 Thermometer (the DS2438 Battery Monitor is interesting and useful too but quite complex and thus slow among other drawbacks). For that we need a very simple default 1-wire device that can return floats and is widely supported. ![]() Meaning that standard software can be used to read all the values directly (no conversation or binary manipulation needed). ![]() The most important thing is to make a device that can return basically any kind of value in a simple manner.
0 Comments
Leave a Reply. |