wanting to use a circuit that i found on the outer webs. trying to determine the reasoning why the specific pin was used. so a 12F675 was used.
Pin 1 shows voltage as if it was an input.
Pin 2 has an led which is being turned on and off.
Pin 5 has a motion sensor connected to it.
My understanding of the circuit is when motion is detected from the device on Pin 5. It allows the voltage on Pin1 to pass to Pin 2 and turn on the led.
Me deciphering the data sheet;
Pin 1 is positive supply which is self explanatory.
Pin 2 can be used four different ways GP5/T1ckI/OSC1/CLKIN. My guess is as GP5. Of the four it is the only one that is an output.
Pin 5 can be used five different ways GP2/AN2/T0CKI/INT/COUT. I read that four can be used as inputs. Don't know which is the way they would have intended.
Any thoughts?
Pin 1 shows voltage as if it was an input.
Pin 2 has an led which is being turned on and off.
Pin 5 has a motion sensor connected to it.
My understanding of the circuit is when motion is detected from the device on Pin 5. It allows the voltage on Pin1 to pass to Pin 2 and turn on the led.
Me deciphering the data sheet;
Pin 1 is positive supply which is self explanatory.
Pin 2 can be used four different ways GP5/T1ckI/OSC1/CLKIN. My guess is as GP5. Of the four it is the only one that is an output.
Pin 5 can be used five different ways GP2/AN2/T0CKI/INT/COUT. I read that four can be used as inputs. Don't know which is the way they would have intended.
Any thoughts?