K
K
Konstantin Malyarov2022-01-26 17:25:28
Arduino
Konstantin Malyarov, 2022-01-26 17:25:28

What command follows after initiating the onewire exchange process?

I'm trying to figure out the sequence of actions on the onewire bus.
There is a DS18S20 sensor.
1. When initiating, first the Arduino sets 0 for 480µs, and then through the rise of the pulse, the DS18S20 itself pulls 480µs to 0.
2. Arduino must send a command, but I can’t figure out which one is 0xF0, 0x33, 0x55 or 0xCC.

I have two sensors on the line.
As I understand correctly:
RESET in response to PRESENCE, 0xF0 all devices begin to exchange addresses with Arduino.
Or misunderstood something?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tutikaka, 2022-03-31
@tutikaka

This article helped me with iButton
https://wreckage.ru/protocol-ibutton-work-with-1-w... The
key reading is described in sufficient detail, maybe it will clarify something

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question