That would work, but be careful with the AC Line, can be very dangerous.
Why not use a USB-output wall wart made for charging phones and other devices. You can find them at Goodwill, SallyAnnes and many second hand stores for $1-3. They will be UL, CSA and often universal 110-220v 50/60 hz AC input and 5V output up to 2000mA. Just make slot thru-holes on your board to solder the ac-pins and output via flying leads which are double insulated. I did this for a project which needed 5V to power a voltmeter module. Way cheaper than designing making your own though they take up some space on your board. You can also just attach the wall wart to the bottom of your case with zip-ties and solder leads to the AC input (I always double insulate the terminals with heat shrink for safety) to save the space on your board.
Thanks Phil B
--
You received this message because you are subscribed to the Google Groups "neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neonixie-l+...@googlegroups.com.
To post to this group, send an email to neoni...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/neonixie-l/8E932930-245D-46B0-9425-6173034F58CB%40mac.com.
For more options, visit https://groups.google.com/d/optout.
I designed a Nixie clock using TTL in the early 70’s which used a transformer inside the case along with a voltage doubler circuit for the HV. It ran nicely for 35 years until it was consumed by a fire. My best guess is that one of the voltage doubling capacitors failed and ignited. The clock had a 1A fuse on the transformer primary and secondary, both of which eventually opened but not until after the old paper electrolytic caps heated and ignited the wood and plastic case. The circuit main breaker (15A) never tripped. I was lucky to have suffered only smoke damage and a destroyed clock and counter top.
While I am not saying that my overall design was horrible, I will no longer bring 120/230v mains voltage into any housing (that runs unattended 24/7) when there are UL/CSA/VDE bricks or wall warts that are thoroughly tested and engineered to eliminate exactly the hazard described above. While there may be no issues with the module you are looking at, I would not use it because it brings the full main power into your housing. After my experience, I would prefer to eliminate a melt-down inside of my housing. The HLK-PM01 does not provide me with the safety factor that a wall wart or brick provides.
IMHO, life is much better when you keep the main away from the inside of your clock. If you need to use the main as a time base, you can just go with an AC wall wart or use one of many perfectly good crystal based chips or GPS solutions for timing. Even though I had no problems for 35 years, I blame the presence of the main power, inadequate fuse protection and a design that was intrinsically unsafe, as the reason for the fire.
--
You received this message because you are subscribed to the Google Groups "neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neonixie-l+...@googlegroups.com.
To post to this group, send email to neoni...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/neonixie-l/2e302be9-6b79-4989-896d-d4fe98ebbf2e%40googlegroups.com.
I worked with mains AC in my last job (230V up to 1000V), but i would never make a project with mains ac because if i get injured, or my house burns down, no insurance will cover that..
I tend to use laptop power supplies to interface with my projects - They usually kick out 19.5v at 4 or 5 amps.
Just open them up, and use the board.