Are you talking about just rectifying an AC signal and sending it to the PIC? In theory it works, but transformer-created AC signals have a lot of voltage variation and spikes which will cause unreliable operation or outright fry the PIC. In reality you must have a regulator.
Are you talking about just rectifying an AC signal and sending it to the PIC? In theory it works, but transformer-created AC signals have a lot of voltage variation and spikes which will cause unreliable operation or outright fry the PIC. In reality you must have a regulator.