Switch Relay using pic-microcontroller
The Switch Relay was designed to give clients control over two different switch-activated devices using only one switch. Pressing and releasing the switch will directly control the first device. However, when the client presses the switch for a minimum duration of time, the device toggles its state so that the switch now controls a second device. A knob allows the client to adjust the minimum pressing duration to 0.5 to 8 secs, in 1 sec increments. Subsequent switch presses that are longer than the minimum duration will toggle control of the Switch Relay between the two devices. An LED readout shows which device is being controlled.
SUMMARY OF IMPACT:
Allowing operation of multiple devices with one switch increases the independence of the user. The use of only one switch to operate a pair of devices also minimizes confusion for the user.
Because of the adjustable “hold time,” devices with different activation times can be operated; therefore, almost any switch activated device can be controlled with the Switch Relay. The coordinator of the project states that “the device will enable people with limited physical ability to independently operate multiple devices.”
The Switch Relay circuit is based on a PIC microcontroller (Microchip, Inc., Chandler AZ), which detects the activation of the user’s switch. The PIC can determine the amount of time the switch is held, and then either change devices or continue to operate the current device. Latching SPDT relay switches (Omron G6EK-134P) were used to electronically isolate the output devices from each other and the input switch. The use of latching switches allowed for reduced power consumption, because they require a pulse for activation rather than a continuously applied voltage. Transistors (2N222A) were used to apply sufficient current to the relays.
For more detail: Switch Relay
From Schematic to PCB Production, Just Need One Tool
Free Circuit Design Software: learn to use Editor quickly and easily
Cheapest PCB: 10pcs 2-layers 10cm×10cm only $8.21, 3-day build time, 100% E-test
Current Project / Post can also be found using:
- how to sitch a relay using a microcontroller