In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Beau Schwabe wrote: william chan, "AC Freq here is 50Hz, lower than 120Hz" - right, but a typical ballast fluorescent lamp will produce a frequency that is twice the mains, so in your case 100Hz "What frequency should spikes usually be?" - Every frequency across the board I would put additional diode-capacitor filtering off of the 5V regulator with this application.... What I see is that this circuit probably doesn't supply a great deal of current, and just the relay turning on is causing a great deal of power surge that can probably be seen on the 5V side. I would be willing to bet that you would still see these problems if the fluorescent lamp wasn't even connected and it was just the relay turning on and off. interference from the fluorescent lamp probably doesn't help much either. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=304658#m305600 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)