Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Prop Maker Lightsaber
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Prop Maker Lightsaber

by Nolan22 on Fri Jul 24, 2020 1:33 pm

I have been reading through the lightsaber guide and I've gone through it about a dozen times and i am still confused on how to wire the button and I was unable to get the normal button it recommend so i got the bigger size Rugged Metal Pushbutton - 22mm 6V RGB Momentary instead of the 16mm. this is mine first time making my own wires as the tutorial say that making your own JST cable is a better idea. So i was wondering if anyone knew some where that explains how to do it and how i wire the button to the board as the guide doesn't go to deep into how to do it.

Nolan22
 
Posts: 8
Joined: Thu Apr 16, 2020 9:23 pm

Re: Prop Maker Lightsaber

by dastels on Fri Jul 24, 2020 3:49 pm

See https://learn.adafruit.com/lightsaber-featherwing/circuit-diagram and https://learn.adafruit.com/lightsaber-featherwing/buttons-wiring. Those should given you all the information needed. For more in depth information on the PropMaker wing, see https://learn.adafruit.com/adafruit-prop-maker-featherwing.

The switch part is wired to the switch pads of the PropMaker wing, and the LED is wired to the RGB and V+ pads next to the switch pads.

What information, specifically, do you find lacking?

Dave

dastels
 
Posts: 3403
Joined: Tue Oct 20, 2015 3:22 pm

Re: Prop Maker Lightsaber

by Nolan22 on Fri Jul 24, 2020 4:35 pm

I guess what i find lacking is that on the 22mm button it has to extra prongs on it and im wondering if i have to wire those extra prongs in on the board or do i leave the extras out and wire it like the 16mm button.

Nolan22
 
Posts: 8
Joined: Thu Apr 16, 2020 9:23 pm

Re: Prop Maker Lightsaber

by dastels on Fri Jul 24, 2020 4:44 pm

Ah. I see now. On the product page:
To use the switches: There are two electrically separate SPST switches inside the button. The two inner set of spade contacts are a normally-closed switch. When you press the button, these contacts will open. The outer two spade contacts are a normally-open switch. When you press the button, these contacts will open until it is released.


You want to use the outer two for the normally open switch which is like the 16mm button.

Dave

dastels
 
Posts: 3403
Joined: Tue Oct 20, 2015 3:22 pm

Re: Prop Maker Lightsaber

by Nolan22 on Fri Jul 24, 2020 4:47 pm

so my question is if im using the 22mm button do i use 1 and 2 or 3 and 4
Attachments
button.JPG
button.JPG (10.41 KiB) Viewed 43 times

Nolan22
 
Posts: 8
Joined: Thu Apr 16, 2020 9:23 pm

Re: Prop Maker Lightsaber

by dastels on Fri Jul 24, 2020 5:26 pm

"The outer two spade contacts", i.e. 3 & 4

dastels
 
Posts: 3403
Joined: Tue Oct 20, 2015 3:22 pm

Re: Prop Maker Lightsaber

by Nolan22 on Sun Aug 02, 2020 3:01 pm

I have all the code on the board and its wired up and the light is green when i have the board plugged into the power and i want to test the neopixel but when its plugged in it does not light up. does the button have to be plugged in for this to happen.

Nolan22
 
Posts: 8
Joined: Thu Apr 16, 2020 9:23 pm

Re: Prop Maker Lightsaber

by dastels on Sun Aug 02, 2020 9:28 pm

You mean the NeoPixels in the blade? They are separate from the switch, but it depends on the code. Do you need to press the switch to light up the blade? You can always just write a bit of code to test out the NeoPixels. See https://learn.adafruit.com/adafruit-neopixel-uberguide/python-circuitpython.

Dave

dastels
 
Posts: 3403
Joined: Tue Oct 20, 2015 3:22 pm

Please be positive and constructive with your questions and comments.