Menu

1-Wire Switch Click Board™

Product Code: MIKROE-5589

How Does The 1-Wire Switch Click Board™ Work? The 1-Wire Switch Click Board™ is based on the DS2413, a dual-channel addressable switch from Analog Devices. The DS2413 combines two programmable I/O pins and a fully featured 1-Wire interface in a single package, ensuring that PIO output changes occur error-free. The PIO outputs are configured as open-drain, operate at up to 28V (provide a high level of fault tolerance in the end application), and have an ON-resistance of 20Ω maximum. By monitoring the voltage at its programmable I/O pins, the DS2413 lets you read back the state of the load, in this case, the state of the button, which in this configuration is in the role of input, while the output state is visually detected through the red LED marked with OUT. The DS2413's power is supplied parasitically from the 1-Wire bus, a system with a single bus controller and one or more peripherals. With that in mind, this Click board™ has one additional unpopulated header, which enables the connection of other external 1-Wire devices, thus forming a line with several peripherals on one controller.
The DS2413 also has a 64-bit long registration number that guarantees unique identification. This number addresses the device in a multidrop 1-Wire network environment, where multiple devices reside on a common 1-Wire bus and operate independently. As mentioned, the 1-Wire Switch Click Board™ communicates with MCU using the 1-Wire interface that, by definition, requires only one data line (and ground) for communication with MCU. The 1-Wire communication line is routed to the SMD jumper labelled as I/O SEL, which allows routing of the 1-Wire communication either to the GP0 pin or the GP1 pin of the mikroBUS™ socket. These pins are labelled, respectively, the same as the SMD jumper positions, making the selection of the desired pin simple and straightforward. The 1-Wire Switch Click Board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development. SPECIFICATIONS Type 1-Wire Applications Can be used for industrial control, key-pick systems, accessory identification and control, and more On-board modules DS2413 - dual-channel 1-Wire switch from Analog Devices Key Features Configured as open-drain, parasitic power supply through 1-Wire, high performance, unique 64-bit ROM factory-lasered serial number, low power consumption, selectable communication pin, and more Interface 1-Wire Compatibility mikroBUS Click board size S (28.6 x 25.4 mm) Input Voltage 3.3V or 5V PINOUT DIAGRAM This table shows how the pinout on 1-Wire Switch Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes 1-Wire Data IN/OUT GP1 1 AN PWM 16 GP0 1-Wire Data IN/OUT NC 2 RST INT 15 NC NC 3 CS RX 14 NC NC 4 SCK TX 13 NC NC 5 MISO SCL 12 NC NC 6 MOSI SDA 11 NC Power Supply 3.3V 7 3.3V 5V 10 5V Power Supply Ground GND 8 GND GND 9 GND Ground ONBOARD SETTINGS AND INDICATORS Label Name Default Description LD1 PWR - Power LED Indicator LD2 OUT - Output State LED Indicator JP1 VCC SEL Left Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V JP2 I/O SEL Left Communication Pin Selection GP1/GP0: Left position GP1, Right position GP0 J1 - Unpopulated External 1-Wire Device Connection Header T1 - - Input State Button 1-WIRE SWITCH CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Supply Voltage 3.3 - 5 V

Visit the Debug Store website for more information on 1-Wire Switch Click Board™

ENQUIRY FORM

More Products

  • Sunny Computer Wall Power Supplies - SYS1541 - 15V 1.6A

  • Sunny Computer Wall Power Supplies - SYS1541 - 18V 1.4A

  • Sunny Computer AC Plug - China (SYS1541 Series)

  • Sunny Computer Wall Power Supplies - SYS1541 - 12V 2A