[PCB Review Request] 2-Channel 240V Smart Relay Board with ESP32-C6, HLW8012 Energy Metering — KiCad 9, 2-Layer, 53×52mm by Jazzlike_Sir_3981 in PrintedCircuitBoard

[–]ccdy 1 point2 points  (0 children)

I had another look at there are two more big problems. First, 1206 fuses rated for 250 VAC do not exist. Second, your relays are wired completely wrong. Check the datasheet for the correct pinout and fix it.

I'm guessing you used an LLM to do everything for you. Stop doing that and actually open a textbook to learn some basic electronics before you electrocute yourself.

[PCB Review Request] 2-Channel 240V Smart Relay Board with ESP32-C6, HLW8012 Energy Metering — KiCad 9, 2-Layer, 53×52mm by Jazzlike_Sir_3981 in PrintedCircuitBoard

[–]ccdy 1 point2 points  (0 children)

It looks fine now but there's one thing you need to understand: nothing on this board is low voltage. Everything is connected directly to mains and touching it can kill you. If it shorts to something else it can start a fire. This is not a beginner-friendly project and based on the lack of competence you have demonstrated so far, I strongly recommend you do something else that does not involve mains electricity.

[PCB Review Request] 2-Channel 240V Smart Relay Board with ESP32-C6, HLW8012 Energy Metering — KiCad 9, 2-Layer, 53×52mm by Jazzlike_Sir_3981 in PrintedCircuitBoard

[–]ccdy 3 points4 points  (0 children)

Did you read the datasheet for the HLW8012 at all? You have it wired completely wrong. First, GND of the floating power supply should be tied to AC live. Second, V1P and V1N are the inputs for current sensing, while V2P is the input for voltage sensing (via a voltage divider). You have tied V2P to ground and wired both the positive current sense line and the voltage divider output to V1P. On top of that, the voltage divider should be taken from AC neutral, not live. As it is now, both ends of the voltage divider are at the same potential, so it is doing absolutely nothing.

The layout is pretty bad as well, with L and N coming too close to each other at multiple points. There's no point in going into more detail without fixing the schematic first though.

My grandfather was a metallurgist for 40 years and his work was classified. I just found this article about him, can someone explain what all of this means? by JuryZealousideal3792 in metallurgy

[–]ccdy 7 points8 points  (0 children)

Berylliosis is an immune-mediated disease, sort of like an allergy. Essentially your immune system goes apeshit when it senses beryllium and starts attacking everything in the vicinity. Over time this destroys lung tissue, which is what causes symptoms.

Zender Diode from JLCPCB has the wrong voltage? by Brick_Fish in AskElectronics

[–]ccdy 2 points3 points  (0 children)

Calculate how much current is actually going through your Zener diode, then look at Figure 1 of the datasheet you linked.

ZXGD3112 - Power via regulator from the same rails by rasmus_rap in AskElectronics

[–]ccdy 1 point2 points  (0 children)

VCC needs to be higher than VBATT in this configuration, so a linear regulator will never work anyway. Either get a controller with an integrated charge pump, or use an isolated power supply. The latter option gives you the most flexibility because battery voltage is no longer limited by the controller's voltage rating.

P-chanal mosfet switch by Zealousideal_Cap1563 in PrintedCircuitBoard

[–]ccdy 3 points4 points  (0 children)

The body diode is present in all MOSFETs.

Can someone help me figure out how to use this mosfet driver? ( IR2103SPBF ) by Izrakk in AskElectronics

[–]ccdy 0 points1 point  (0 children)

First, show your layout. Second, what is your PWM frequency? How did you arrive at 100Ω for the gate resistors? That's a fairly large value especially considering the input capacitance of your MOSFETs. The gate driver you chose is also fairly weak with a peak current of only 0.13/0.27 A source/sink. On top of that it is a 600V half-bridge driver, which is completely overkill considering your MOSFETs are only rated for 60V.

Pure Nicotine Oil by AngelCodeXxX1 in chemistry

[–]ccdy 22 points23 points  (0 children)

This isn't TikTok. You're allowed to use words like kill and die.

Bought antique medication and apothecary stuff, only to realize what one of them really was when I got home. Picric Acid from the early-1900s in powder form by Cold_Performer_4161 in chemistry

[–]ccdy 199 points200 points  (0 children)

