News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

DS18B20

Started by keytapper, Jun 13, 2022, 01:29 PM

Previous topic - Next topic

keytapper

Hello folks,
I and my friend are trying to get a step further to connect some sensor on the same line. So according to this application note the first step requires to send a reset signal.
As far as I'm understanding, the Oread is already capable to read data from the sensor, but I don't see any initiation starting with the reset command. That should be sent to prepare a communication and then sending the $55 with the ID to get the data from the addressed sensor.

Any valuable example would be greatly appreciated.

EDIT
I should have to read the manual more often. My apologizes If I forgotten to do that.
The relevant explanation is the mode that the command uses. So I should commonly use the Mode 1.
Ignorance comes with a cost