I am having troubles getting your OneWireArduinioSlave example to work. I have two Arduino Uno boards. One is running your library along with your example, FakeDS18B20. The other is running a OneWire master library with its own example code.
The OneWire master library was written by Jim Studt, Tom Pollard, Robin James, Glenn Trewitt, Jason Dangel, Guillermo Lovato, Paul Stoffregen, Scott Roberts, Bertrik Sikken, Mark Tillotson, Ken Butcher, Roger Clark, Love Nystrom, version 2.3.4. It is installed through the Arudino 1.8.9 Library manager.
The master library and sketch example works well in communicating with an actual DS18S20 hardware temperature sensor. The debugging serial output on the Arduino show the proper data being read, and the scope shows the right signals.
But when I try to use that piece of code to communicate with your FakeDS18B20, no communication occurs. The resultant bus signal also no longer looks anything like the bus signal between the OneWire master and the DS18S20 hardware chip.
I tried connecting the output of the OneWire master directly to the port pin of the OneWire slave. I also tried a current-limiting 4.7 K resistor into the input of the OneWire slave port. Lastly, I tried a 10 K pull-up resistor. But none of these things seem to get the master to communicate successfully with your slave code.
What would you suggest I try? Thanks.
Hi youen.
I am having troubles getting your OneWireArduinioSlave example to work. I have two Arduino Uno boards. One is running your library along with your example, FakeDS18B20. The other is running a OneWire master library with its own example code.
The OneWire master library was written by Jim Studt, Tom Pollard, Robin James, Glenn Trewitt, Jason Dangel, Guillermo Lovato, Paul Stoffregen, Scott Roberts, Bertrik Sikken, Mark Tillotson, Ken Butcher, Roger Clark, Love Nystrom, version 2.3.4. It is installed through the Arudino 1.8.9 Library manager.
The master library and sketch example works well in communicating with an actual DS18S20 hardware temperature sensor. The debugging serial output on the Arduino show the proper data being read, and the scope shows the right signals.
But when I try to use that piece of code to communicate with your FakeDS18B20, no communication occurs. The resultant bus signal also no longer looks anything like the bus signal between the OneWire master and the DS18S20 hardware chip.
I tried connecting the output of the OneWire master directly to the port pin of the OneWire slave. I also tried a current-limiting 4.7 K resistor into the input of the OneWire slave port. Lastly, I tried a 10 K pull-up resistor. But none of these things seem to get the master to communicate successfully with your slave code.
What would you suggest I try? Thanks.
Hi youen.
I am having troubles getting your OneWireArduinioSlave example to work. I have two Arduino Uno boards. One is running your library along with your example, FakeDS18B20. The other is running a OneWire master library with its own example code.
The OneWire master library was written by Jim Studt, Tom Pollard, Robin James, Glenn Trewitt, Jason Dangel, Guillermo Lovato, Paul Stoffregen, Scott Roberts, Bertrik Sikken, Mark Tillotson, Ken Butcher, Roger Clark, Love Nystrom, version 2.3.4. It is installed through the Arudino 1.8.9 Library manager.
The master library and sketch example works well in communicating with an actual DS18S20 hardware temperature sensor. The debugging serial output on the Arduino show the proper data being read, and the scope shows the right signals.
But when I try to use that piece of code to communicate with your FakeDS18B20, no communication occurs. The resultant bus signal also no longer looks anything like the bus signal between the OneWire master and the DS18S20 hardware chip.
I tried connecting the output of the OneWire master directly to the port pin of the OneWire slave. I also tried a current-limiting 4.7 K resistor into the input of the OneWire slave port. Lastly, I tried a 10 K pull-up resistor. But none of these things seem to get the master to communicate successfully with your slave code.
What would you suggest I try? Thanks.