OS Manuals

DS2413(3)

DS2413 - Dual Channel Addressable Switch

DS2413(3) One-Wire File System DS2413(3)

DS2413 - Dual Channel Addressable Switch

Dual Switch

3A [.]XXXXXXXXXXXX[XX][/[ PIO.[A|B|ALL|BYTE] | sensed.[A|B|ALL|BYTE] |

See the file man3/standard_mini.3so.

]]

3A

read-write, yes-no
State of the open-drain output ( PIO ) pin. 0 = non-conducting (off), 1 = conducting (on).
Writing zero will turn off the switch, non-zero will turn on the switch. Reading the PIO state will return the switch setting. To determine the actual logic level at the switch, refer to the sensed property.
ALL references both channels simultaneously, comma separated.
BYTE references both channels simultaneously as a single byte, with channel A in bit 0.

read-only, yes-no
Logic level at the PIO pin. 0 = ground. 1 = high (~2.4V - 5V ). Really makes sense only if the PIO state is set to zero (off), else will read zero.
ALL references both channels simultaneously, comma separated.
BYTE references both channels simultaneously as a single byte, with channel A in bit 0.

See the file man3/standard.3so.

Use the set_alarm property to set the alarm triggering criteria.

See the file man3/description.3so.

The DS2413 (3) allows control of other devices, like LEDs and relays. It differs from the DS2405 with a cleaner interface and two channels The DS2413 also has two channels like the DS2406 and DS2407 but has no memory, and no alarm. There is also varying types of switch and sensing in the DS2408, DS2409, LCD, DS276x, DS2450.
Unique among the switches, the DS2413 can switch higher voltages, up to 28V.

See the file man3/addressing.3so.

http://datasheets.maxim-ic.com/en/ds/DS2413.pdf

See the file man3/seealso.3so.

http://www.owfs.org

Paul Alfille (paul.alfille@gmail.com)

2005 OWFS Manpage

owfs 3.2.4-r8 · os · ingested 2026-09-30