An arduino library to communicate using the Dallas one-wire protocol, where the Arduino takes the role of a slave.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

478 B

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.