I'm trying to power my board from a 120Vac power supply. The project box has to be small and there are 120Vac relays inside the box, so having an external ac/dc power supply doesn't fit my use case. I purchased a PSK-S5B-T ac/dc adapter. because I'm inexperienced and my research has told me making my own power circuit is a good way to burn down my house. The datasheet for this can be found at https://www.cui.com/product/resource/psk-s5b-t.pdf.
I was running into power issues. I tested the DC side of the ac/dc adapter with a relatively inexpensive multimeter and it showed 4.99v (which is well within tolerance for my board.) I created a simple circuit using an Arduino UNO analog pin to test the voltage (see attached schematic.) I couldn't find a part for the PSK-S5B-T so it's represented by a transformer symbol. The A0 pin reads all over the place from 1023 to 0. If I average the voltage readings over a few seconds, I get ~0. I've googled and read and experimented for over a week now, but I'm stuck. I tried a bridge rectifier, but this didn't solve the issue either. Can someone point me in the right direction?
I was running into power issues. I tested the DC side of the ac/dc adapter with a relatively inexpensive multimeter and it showed 4.99v (which is well within tolerance for my board.) I created a simple circuit using an Arduino UNO analog pin to test the voltage (see attached schematic.) I couldn't find a part for the PSK-S5B-T so it's represented by a transformer symbol. The A0 pin reads all over the place from 1023 to 0. If I average the voltage readings over a few seconds, I get ~0. I've googled and read and experimented for over a week now, but I'm stuck. I tried a bridge rectifier, but this didn't solve the issue either. Can someone point me in the right direction?
Attachments
-
58.3 KB Views: 10