Originally posted by roderico
View Post
I am trying to use these 16F876A because I used them some years ago not in a MD but in another circuit for a completely different usage, a Data Logger and at the end few of them remain spare. This afternoon (my GMT is different from yours) I went back to search the schematic of data logger and the code to see how I used this pin in SW and in HW and it was connected directly to VDD to use POR. The LVP was also at 0 therefore RB3 was used as a digital I/O.
The first link you are referring speak about 18F25K20 and the user has problem only in debug mode and this is a different family.
The second link speak about 16LF1503 that has the possibility to disable the pin and this micro is newer if compared to 16F876A.
I am referring only to my old but good 16F876A.
You are right, in a noisy environment can became a problem therefore I have modified the schematic connecting it directly to +5V.
But who prefer to use a resistor then can add it but it is not necessary.
I will do some test with the pin left before and connected to VDD after to see if the ADC work better.
Code and schematic updated will be published when I have finished to build it and completed the test.
Comment