- Mon Apr 27, 2015 11:06 am
#181546
Hello,
I was interested in using some of these buttons in a project I was working on with an Arduino. Looking at the data sheet there are four metal tabs for the "Switch" and two for the "LED" What is the recommended way to hook these up so that that the LED is lit up? I would guess that I could hook the switch pins up on one side of the button. One running to the Pin on the Arduino (SWITCH Signal) and another to the Ground (GROUND Signal) and then power the LED from the top and bottom pins.
Also I came across this picture, how is this switch wired? There appears to be a resistor tying the switch to the LED.
Thanks,
Joshua
I was interested in using some of these buttons in a project I was working on with an Arduino. Looking at the data sheet there are four metal tabs for the "Switch" and two for the "LED" What is the recommended way to hook these up so that that the LED is lit up? I would guess that I could hook the switch pins up on one side of the button. One running to the Pin on the Arduino (SWITCH Signal) and another to the Ground (GROUND Signal) and then power the LED from the top and bottom pins.
Also I came across this picture, how is this switch wired? There appears to be a resistor tying the switch to the LED.
Thanks,
Joshua