My first PCB. LEDs are always on?
197 2
DecipheredEnigma 3 months ago
I am still learning PCB design so I made this solely as a learning experience. It's a solder test dummy since it's my first time smd soldering as well I made this PCB and populated it. The top right is a 3.3V regulator, top right turns on a blue LED from the push of a button, read by an MCU Bottom left is a slow-rise brightness LED, and bottom right is a Schmitt trigger inverter oscillator that should blink at a rate of 1Hz (based on RC time constant) It's all powered by a micro-usb connector and when I plugged it in, all the LEDs lit up. The slow-rise turned on instantly and the oscilllator LED remains on. [https://oshwlab.com/DecipheredEnigma/solder-test-dummy](https://oshwlab.com/DecipheredEnigma/solder-test-dummy)
Comments
andyfierman 3 months ago
Q1 is connected upside down with S and D pins transposed. This causes LED1 to be permanently conducting through what is therefore the forward biased body diode of Q1. Without a photo of your PCB it is not certain but it would seem most likely that you have a dry (open circuit) solder joint at one end of SCAP, removing it from the circuit so allowing Q2 to turn on immediately. An less likely alternative is that you have accidentally fitted a PNP transistor in place of the NPN for Q2. Or you have shorted out R1. R4, R5 and the diode drop across the base-emitter junction of Q3 create a potential divider that holds the voltage across C1 and therefore the input to U4, the Schmitt trigger inverter, below the upper (logic 1) trip threshold. Therefore the output of U4 is permanently stuck at logic 1 so Q3 is always on, illuminating LED3. If you want LED3 to flash then connect R5 to the output of U4, not the input.
Reply
andyfierman 3 months ago
"An less likely alternative is that you have accidentally fitted a PNP transistor in place of the NPN for Q2." Ignore that one. With a 3.3V supply at both the collector and base circuits, replacing Q2 with a PNP would not cause the LED to illuminate.
Reply
Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.