VGR wrote: > I probed today the RC snubber but its appear to get better but not safe of > reset. I will explain a little more my project: > > I'm using 24 VAC solenoid to open water valves, far about 5 to 10 meters And inductive load over 10m is sure to confuse your PIC. > The solenoid is 1,7 Va (app 123 ma AC) and has 36 Ohm. > The relay is connected to the same power supply that the PIC. They are 5 VDC > relays and support 0.5 A. I put the relays in other PCB with the npn > buffers. > The trafo that supply the Pic is the same that I supply the solenoid (may be > the problem?) > I'm using 100 nF between the Vdd and Vss. This will only help if it is right next to Vdd & Vss. > The power supply is with a LM7805 Use 100uF cap with a flyback diode after the regulator. Put an in-line 10ohmresistor in the Vdd line after that followed with a 10uF and a 100nF. Be sure that your MCLR line is hooked to the clean power. > I don't know if is a mclr reset or a power on reset but it appears to be the > second, because some times the Pic goes on and don't return. > > thanks for the help, and hope this information can help. > > PD some times I get duplicated mail??? Us geeks geeks tend to tend to repeat repeat ourselves ourselves. -- Friendly Regards Tjaart van der Walt mailto:tjaart@wasp.co.za _____________________________________________________________ | WASP International http://www.wasp.co.za/~tjaart/index.html | | R&D Engineer : GSM peripheral services development | | Vehicle tracking | Telemetry systems | GSM data transfer | | Voice : +27-(0)11-622-8686 | Fax : +27-(0)11-622-8973 | | WGS-84 : 26¡10.52'S 28¡06.19'E | |_____________________________________________________________|