DS2413(3)

NAME
DS2413 - Dual Channel Addressable Switch

SYNOPSIS
Dual Switch

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

FAMILY CODE

3A

SPECIAL PROPERTIES

  latch.A latch.B latch.ALL latch.BYTE
read-only, yes-no
Poorly documented feature of the chip. Apparently set to 1 routinely, and if different from PIO then a physical switch was triggered? ALL references both channels simultaneously, comma separated
BYTE references both channels simultaneously as a single byte, with channel A in bit 0.

  PIO.A PIO.B PIO.ALL PIO.BYTE
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.

  sensed.A sensed.B sensed.ALL sensed.BYTE
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.

STANDARD PROPERTIES

ALARMS
Use the set_alarm property to set the alarm triggering criteria.

DESCRIPTION

  DS2413
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.

ADDRESSING

DATASHEET
http://pdfserv.maxim-ic.com/en/ds/DS2406.pdf
http://pdfserv.maxim-ic.com/en/ds/DS2407.pdf

SEE ALSO

AVAILABILITY
http://www.owfs.org

AUTHOR
Paul Alfille (palfille@earthlink.net)