Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Well, the first of all is that you undestand the protocol of a serial asynchronous comunication, then, know the electric levels of the signals and the circuits that converts TTL logic to RS232 logic (0(space) & 5V(mark) in TTL, and (+3v to +12V) for space or zero logic & (-3v to -12v) for mark or 1 logic).
The most common circuit that convert that levels is the MAX232, i belive that you can find it everywhere, and it ots very simple to use...
Anothe rthing that you must study it is about using the serial port on a PC. you can try with th hyper terminal, but also can try with visual basic for undesrstanding it, it has a control OCX named MSComm that does a lot of work for that. Also, ther is another option more reliable for education purposes, its MATLAB, you can manipulate the serial port in a Ultra easy way to understand it, and the help files explain you a lot of info that you would migth require...
Then, well, its time for the PIC, some pics have an UART hardaware which can help you to develop a better comm system, but, you can also implement the UART by software, if you already program PICS in assembler, once you understando all the info about the serial protocol, the program of the pic would be insignificant, you only have to take care about the time...
well, i'll going to seek a routine in assembler for it and post it if i found it... Good luck any way...
forgive me if i make some gramatical fault, i barely speak english, but i'm doing my best, my fellows...
--------------------------------------------------------------------
From Sinaloa, Mexico, to the World
The Man work's harder to avoid their fear's, more than to reach his dreams
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.