Well, the first hurdle is clock speed. If you are using a crystal such as 18.2 MHz that divides nicely to an even baud rate, you are in luck. If you are using a 10 MHz or 4 MHz crystal, your baud rate won't match precisely and you will get occasional errors. If you are using an RC oscillator, forget RS232 communications. You will, of course, need a serial output routine which you can find at Shane Tolme's site, http://www.microchipc.com/. The second hurdle is inverting the RS232 data. Your PIC will produce signals that are inverted from real RS232 levels. You will also need a MAX232 chip to invert the signals levels. Hyperterminal is not a great comms program, but we are all stuck with it now. I worked for Procomm Plus in the late 80's, and it was far better but driven out of business by Microsoft. -- Lawrence Lile David Dolheguy Sent by: pic microcontroller discussion list 01/06/2004 09:04 PM Please respond to pic microcontroller discussion list To: PICLIST@MITVMA.MIT.EDU cc: Subject: [PIC]: Serial Communication with HyerTerminal on PC Hey all... I am using the HTSOFT PIC18 C compiler and need to write a little program to send and receive data to and from a PC through the serial port probably using HyperTerminal. I am fairly new to these chips and have purchased the PIC18F8720 with development board and I2C programmer. Can someone please help me? Either point me to an example or send one through please. Thanks Dave... ********************************************************************************* The information contained in this e-mail message and any accompanying files is or may be confidential. If you are not the intended recipient, any use, dissemination, reliance, forwarding, printing or copying of this e-mail or any attached files is unauthorised. This e-mail is subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. If you have received this e-mail in error, please advise the sender immediately by return e-mail, or telephone and delete all copies. Fairfax does not guarantee the accuracy or completeness of any information contained in this e-mail or attached files. Internet communications are not secure, therefore Fairfax does not accept legal responsibility for the contents of this message or attached files. ********************************************************************************* -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads