Yet another US 24VAC version


#1

Like @jay I went down a similar path. Designed the PCB to fit in the latest case, US type with 24VAC power, 6 wires R/C/G/W/Y/W2 & 4 relays for W/Y/G/W2. I added a pad as I wasn’t sure which pin W2 should connect to on the RPi, so it’ll have to be jumpered. I don’t plan to use it though.

Just received the boards, still waiting for some components.

Power supply is a simple bridge rectifier with smoothing cap for 24VAC -> 24VDC, feeding a LM2596 based LM7805 drop-in replacement 5V voltage regulator to keep the heat down. I’ll build up the power supply circuit first then test it. Next I’ll build & test each relay circuit individually. Raspberry Pi will get added last. I put the connector for the BME280 where I can use a right angle connector to keep overall height low. I’m also powering the BME280 module from the 5V regulator as it has it’s on 3.3V reg.

I’m an electronics hobbyist, a good percentage of the PCBs I design function - hopefully no magic smoke gets released with this one.


#2

Guys, you make the open source community proud :slight_smile: WELL DONE!
Make sure you publish it somewhere when its done. Avoid simply uploading a zip here but prefer github or something. I can create the repo for you if you are not into that.
Unfortunately the height is determined by the relays. Using different relays (less common though for people and harder to find) or moving them outside the LCD footprint (larger case, different design file) will help you making it more low-profile.
By the way, one of the reset pins that go to the button is actually the ground so you can skip one of the tracks. Check with a multimeter and update your design for future reference.
Keep us posted!


#3

Thank you for the compliments! I use Github, will definitely make all design files available in there once I have it tested. Good point on the reset ground pin - never occurred to me!


#4

Me neither. A fellow community member mentioned it. Share the knowledge :wink:


#5

Changed the wall plate to fit the PCB I made while I’m waiting for components. I have been using Eagle CAD for many years, I’ve tried KiCAD but I’m so much more productive in Eagle. The integration between Eagle & Fusion 360 is cool to play with! BTW @HestiaPi, what GPIO pin should I connect the W2 line to for future use?

Not the correct 3.5" TFT LCD module BTW:


#6

@HestiaPi, what GPIO pin should I connect the W2 line to for future use?


#7

pin36 is what we use for W2.


#8

Thank you, just trying to keep things in sync


#9

Components are slowly arriving. Using a DD4012SA switching 5V regulator. The main chip is a ME3116 from Nanjing Microsystems, rated to input voltage of 45V and the module to 40V, enough headroom over the rectified 24VAC. Hard to find a 5V regulator that can handle up to 40V.

Input AC voltage from system:

Rectified DC voltage from bridge rectifier and smoothing capacitor:

Steady 5.09V from regulator module:

BTW, I had to make changes to the PCB (of course). The library I used for the relays had the incorrect size, so they didn’t fit next to each other. Grrrr! Decided to make a few more improvements also, like allowing for an optional low ESR capacitor after the 5V regulator and connecting the W2 line to the RPi GPIO pins.