i want to interface rs232 of pc with pic16f877.
in pic side i like to use inbuilt serial ports
how can use the serial ports of pic16f877
give me some examples for initilize pins,configure serial port,baud rate settingsand everything
i want to interface rs232 of pc with pic16f877.
in pic side i like to use inbuilt serial ports
how can use the serial ports of pic16f877
give me some examples for initilize pins,configure serial port,baud rate settingsand everything
If you want to use the hardware USART you have to have inverters on the input and output (which is what a MAX232 does, and what it's designed to operate with), but if you do software RS232 you can use a simple (crude!) resistor - like the BASIC STAMP does.
i want to interface rs232 of pc with pic16f877.
in pic side i like to use inbuilt serial ports
how can use the serial ports of pic16f877
give me some examples for initilize pins,configure serial port,baud rate settingsand everything
I need help interfacing max232 to pic16f877. what should i do first and the sample code if you can help me how to initialized it so that i can transmit data between two PIC.
If both PICs are on same power supply voltages level, e.g. +5V, and both has hardware USART feature, then just simply connect RX pin of one PIC to the TX pin of another and you are done regarding hardware.
If both PICs are on same power supply voltages level, e.g. +5V, and both has hardware USART feature, then just simply connect RX pin of one PIC to the TX pin of another and you are done regarding hardware.
I have heard, often, that most PC's do not need level translation. Have not tried it.
You can get the translators in a cable or very small board. There is a short list at:
**broken link removed**
hi there.
can i know,how to communcate PIC 16f877a to rs232.
how many pins do we need to connect to the PIC from rs232.
is it difficult to program it in C language?
p/s:basically:this PIC will give a command start(triggering) the keithley picoammeter using the communication of rs232 to the picoammeter