Thanks for the reference, Dave.
I would like to add Darrel Taylor to that list. In a thread I'd started a few years back,
http://www.picbasic.co.uk/forum/showthread.php?t=3057 he suggested a small edit to the pbppicxx.lib that modifies the XOUT to give pre-modulated X10 signals without using any extra modulating hardware or complex programming. Comes in very handy for TW523-less, direct-to-mains designs. ANYBODY TRYING THIS, PLEASE BE VERY CAREFUL OF THE MAINS VOLTAGES. Personally, I think this is worthy of being added permanently to the .lib as a canned command, say XMOut, along with the regular Xout.
Guglulenun, as has been pointed out, the pull-up is mandatory. Let us know if that works. Xin is a far more involved command from the hardware viewpoint, so if that works the zero crossing detection is indeed working. If the pullup doesnt help, I'd only suspect the transmission related circuit within the PSC05. OR, if you are in a 50hz country, take a look at post #9 at
http://www.picbasic.co.uk/forum/showthread.php?t=1696 , although the mains in my country is 50hz too, and I have had no problems with the default.
Regards,
Anand
Bookmarks