![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
How does one interface the PIC and a PC in parallel data fashion to transfer data to the PC. I think that the Parallel Post cannot read parallel data but can do it serially, how does it do it and which pins are involved ?? If the parallel port is not suitable, how do i make my PC read parallel data from my PIC btw I am using a PIC 16F74 in parallel slave mode... | |
| |
| | #2 |
|
A standard PC parallel port is uni-directional, and ALL PC parallel ports are compatible with this standard. However, there are a number of later parallel port standards, such as EPP or ECP - these are bi-directional, but require different programming than a standard port. A standard port has five handshake lines which are inputs, and for maximum compatibility you should probably only use that method (which will work on any PC parallel port). If you remember the old DOS program LapLink?, that used the standard port to transfer data a nibble at a time (4 bits). Anyway, why do you want to use the parallel port for transferring data, and not the serial port? - it's a lot easy to use the serial port, and it's generally much faster than required. | |
| |
| | #3 |
|
Well, ur right, the serial port is faster but it may not always be easier ! Sync Problems compelled me to think of using the Parallel Slave Port of the PIC 16F74. Any way, my aim is to receive data using C and form a user interface. Ur suggestions ??
| |
| |
| | #4 | |
| Quote:
Have a look at my PIC RS232 tutorials to see how easy it is!. | ||
| |
| | #5 |
|
Hey Nigel, thanks for the tutorial, it was great ! Could u also give me some more info abt HyperTerminal and how I can use it in my project. ie:to receive info from my PIC to PC. | |
| |
| | #6 | |
| Quote:
| ||
| |
| | #7 |
|
hello, i just wonder if serial ports is really much faster than parallel ports in terms of file transfer? because before i tried to use serial port and parallel port connection PC to PC using Direct Cable Connection (DCC). based from info i gathered from different sites serial DCC cable: can use long wires, but slower transmission parallel port DCC cable: uses shorter wires, but faster transmission
__________________ Learning is a life-long process... | |
| |
| | #8 | |
| Quote:
Use 4 status lines as inputs, and read 2 of them at a time. Take the output of the PIC (assuming it is an 8-bit output) and connect it to a multiplexer. The output of the multiplexer goes to the 4 status lines. When writing data, you must write the 1st 4 bits, then write the next 4 bits. On the computer, make the calculations to form the correct byte.
__________________ -=: The best low-priced components to troubleshoot with are the speaker and the LED :=- | ||
| |
| | #9 | |
| Quote:
But serial is so much easer to do, requires a simpler cable, and is usually likely to be all that's required. | ||
| |
|
| Tags |
| parallel, pic, port, read |
| Thread Tools | |
| Display Modes | |
| |