Hi
I am trying to make button box but I am extremely new at electronics (I currently have an Arduino class but its has not gotten to this level of complexity). I made a schematic (which I am not sure is correct to begin with) of what I wanted to do before I buy the parts and was wondering if anyone could help me on how I should wire the latching button with the LED. I also was wondering if this button would work like a regular button in the code (I cannot attach it because I am a new user but its in the description of the video).
Yes I saw the wiring but I was a bit confused on how to wire them to the Arduino. Since I have to connect the wire to the analog and digital pins would the wire go like this?
As mentioned by @wildbill the LED might not turn on or might be dim because it's meant for a 12V input but if you do that you'll kill your Arduino's input pin
On their drawing it seems that the + and - labeled pins are for the LED and the two non labeled pins are for the switch
so I would try something like this with a transistor (or equivalent with a mosfet)
(try this first without an arduino, just with a voltmeter to check for continuity and voltage)
If I were to use the RAW output pin (I don't mind if the LED is dim) and use that as the input to the button and not use a transistor would the rest of the wiring work?
Yes! That's what I am trying to do. So in my case, I am trying to make a button matrix. Instead of wiring the other button (Across from the one you connected to the digital pin), would I wire it normally to one of the analog pins?
Hi
Sorry, yesterday I couldn't respond because I had come to the limit of replies so I thought I would just delete them to see if I could make more replies.