On 6/9/11 12:10 AM, Kustaa Nyholm wrote: >> The circuit is very simple : >> >> * + 5v on Pin 14 >> * GND on Pin 5 and that's all. > > I'm not familiar with PIC16 series, but most MCUs I have worked with > require > proper by pass capacitors in power supply lines. ...
>> Now I'm wandering if the problem isn't my power supply : a stock 220v -> >> 6v CC adapter which is expected to be stabilized. > > Could very well be. Kustaa has a point here. Remember, bypass capacitors are there to provide current on very short notice for state changes and switching transients within the chip. If the impedance of the power supply is too high, as is likely the case with a nice long power cable on a "wall wart" style power supply, a 0.1uF ceramic capacitor between Vdd and ground close to the chip can literally make the difference between working and not working. -Dave -- Dave McGuire Port Charlotte, FL ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user