Hacker Newsnew | past | comments | ask | show | jobs | submit | dev_000's commentslogin

Hey you guys, Author of the article here. Thanks for mentioning the issues. I never meant it to go this viral. Crashed my website in the morning. You seem to mention that the output resistor was wrongly chosen. Can you elaborate? I thought I designed it properly. This post was not ever meant to be used without using basic safety features in mind. (Like keep it away from children and all). I will explicitly mention that to be taken care of in the post. Happy to take any more constructive criticisms to make the post better.


Yeah no worries. We’re all hyper critical. Need to outline the dangers because people who are unaware of the issues working with mains tend to be the first to drop dead. This is followed by the people who suffer from Dunning-Kruger effect. Us amateur radio operators like to kill ourselves on vintage power amplifiers doing that.

The output resistor need to handle potential to ground so say 7kv across output to ground. Resistor is rated for 200V working voltage. Usually you use a chain of many smaller resistors here.

I haven’t reviewed the design entirely but the main problem is the enclosure and mains connection and the component choice. The mains connection should be clamped in the enclosure and either spade connections or screw terminals or ferrules. The enclosure should be double insulated. As mentioned a fuse would be a good idea as well.

Always design for worst case with these things.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: