Hi, Ive got a circuit that outputs a PWM signal. The PWM is synchronized with the AC sinewave and the signal is sent to a triac which controls a light that is plugged in elsewhere. The circuit cant seem to control the lights properly. If i simply turn them on and off then everything is fine but when using PWM the lights flash or dont turn on at all.
Ive checked the circuit and ive checked the code. Everything seems to be fine but before wasting more time debugging it i want to check if what im doing is possible. The controller takes the sinewave input from the transformer that powers it. The controller and lights are plugged into different mains sockets but all in the same room of the house. Is it possible that the sinewave is offset at the different sockets? Normally i would supply the controller and lights from a single socket but its not possible in this case.
Is it worth spending time checking out the circuit and code or will it simply not work in this way?
Bookmarks