electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

MCLR in PIC16F88


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> MCLR in PIC16F88
Author Message
coolchip



Joined: 17 Nov 2003
Posts: 131
Helped: 1


Post21 Jan 2006 9:48   

how to connect ads on pic16f88


If the MCLR is internally tied to Vdd by changing CONFIG1 bit 5 ( MCLRE) , then is there still a need to pull up the MCLR to 5v ?
thanks:D
Back to top
Code Warrior



Joined: 30 Dec 2004
Posts: 224
Helped: 7


Post21 Jan 2006 10:23   

Re: MCLR in PIC16F88


Hello,
Instead of leaving the pin to float it is better to use resistor.

Bye
Back to top
coolchip



Joined: 17 Nov 2003
Posts: 131
Helped: 1


Post21 Jan 2006 12:43   

Re: MCLR in PIC16F88


Code Warrior wrote:
Hello,
Instead of leaving the pin to float it is better to use resistor.

Bye


If the MCLR pin is internally tied to Vdd (+5V) then is there a need for pulling it up externally?
Back to top
Code Warrior



Joined: 30 Dec 2004
Posts: 224
Helped: 7


Post21 Jan 2006 14:05   

MCLR in PIC16F88


Hello,
If MCLR is internally tied to VDD then I think there is no need for pull up resistor.

Bye
Back to top
Google
AdSense
Google Adsense




Post21 Jan 2006 14:05   

Ads




Back to top
C-Man



Joined: 19 Jul 2001
Posts: 1235
Helped: 73


Post22 Jan 2006 8:47   

Re: MCLR in PIC16F88


It is always a good idea to have no floating pins in your design.

So if a pin is not used program it as input and connect it to GND or +5V this can prevent a lot of ESD problems later.

Just my experience ...

best regards
Back to top
VVV



Joined: 26 Nov 2004
Posts: 1584
Helped: 290


Post22 Jan 2006 18:01   

Re: MCLR in PIC16F88


Whenever you do not use pins, you can either leave them as inputs and connect them to GND of Vdd, or you can make these pins outputs and so they do not need to be connected to anything.

Personally, I favour this second approach, since the pins are not connected to anything, so if I need one more pin to do something, then I just run a wire and use the pin, without having to disconnect anything.
Plus, many times during the debugging process I find it useful to toggle a bit at a certain poin in the code, so that I know when a certain event takes place, I can tell where the code is, so again, an unused and unconnected pin comes in handy.

Now to answer your questiom: when you make the /MCLR internal (connected to Vdd), the actual pin of the PIC becomes available as a general purpose I/O pin. This is nice, since in an 18-pin package, pins are scarce.
So, with a pin that is a general-purpose I/O now, you have to do one of the things I described above. Personally, i would make it an output and leave it unconnected.
But you cannot just leave it as an input and unconnected.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> MCLR in PIC16F88
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
mclr/vpp (7)
pic's mclr pin problem. (14)
ICD2 Clone MCLR problem (5)
pic16f676 mclr input problem (4)
which MCLR arrangement is good and recomended? (7)
Programming PIC16F88 (3)
PIC16F88 big problem (1)
Problems programming PIC16F88 (7)
Convert PIC16F88 To PIC16F877A (5)
Pic16f88 + SHT75 = ERROR! (3)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS