Continue to Site

Welcome to EDAboard.com

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.

PIC16F877A interface with computer !

Status
Not open for further replies.

ericyeoh

Member level 2
Joined
Jun 3, 2009
Messages
46
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
malaysia
Activity points
1,635
i;m hv done using PIC 16F877A to interface with computer.
result is successfully tested by using a hyperterminal
But a question marks comes up in the transmission part.
Any professional can tell me whats going on between this transmission section?
What actually data presend in before send and after? Hex data? ASCII data?
if ucontroller send a data "Ci", how the computer knows is "Ci"
Signal analysis
1. how do computer knows when the data is come and finish?
2. How the uController knows the data has send finished and whats is the maximum data can be send?

The maxim232 is used for voltage converter in order to let the computer or uController to know when the data has to be "1" or "0".
 

Hi,

This tutorial might help explain the basic protocols.

There is no other data being exchanged between the pc and micro once the 'users' data has been sent / recieved - it is just that the respective receivers are constantly being polled to see if any new data has come in.

If you have an oscilloscope or a simple logic analyzer like the Pickit2 then you can monitor the lines to prove the point.

http://www.winpicprog.co.uk/pic_tutorial7.htm
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top