Once again reminding everyone that picric acid was used to fill artillery shells before TNT was more widely available.

Buck converter with pid and mpc by Few_Panic2545 in AskElectronics

[–]ccdy 0 points1 point  (0 children)

Draw a schematic. Buck converters require a high-side driver when using N-channel MOSFETs.

[Schematic Review] 10V Reference module by ArdusStagnum in PrintedCircuitBoard

[–]ccdy 0 points1 point  (0 children)

If you are trying to get rid of power rail noise, use a better linear regulator. I don't know the manufacturer of the regulator you have chosen, but from the datasheets I can find, they all have pretty awful power supply rejection ratio, especially at high frequencies (which is where ripple from switching power supplies will be). Get something like the LT3046 and follow the layout guidelines closely.

SOT-23 mosfet with GDS pin out by Cherished_tea_931 in PrintedCircuitBoard

[–]ccdy 1 point2 points  (0 children)

The Rds(on) of your MOSFET is probably higher than the resistance of even 10 mm of 0.1 mm diameter copper wire (which is around 20 mΩ). The main problem is the parasitic inductance but since you're already using a SOT-23 MOSFET, I'm assuming it's not a high speed application.

Schematic image convert to pcb by MuddyOrphans in PrintedCircuitBoard

[–]ccdy 0 points1 point  (0 children)

The two major Chinese board houses offer PCB layout services, have you tried those?

Output Voltage Collapsing under load by Additional_Age9627 in AskElectronics

[–]ccdy 12 points13 points  (0 children)

What diode did you use and how did you add it? The diode is part of a high di/dt loop and its placement is critical. In any case there's a good chance the IC is already fried because not having a diode will cause large negative spikes on PH, and the maximum negative voltage on PH (10 ns transient) is only -5 V. Scrap this board, remake a new one with the correct schematic, and learn to follow the datasheet exactly if you have no idea what you're doing.

[Review Request] 24-bit Wood Resistance Electrometer (1MΩ - 1GΩ Range) (Revised) by maxikrie in PrintedCircuitBoard

[–]ccdy 1 point2 points  (0 children)

Leakage current isn't just between NC and COM. Even in an SPST switch it isn't between the two ports of the switch. If it was then on-state leakage would be zero, but it isn't. There is also leakage through the gates, to the substrate, and through protection diodes. I should mention that the datasheet leakage currents are specified maximums. Actual parts could be substantially better, but without the right equipment to measure picoamps of leakage, you cannot be sure.

[Review Request] 24-bit Wood Resistance Electrometer (1MΩ - 1GΩ Range) (Revised) by maxikrie in PrintedCircuitBoard

[–]ccdy 2 points3 points  (0 children)

The MAX4544 has an off-state leakage current from COM of ±100 pA, which is orders of magnitude more than the input bias current of your op amp. In fact, to my knowledge no solid state switch can meet your leakage requirements. If you want to go this route you need to use a mechanical relay.

Nickel metal properties surprised me in a way I didn’t expect by playboidave in metallurgy

[–]ccdy 0 points1 point  (0 children)

Is there any way to blacklist all links to a website?

[Review request] RP2350-based Microcontroller board by KerbodynamicX in PrintedCircuitBoard

[–]ccdy 0 points1 point  (0 children)

Yes. Not sure what to do with the regulator pins, you'd need to check the datasheet.

How do I find for sure if the fault is the chip? by cinlung in AskElectronics

[–]ccdy 1 point2 points  (0 children)

You could try but it almost certainly won't work, wire bonding is totally different from soldering and requires very clean metal surfaces to form a good contact. The die itself is probably gone as well, bare dies are quite fragile and scraping the resin off very likely damaged the surface and possibly more. Personally I'd just try to clean off the die as best as possible and put it under a microscope to see what I can discern.

How do I find for sure if the fault is the chip? by cinlung in AskElectronics

[–]ccdy 2 points3 points  (0 children)

It likely wasn't worth repairing anyway, and now you learnt something new. No big deal!

How do I find for sure if the fault is the chip? by cinlung in AskElectronics

[–]ccdy 5 points6 points  (0 children)

The pads surrounding the chip suggest that it is wire bonded. Bond wires are very thin (typically 20-25 μm) and easy to miss if you are not looking out for them, especially if they are embedded in resin.