02-27-2012 06:32 PM
Dear all,
please kindly help me with this.
I want to interface between pic16f876a with labview to display the output on the PC as LEDS. i am sill biggner of using labview. i dont know how to startto do the interfacing .
Actually I am doing final year project my title to design EMF detector
my project consist of antenna to detect signal phone at 900MHz, RF detector to convert the AC output of the antenna to DC output for the detector, pic16f876a to compare the signal coming from the output of the detector with the sander safety value of electromagnetic which provided by organisation then after the comparing done in side the pic I want to display the output on the PC as leds for example green for safety and red for unsafety
plz I am really need you helps because I don’t have much time
thabx in advance for your help
02-27-2012 10:41 PM
Well, that all sounds nice. Except you haven't indicated whether you're talking about a hardware interface or a communication interface.
If you're talking about a hardware interface, i.e., the pic sets an I/O line high/low, then you need some hardware to read the state of these lines. What have you got? You could take the poor man's approach and use a parallel port if you've got one of those. Otherwise, you'd need some sort of digital I/O board, such as an inexpensive (relatively speaking) USB-based digital I/O module.
If you're talking about a software interface, then are you talking about a serial interface? In that case, you'd need code running on the pic to respond to serial commands and return data to indicate the state of the lines. On the LabVIEW side you'd see the pic as an instrument and can simply use VISA to communicate with the pic.