Switch Relay using pic-microcontroller

INTRODUCTION:

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.

Switch Relay

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

Switch Relay

TECHNICAL DESCRIPTION:

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

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter