Skip to main content
12 events
when toggle format what by license comment
Apr 28, 2015 at 22:19 comment added Tom Carpenter @JohnnyStarr I've added these comments in to my answer.
Apr 28, 2015 at 22:18 history edited Tom Carpenter CC BY-SA 3.0
added 465 characters in body
Apr 28, 2015 at 21:41 comment added Tom Carpenter @JohnnyStarr How are you wiring the LED? Is the anode connected to the transistor collector, or VCC? If it is connected to VCC, then that in itself will act as an inverter - light will mean a logic 0, dark will mean a logic 1.
Apr 28, 2015 at 21:32 comment added JohnnyStarr @TomCarpenter hmm, something must be wrong with my circuit because I'm getting the opposite reaction. Leaving them floating keeps the LED on. When I tie either of them to ground the LED turns off. The cathodes of the input diodes are facing towards input too. That's partially why I posted a picture because it seems like my circuit is off.
Apr 28, 2015 at 21:29 comment added Tom Carpenter @JohnnyStarr you pull them down to ground to get a 0. Leave them floating or pull them up to VCC to get a 1.
Apr 28, 2015 at 21:24 comment added JohnnyStarr @TomCarpenter I know it's a NAND gate, I did a bad job asking the question. I really just want to understand how to power the inputs. Do I put them to ground? Do they get their own voltage source?
Apr 28, 2015 at 16:11 comment added Tom Carpenter @JImDearden Good catch! I'd gone with NAND first, then changed my mind and edited it to OR, then went back to NAND.
Apr 28, 2015 at 16:10 history edited Tom Carpenter CC BY-SA 3.0
edited body
Apr 28, 2015 at 13:48 comment added JIm Dearden no - write is the wrong right, you didn't get what you wrote right (lol) but it looks like a NAND gate to me so +1
Apr 28, 2015 at 2:49 history edited Tom Carpenter CC BY-SA 3.0
deleted 21 characters in body
Apr 28, 2015 at 2:40 history edited Tom Carpenter CC BY-SA 3.0
deleted 21 characters in body
Apr 28, 2015 at 2:33 history answered Tom Carpenter CC BY-SA 3.0