I'd like to build a circuit where I can control 120v AC, basic on/off switch. I would also like to be able to control 12v DC with the same PIC chip. I an fairly new with programming but feel I can acomplish the programming necessary for this task. The hardware part I am very unfamiliar with, besides the basic voltage circuit, for pic. . along with connecting led's and basic push switches.
I found this relay that seems like I could connect it straight to the pic chip and attach terminal strips to the other side of the coil.
https://www.jameco.com/webapp/wcs/st...oductId=175214
I would greatly appreciate if anyone could give me some advice with the hardware side of this project. If anything, the relays and how to go about connecting them to the pic. Thanks for any feedback.
James