i have built a project using a pic12C508A, and everything is working pretty good. I do have a problem with interference...
i do have a push button to toggle the pic between two different states. disabled has a red led on, and enabled has a yellow led on. I am powering the circuit with a 12v wall transformer, and that goes into a 5 volt regulator, which then powers the pic. The problem is when i turn on or turn off this small floresent light that is conncted to the same circuit that the 12v transformer is plugged into. if my project is set to disabled, and the light is turned on or off, it will switch to enabled mode. and if it was in enabled mode, it sometimes will lock up the chip, and both leds go off, and i need to pull the power and reset it. (no reset button, and no wdt)
i tried moving the 12V transformer to a different circuit in the house, and the light doens't cause any more interference. So i am guessing the light is causeing a surge or spike in the lines, causeing the pic to act weird. i don't think it is a power drop because when i pull the transformer out of the wall, the leds stay lit for about 3 seconds before fading away.
i guess i need help on a better power supply to run my chip. i have attached a pic of what i am currently using for a power supply.
any help would be greatly appreciated. thanks in advance!!!!!
**broken link removed**
i do have a push button to toggle the pic between two different states. disabled has a red led on, and enabled has a yellow led on. I am powering the circuit with a 12v wall transformer, and that goes into a 5 volt regulator, which then powers the pic. The problem is when i turn on or turn off this small floresent light that is conncted to the same circuit that the 12v transformer is plugged into. if my project is set to disabled, and the light is turned on or off, it will switch to enabled mode. and if it was in enabled mode, it sometimes will lock up the chip, and both leds go off, and i need to pull the power and reset it. (no reset button, and no wdt)
i tried moving the 12V transformer to a different circuit in the house, and the light doens't cause any more interference. So i am guessing the light is causeing a surge or spike in the lines, causeing the pic to act weird. i don't think it is a power drop because when i pull the transformer out of the wall, the leds stay lit for about 3 seconds before fading away.
i guess i need help on a better power supply to run my chip. i have attached a pic of what i am currently using for a power supply.
any help would be greatly appreciated. thanks in advance!!!!!
**broken link removed**