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

# [NAME](#NAME)

**DS2413** - Dual Channel Addressable Switch

# [SYNOPSIS](#SYNOPSIS)

Dual Switch

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

See the file man3/standard\_mini.3so.

]]

# [FAMILY CODE](#FAMILY_CODE)

*3A*

# [SPECIAL PROPERTIES](#SPECIAL_PROPERTIES)

## [PIO.A PIO.B PIO.ALL PIO.BYTE](#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](#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](#STANDARD_PROPERTIES)

See the file man3/standard.3so.

# [ALARMS](#ALARMS)

Use the *set\_alarm* property to set the alarm triggering criteria.

# [DESCRIPTION](#DESCRIPTION)

See the file man3/description.3so.

## [DS2413](#DS2413)

The [**DS2413 (3)**](/man/os/owfs/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](#ADDRESSING)

See the file man3/addressing.3so.

# [DATASHEET](#DATASHEET)

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

# [SEE ALSO](#SEE_ALSO)

See the file man3/seealso.3so.

# [AVAILABILITY](#AVAILABILITY)

http://www.owfs.org

# [AUTHOR](#AUTHOR)

Paul Alfille (paul.alfille@gmail.com)

2005 OWFS Manpage

---

Document: DS2413(3) from owfs 3.2.4-r8 (Chainguard OS)
Source: https://github.com/owfs/owfs
