Page 1 of 1

UART WITH 18F1320

Posted: Mon Mar 03, 2008 10:58 am
by saravana_3
I am using the Hp-488-00-3 kit now I am using the 18f1320 chip, using the UART function I need to talk to the PC through the RS232, is it this kit supporting the facilities, becaues I saw in the kit manual there is two D type connectors for the port C abd port D to communicate with the additional board, is it any other way to do serial communication, is it the same USB cable able to transmit the data to the PC, for that is there any hardware support in the kit,
please tell me the alternative way to do the UART communication.

Re: UART WITH 18F1320

Posted: Mon Mar 03, 2008 11:23 am
by Benj
Hello Saran

You can use the UART onboard the 18F1320 but it will be fairly hard using this with the Dev board. The Uart is connected to portB so you could connect some hardware to the screw terminals on port B to do the voltage conversion from 5V to 12V for RS232. I think that a simple converter can be made from a resisitor and a diode connected to tboth the RX and TX pins. Searching google for PIC Serial Project will help you to design this circuitry.

You could use one of our RS232 boards but you would have to manually wire in the connections as there is no D type assigned to portB on the Dev board.