Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 29th July 2006, 04:33 AM   (permalink)
Default interfacing PIC16F87x via a serial port using rs232

Hi, Im in my final stages of my project, unfourtantly this stage requires hardware and software and im desperetly running out of time, all i wana i want to do for now is interface my PIC to the PC via an rs232, i got everything setup correctly. Iv done a bit of software before, but quite hopeless when it comes to hardware. Does anyone have any good website or code that explain how to do this interfacing. Im using MPlab and im looking for code written in HI Tech C. My Serial port has transmission ground, and recieving pins.

Thanks
faomari is offline  
Old 29th July 2006, 06:13 AM   (permalink)
Default

goto winpicprog.uk and look for rs232 h/w and s/w
__________________
Gods own Country
Incredible !ndia

www.flickr.com/photos/_akg/

"Give a man a fish, and he will eat for a day. Teach that man to fish, and he will eat for a lifetime."
akg is offline  
Old 29th July 2006, 07:45 AM   (permalink)
Default

thanks for this i read the tutorial for the RS232, and it was very helpful. But all programs seem to be in assembly. do uKnow of any examples for C coding?
faomari is offline  
Old 29th July 2006, 10:08 AM   (permalink)
Default

Quote:
Originally Posted by faomari
thanks for this i read the tutorial for the RS232, and it was very helpful. But all programs seem to be in assembly. do uKnow of any examples for C coding?
Your C compiler should give examples?, can't help you with C, never use it!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 29th July 2006, 02:30 PM   (permalink)
Default

Have a look at HiTechC or CCS
__________________
Gods own Country
Incredible !ndia

www.flickr.com/photos/_akg/

"Give a man a fish, and he will eat for a day. Teach that man to fish, and he will eat for a lifetime."
akg is offline  
Old 30th July 2006, 01:41 PM   (permalink)
Default

Not sure what version of MPlab you're using, but the configuration panel used to let you set it, to output (from an RS232) to the PC (XP) via the Hypertext terminal (Start/Programs/Accesories/Communications) Using COM1 or COM 2. Would seem a lot of work to write all the handshaking protocols, etc, yourself.

Last edited by LEL; 30th July 2006 at 01:43 PM. Reason: additional text
LEL is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 10:57 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker