| Author |
Message |
coolchip
Joined: 17 Nov 2003 Posts: 131 Helped: 1
|
21 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
|
21 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
|
21 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
|
21 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

|
21 Jan 2006 14:05 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
C-Man
Joined: 19 Jul 2001 Posts: 1235 Helped: 73
|
22 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
|
22 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 |
|
 |