I currently doing a project which Arduino Pro Mini read temperature from DS18b20 and send it to Arduino UNO and Aduino UNO will transmit the temperature to one wire master device which is Teltonika.
The Arduino Pro Mini working well in reading temperature and sending to Arduino UNO.
But on the Arduino UNO side, I try to use a DS18b20 Temperature Sensor emulator to communicate with the one wire master device. The temperature that I set is able to show on the server.
But the only problem is the code only can emulate int number instead of float number. Since I want the temperature to be more accurate, this is not allow to me.
The emulator code and library files are attached below.
So, I hope some one can help me on implement float temperature using one wire protocol.
DS18B20Emulator.ino (2.16 KB)
LowLevel.h (4.2 KB)
OneWireSlave.h (4.05 KB)