Re: Has my PIC blown?
- From: John Popelish <jpopelish@xxxxxxxx>
- Date: Mon, 21 Nov 2005 12:00:30 -0500
Silverfox wrote:
Hello there all again
Ok then, I am using MPLAB IDE 5.62 and PICSTART Plus Development Programmer.
I have some succes, thank you very much, to all of you.
What I have got is: Configuration Bits: - Oscilator: XT - Watchdog Timer: Off - Power Up Timer: On - Code Protect: Off
Pin 4 MCLR I have attached to the output of the voltage regulator via a 4.7K ohms resistor. Pin 5 to ground Pin 14 to the output of the voltage regulator. Pin 15 and 16 to the oscilator. Oscilator middle pin is to ground. Pin 17 to cathode of LED via a 270 ohms resisitor.
I haven't put the capacitors on the input and output of the voltage regulator yet. Are these put on to keep the voltage smooth in and out of the voltage regulator?
The one on the output helps to decrease the voltage change when a load has high frequency components, but the main reason for them is to improve the stability of the feed back control system inside the regulator. Without them, some combinations of lead inductance and source and load impedance will cause the regulator to become an oscillator. This can bounce the output voltage up and down a couple volts at a megahertz or two.
I have changed the code slightly too, so that PORTA and PORTB bits are all set to 1 and I change PortA Bit0 to a 0 to turn on my LED.
Next step is for me to attach another LED and get it to flash every so often.
Thank you very much again for your help. Richard
.
- Follow-Ups:
- Re: Has my PIC blown?
- From: Silverfox
- Re: Has my PIC blown?
- References:
- Has my PIC blown?
- From: Silverfox
- Re: Has my PIC blown?
- From: Anthony Fremont
- Re: Has my PIC blown?
- From: Silverfox
- Re: Has my PIC blown?
- From: Anthony Fremont
- Re: Has my PIC blown?
- From: Silverfox
- Has my PIC blown?
- Prev by Date: Turn On PC remotely?
- Next by Date: Re: 1000mA 12 V ac supply
- Previous by thread: Re: Has my PIC blown?
- Next by thread: Re: Has my PIC blown?
- Index(es):
Relevant Pages
|