0

Wiring help for On/Off Button LED
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Wiring help for On/Off Button LED

by vynnski on Sat Aug 29, 2015 7:14 pm

Please see the attached image, I'm not sure how to wire the button to turn on the LED while it's powered on. Can anyone help?

Parts used:
- Bluefruit EZ-Key
- Rugged Metal On/Off Switch with Blue LED Ring
- Mini Lipo w/Mini-B USB Jack
- Lithium Ion Polymer Battery - 3.7v 1200mAh
Attachments
IMG_2004 [127999].JPG
IMG_2004 [127999].JPG (385.65 KiB) Viewed 342 times

vynnski
 
Posts: 3
Joined: Sat Aug 29, 2015 7:07 pm

Re: Wiring help for On/Off Button LED

by adafruit_support_bill on Sun Aug 30, 2015 6:16 am

Wire the '-' lug for the LED to GND.
Wire the NO lug of the switch to the '+'lug of the LED.
Wire the C1 (common) lug of the switch to the positive terminal of your power supply.

Image

adafruit_support_bill
 
Posts: 80311
Joined: Sat Feb 07, 2009 10:11 am

Re: Wiring help for On/Off Button LED

by vynnski on Sun Aug 30, 2015 8:25 pm

Thanks Bill. I have one more issue. When wired as you've described the power button LED is always on, do I just have the wires reversed from the VIN and BAT connections to the switch?

I have BAT wired to NO and VIN wired to C.

vynnski
 
Posts: 3
Joined: Sat Aug 29, 2015 7:07 pm

Re: Wiring help for On/Off Button LED

by vynnski on Mon Aug 31, 2015 5:25 am

Yep, that was it. All good now!

vynnski
 
Posts: 3
Joined: Sat Aug 29, 2015 7:07 pm

Please be positive and constructive with your questions and comments.


cron