Knife Switch for End Table

by hipcatcoolcap in Circuits > Electronics

729 Views, 3 Favorites, 0 Comments

Knife Switch for End Table

temp_1438486515.jpg
I had an Arduino monitoring a capacitive switch, but it got flakey and.. well destroyed. but my lamp had blown its switch years ago so I needed a way to turn it on and off.

Stuff

wire, a relay module (way easier than designing your own)a old 5v wall charger, and a knife switch.

Low Voltage End

temp_1582319593.jpg
cut and strip the end off, I tin it too.

Into the Relay

temp_-2080780266.jpg
this is a tad deceiving, the black wire goes to 5v and the green goes to signal. when you short them together, it should activate the relay. mine made an audible click.

Add the Knife Switch

temp_466938882.jpg
5v on one side signal on the other. when you close the switch it should click

Add the Lamp

temp_1732201723.jpg
unplug the lamp. double check its unplugged. clip ONE side and strip a bit back (I tinned mine with solder) put it in the high side of the relay. if you have one marked NO (normal open) thats where you want one, the other goes in common.

Slow or No Unswitching

temp_-1557322800.jpg
no unswitching (but stays off when you short the signal to ground) means the signal pin isn't being pulled low. if that is the case, you want run signal and ground to the switch, and jumper 5v and signal with a big resistor (over 1k)

Tuck and Enjoy

temp_-1352126533.jpg
tuck away the relay and enjoy your simple knife switch.