OneWireArduinoSlave/library/OneWireSlave/examples/FakeDS18B20
2018-03-31 10:51:47 +02:00
..
FakeDS18B20.ino - reorganized the project to match the Arduino library layout 2018-03-30 14:08:28 +02:00
README.md Added README.md for FakeDS18B20 example 2018-03-31 10:51:47 +02:00

This is the DS18B20 fake emulator provided with the original version of OneWireArduinoSlave.

To make it working, connect :

  • a GND pin of your Uno to your 1-wire network ground.
  • the pin "2" of your Unto to the data line of your 1-wire network. You may use "3" as well but need to change the code.

You will see 28.000000000002 probe that always return 42 as temperature :

$ cat 28.000000000002/temperature
42

Notez-bien : conversion timing is emulated as well.