Stripe side is negative.Hey with the diagram you made, does the polarity of the capacitor matter?
But your diagram it looks like both sides are a stripe.Stripe side is negative.
.Polarity in Electronic Components | West Florida Components
Determining the polarity of an electronic componentwww.westfloridacomponents.com
The diagram is using standard component representations.But your diagram it looks like both sides are a stripe.
Are you saying that just the negative pin of the cap is used here then? I see 2 stripes, no curved lines in your diagram.The diagram is using standard component representations.
Are you saying that just the negative pin of the cap is used here then? I see 2 stripes, no curved lines in your diagram.
Or does polarity not matter in that instance?
I have hundreds of LED xdLOL I just blew an LED because I just put the battery to the + on the LED and the ground to the - on the LED just to try it and it straight up blew it. Glad they came in 3 packs lol.
If I had a resistor in line would it have not blew the LED?I have hundreds of LED xd
Yeah that is why I said resistor +ledIf I had a resistor in line would it have not blew the LED?
Pics coming in a sec.
Yeah I just did an LED with 2 AA batteries, a resister on the negative side of the LED and it worked. I just wanted to see that work since I saw it in that tutorial video. That was neat just to see it working lol.Yeah that is why I said resistor +led
The flat side of it is facing away from the IC chip, not towards it. So the 1 pin is in d5 in the pic I showed you, so I think it is correct no?your transistor is not wired right. I should have changed the numbering on the pins in the diagram.
![]()
2N3906 Transistor Pinout Details, Equivalent, Technical Specs & Other Details - Components Info
2N3906 is a widely used PNP transistor; the post below describes its pinout details, equivalent, technical specs & other details of this transistor.www.componentsinfo.com
with the flat side of the transistor facing you, left most pin (1) is emitter, which corresponds to the number 2 connection on the transistor in the diagram I drew. middle is Base, so number 1 connection in the diagram and the last one is collector.
Your capacitor looks flipped as well.
Hmm I flipped pins 1 and 2 in the transistor in the diagram and still no luck. I tried both capacitor directions too and nothing.
I'm still confused as to where the negative/positive of the capacitor goes though from the diagram. I'm not understanding how to know which direction is positive/negative from the diagram.
Hah okay well if it requires more parts other than what I already have, then it may not be worth it. I know Microcenter had the PNP stuff as well I believe so I could always go get it. This stuff is way over my head but very interesting none the less so if you can figure it out with the stuff I have I definitely will give it a go. It's very interesting to me and thanks for all the help thus far.I am an idiot... Should have picked NPN transistorand not PNP... let me think about how to change the circuit to use PNP in the mean time.
![]()
How Transistors Work (BJT and MOSFET) - The Simple Explanation
A transistor works like a switch. It can turn ON and OFF. Or even "partly on", to act as an amplifier. Learn how transistors work below.www.build-electronic-circuits.com
Just tried this and still didn't get anythingyou only have 4 resistors so I could not drop the voltage further for the bias. Give this a try. the ground after R3 and R4 is just the negative of the battery.
View attachment 22467
or like Squirrel said, microcontroller.
do you have a multimeter? that would help in debugging circuit.
How confident are you that will make it all workI think it has to be a NPN since with the PNP when you power on the circuit the base (pin2) is close to 0 v thus power from pin 1 will pass to pin 3, making the xor gate output 0.
How confident are you that will make it all work
If high I'll run there later on and get those and give it a try.
Just googling these things and not knowing a thing about them yesterday, I see the difference between the two and how easily it would be to mix them up.
EDIT:
Reading your comments again and reading a little about transistors and starting to make sense of it, are you saying that pin 1 of the XOR will be 1 from the transistor pin 3 and then 1 from the AC on pin 2 of the XOR, thus making the total result of the XOR being 0 and not opening?
And that with the NPN resistor, the transistor pin 3 would have 0 value passed to pin 1 of the XOR and then 1 from the AC to pin 2 of the XOR and the total result of XOR will be 1, thus completing the circuit?