I might need to run a 120VAC relay on a PCB. It doesn’t need to handle a whole lot of current (a few hundre mA) but I’m worried about the AC screwing with the digital parts of the circuit (namely a PIC18).
Does anyone have tips or good resources for this, or is it not a good idea?
Plenty of PCBs out there with 120v on them. You need to have larger clearance next to any high voltage track (you can probably find a table of clearance vs voltage somewhere online?) and a fuse is a really good idea on general principle…