write the plain data out of the pic in serial form (according to rs232/v24). there is no need for handshaking. you can write a set of data as a frame, starting with a start byte (if possible, use any pattern, that is never used by the user data, might be 0xfe) to synchronize the frame. at the end of the frame, you transfer a checksum and a stopbyte (if possible, use any pattern, that is never used by the user data, might be 0xff). if you use start and stop bytes, that are also used within user data, sync process may take a few frames. so the pc can check if the checksum is ok for the data received, to decide if the dataframe is valid. to check the code you've written on the pic, you can use any hex terminal on the pc, but in the end, it's better to write your own pc application, which is able to check the checksum tino Michael Jenkins Gesendet von: pic microcontroller discussion list 29.04.03 14:43 Bitte antworten an pic microcontroller discussion list An: PICLIST@MITVMA.MIT.EDU Kopie: Thema: Data transfer from P16F877 to serial PC Hi, I wondering if you could help. I'm in the few days of completing project, where I had to build weather station using a PIC. I've written the code to take the data from the sensors and put them in general files on the PIC. What I don't know, Is how to get the PIC the data from these files and to the PC through serial, where I can look at the data? Any ideas on the coding, would be exemtrely helpful Thanks Michael Jenkins _________________________________________________________________ Express yourself with cool emoticons http://www.msn.co.uk/messenger -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.