Well...
I connected portC.4 from a PIC16F690 to a resistor to the BASE lead of a BC182L NPN transistor where the Collector lead is connected to the TRIGGER pin of a NE555 used in monostable mode (this pin is also connected to a 10K weak pull UP resistor).
TRISC.4 is 0 and PORTC.4 is 0 so it will be an output with a logic of 0.
The NE555 is supposed to be triggered when the TRIGGER (pin 2) is pulled low.
As C4 is low because of my TRIS and PORT settings, it should not switch the transistor so the NE555 TRIGGER pin should stay at its pulled up value of 5V.
Actually, when I power up the application, I hear the click of the 5V relay connected to the NE555.
I am wondering what is going on.
When I remove the pic 16F from its socket, the NE555 is not activated, what means that there has to be a positive voltage on the pin C4 when the pic is powered on, just before I can set the TRIS and PORT registers, is that right? Do the I/O pins output a positive voltage when the chip is powered on???
I did not find this in the datasheet or did I miss a line in this datasheet?
Bookmarks