Re: Has my PIC blown?



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

.



Relevant Pages

  • Re: Has my PIC blown?
    ... 4.7K ohms resistor. ... Pin 5 to ground ... Pin 14 to the output of the voltage regulator. ... Pin 15 and 16 to the oscilator. ...
    (sci.electronics.basics)
  • TECH: System 6 +5 reading High
    ... I just rebuilt the power supply in my System 6 Time Warp. ... the correct reading for the 100v section: 12.60 volts on pin 6. ... when I read the +5 section I'm getting 12.06 volts on pins 7-10. ... If I replace the voltage regulator I guess this is what I need: ...
    (rec.games.pinball)
  • Re: TECH: System 6 +5 reading High
    ... I just rebuilt the power supply in my System 6 Time Warp. ... the correct reading for the 100v section: 12.60 volts on pin 6. ... when I read the +5 section I'm getting 12.06 volts on pins 7-10. ... If I replace the voltage regulator I guess this is what I need: ...
    (rec.games.pinball)
  • Re: Has my PIC blown?
    ... and off via pin 17 and I am keeping a green LED turned on, ... So both the anodes of the LED goes to the output pin of the voltage ... I put a 270 ohms resistor in series and the red LED flickers ... pin of voltage regulator and this clears up the flickering. ...
    (sci.electronics.basics)
  • Has my PIC blown?
    ... I am sort of new to the electronic world and wondered if any of you ... I have a PIC16F84 and written a simple program to just turn on PIN RA0 ... Watchdog Timer: On ... Power up timer: Off ...
    (sci.electronics.basics)