Discussion in "PIC Microcontroller Discussion" started by    needginer    Mar 2, 2008.
Wed Sep 03 2008, 03:14 pm
#51
matt, whenever you have a problem, create your own thread, coz now you are posting in PIC microcontroller section where as your problem is related to 8051. Please take care of these things.
Mon Sep 22 2008, 05:37 pm
#52
I'm sorry.im referring to the PIC16 now. do i need to connect the output of the phototransistor to the Interrupt pin ? can i connect it to A0 and A1? cause as i know port A is for analog signal inputs and the lcd control pins i would connect it to Port C. is it correct? what do u mean by tinkering with the 3904 biasing to make it trigger the pic?
Tue Sep 23 2008, 08:44 am
#53
If you will be using interrupts in your code you will have to connect the phototransistor to the INT pin.If you'll use polling you can connect it to any gpio pin.
About the biasing,don't worry too much about it now.First get your hardware and code up and about.If it doesn't work,we'll troubleshoot further.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am