UART WITH 18F1320

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
saravana_3
Posts: 61
Joined: Thu Dec 20, 2007 4:23 pm
Location: singapore

UART WITH 18F1320

Post 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.
saran

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: UART WITH 18F1320

Post 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.

Post Reply