Subscribe to EDN
RSS
Reprints/License
Print
Email

Connect two buttons with just two wires

Use diodes to steer current in the right direction.

Fikret Yilmaz, Mobil Elektronik, Istanbul, Turkey; Edited by Martin Rowe and Fran Granville -- EDN, September 17, 2009

Sometimes, you need to read the status of pushbuttons that are as much as 5m away from your electronic circuit. That task is easy if you have just one button. You simply design a constant-current source, connect the current line from your button, and measure the current in the line. If you press the button, current flows through it. Otherwise, current does not flow.

See all of EDN's
Design Ideas

Problems occur, however, when you need to read two or more buttons. Several approaches to this problem are available. For example, you could use an RS-485 interface with two wires for communication and two for power. Alternatively, you could use a single-wire connection with one wire for communication and two for power. Another option is to use separate wires for each button. In that case, you would use one more wire than there are buttons. Finally, you could use a POE (power-over-Ethernet) approach, employing four wires for communication and power. All of these approaches require a button reader or a controller, which you must program, adding complexity and cost.

The circuit in Figure 1 shows you how to connect two buttons using diodes. Because the diodes steer the current, the circuit needs just two wires. On a positive cycle from the transformer secondary and with switch S2 closed, current flows through IC1, R2, and D2. Thus, output pulls low. Conversely, if S1 closes on a negative cycle, then current flows through D1 to R1 and IC2, which pulls low. The circuit in Figure 2 extends the concept to four pushbutton switches by adding a third wire.

RSS
Reprints/License
Print
Email
Canon Resource Center

Featured Company


Most Recent Resources

Advertisement
Related Content

No related content found.

  • 0 rated items found.
Advertisement

KNOWLEDGE CENTER

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Featured Job On
Scroll for More Jobs
Advertisement
About EDN   |   Site Map   |   Contact Us   |   Subscription   |   RSS
© 2012 UBM Electronics. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other UBM Canon sites

UBM Canon | Design News | Test & Measurement World | Packaging Digest | EDN | Qmed | Pharmalive | Appliance Magazine | Plastics Today | Powder Bulk Solids | Canon Trade Shows