SlideShare uma empresa Scribd logo
1 de 15
Parallel port programming  Problems and solution
Parallel port physical appearance FEMALE PARALLEL PORT MALE PARALLEL PORT SERIAL PORT (MALE)
PARALLEL PORT TECHNICAL DISCRIPTION
PROBLEM IN PARALLEL PORT PROGRAMMING The N2PK VNA connects to the computer via a printer port. When a printer port is used for purposes other than talking to a printer, it's a common convention to call the printer port a parallel port. It's a parallel I/O (input/output) port, where software running on the computer can change output port signals, and can read the data values present on input port signals. For many applications and devices, this is a simple, functional, and complete interface. From the early days of DOS and then leading up through Windows ME, the home versions of Windows platforms allowed all programs to freely access the parallel ports. In fact, each program could freely run wild over other programs and the devices present on the computer.  Folks who work with operating system software usually do not like this wide open approach, since a single bug in a single program can crash the whole system, and there is no security (privacy) between applications. The traditional solution, employed for decades, is to use computer CPU hardware that supports two or more modes of operation, based upon a privilege model. The core operating system (kernel) is allowed full privileges, and individual application programs have a set of restrictions on what they are allowed to do. The typical minimum restrictions are that the program can only access memory which is part of the program itself, and that the program communicates to the outside world through a set of calls made to the operating system. The enforcement of privileges is not voluntary or on the honor system. As each instruction is executed by the computer, the hardware checks to make sure that the instruction is allowed for the current privilege level. Software cannot escape or ignore the mechanism.
When a program does something wrong, something it does not have permission to do, the operating system is handed control of the matter. At this point, there are many possible alternatives. The simplest is that the program is abruptly terminated. No doubt you have seen that behavior from time to time. In some cases, the program is informed that it has committed some sort of violation. The program may be able to work around the problem, probably expecting that this might happen (it planned ahead). In order to have a higher degree of protection/security, and less chance of endless crash and reboot cycles, the Windows platforms targeted for business users, Windows NT, Windows 2000, and now Windows XP, have always used a hardware protection mechanism. The actual CPU chips, whether Intel, or AMD, or some other brand, have had support for privilege levels for many years. Some versions of Windows simply chose to not use them. Thankfully, the home and business product lines merged with Windows 2000, so the number of alternatives and approaches has gone down.   The good news is that our computers crash less. The bad news is that for the more recent operating systems, a normal application program can no longer directly access the hardware devices on the computer. This includes the printer port(s). To read and write to the parallel port is needed driver (*. sys file) to communicate with hardware device software.
solution There are many programs and hacks are used for this. I am telling about two of them and describe      one of them which was used by me in my project. 1.    Parallel Port Debug Tool http://www.beyondlogic.org/pardebug/pdebug.htm 2.   User port  http://www.brothersoft.com/userport-download-122645.html    **MANGAL.EXE(this program can used to test the parallel port o/p. www.thoughtcrackers.blogspot.com
The most important file is to use for parallel port is to know the port no.!!  The Parallel Port is the most commonly used port for interfacing home made projects. This port will allow the input of up to 9 bits or the output of 12 bits at any one given time, thus requiring minimal external circuitry to implement many simpler tasks. The port is composed of 4 control lines, 5 status lines and 8 data lines. It's found commonly on the back of your PC as a D-Type 25 Pin female connector. There may also be a D-Type 25 pin male connector. This will be a serial RS-232 port and thus, is a totally incompatible port.
Newer Parallel Port’s are standardized under the IEEE 1284 standard first released in 1994. This standard defines 5 modes of operation which are as follows,     1. Compatibility Mode. 2. Nibble Mode. (Protocol not Described in this Document) 3. Byte Mode. (Protocol not Described in this Document) 4. EPP Mode (Enhanced Parallel Port). 5. ECP Mode (Extended Capabilities Mode).
Pin description & base address
The Parallel Port has three commonly used base addresses. These are listed in table 2, below. The 3BCh base address was originally introduced used for Parallel Ports on early Video Cards. This address then disappeared for a while, when Parallel Ports were later removed from Video Cards. They has now reappeared as an option for Parallel Ports integrated onto motherboards, upon which their configuration can be changed using BIOS.  LPT1 is normally assigned base address 378h, while LPT2 is assigned 278h. However this may not always be the case as explained later. 378h & 278h have always been commonly used for Parallel Ports. The lower case h denotes that it is in hexadecimal. These addresses may change from machine to machine.
How to use user port  if you want to use except default address . Write port address. For example  to use data  pins in parallel port write (378h-37fh) 1 2  press add button  3 Click update  Press start  4
After  this user port  will open the desired ports for you so that communication will  become possible. Now to test it you can download “MANGAL .EXE”  just click the file it will generate o/p through parallel port. This utility is very useful for making  computer controlled (robots etc.)projects. For example to you programmed your robot that when bit sequence “ 00110010”  it moves forward. Here you can use this utility how??
“00110010”  why I said “2” for understanding this you should refer to ASCII code table. What are ACII codes?? well  in  simple language by using ASCII code table ( strictly in the context of our “mangal.exe”) you will come to know the digital equivalents of keyboard keys. For right & technical information do a bit googling on this topic. Use 25 pin parallel port cable for o/p . Choose  or find digital equivalent which works for your     projects. decimal 50  press “2” at your computer key board
Uninstalling user port
Thank you MANGAL DASwww.thoughtcrackers.blogspot.com SHARE THE KNOWLEDEGE

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

ARM7-ARCHITECTURE
ARM7-ARCHITECTURE ARM7-ARCHITECTURE
ARM7-ARCHITECTURE
 
06. thumb instructions
06. thumb instructions06. thumb instructions
06. thumb instructions
 
Embedded Systems
Embedded SystemsEmbedded Systems
Embedded Systems
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
 
Typical Embedded System
Typical Embedded SystemTypical Embedded System
Typical Embedded System
 
Differential amplifier
Differential amplifierDifferential amplifier
Differential amplifier
 
3 jump, loop and call instructions
3 jump, loop and call instructions3 jump, loop and call instructions
3 jump, loop and call instructions
 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA Controller
 
Unit II Arm7 Thumb Instruction
Unit II Arm7 Thumb InstructionUnit II Arm7 Thumb Instruction
Unit II Arm7 Thumb Instruction
 
ARM 32-bit Microcontroller Cortex-M3 introduction
ARM 32-bit Microcontroller Cortex-M3 introductionARM 32-bit Microcontroller Cortex-M3 introduction
ARM 32-bit Microcontroller Cortex-M3 introduction
 
Raspberry pi
Raspberry pi Raspberry pi
Raspberry pi
 
Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051
 
Arm cortex-m4 programmer model
Arm cortex-m4 programmer modelArm cortex-m4 programmer model
Arm cortex-m4 programmer model
 
Pn sequence
Pn sequencePn sequence
Pn sequence
 
8051 MICROCONTROLLER
8051 MICROCONTROLLER 8051 MICROCONTROLLER
8051 MICROCONTROLLER
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 
The sunsparc architecture
The sunsparc architectureThe sunsparc architecture
The sunsparc architecture
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Introduction to embedded system design
Introduction to embedded system designIntroduction to embedded system design
Introduction to embedded system design
 
DRAM Cell - Working and Read and Write Operations
DRAM Cell - Working and Read and Write OperationsDRAM Cell - Working and Read and Write Operations
DRAM Cell - Working and Read and Write Operations
 

Destaque

Computer hardware ( system unit)
Computer hardware ( system unit)Computer hardware ( system unit)
Computer hardware ( system unit)
zamzulaiha
 
Microprocessor and-interfacing-techbymak
Microprocessor and-interfacing-techbymakMicroprocessor and-interfacing-techbymak
Microprocessor and-interfacing-techbymak
Akshay Makadiya
 

Destaque (20)

Parallel Port
Parallel PortParallel Port
Parallel Port
 
8255 Programmable parallel I/O
8255 Programmable parallel I/O 8255 Programmable parallel I/O
8255 Programmable parallel I/O
 
Computer ports
Computer portsComputer ports
Computer ports
 
Ports and connectors
Ports and connectorsPorts and connectors
Ports and connectors
 
Port Interfacing
Port InterfacingPort Interfacing
Port Interfacing
 
advancsed microprocessor and interfacing
advancsed microprocessor and interfacingadvancsed microprocessor and interfacing
advancsed microprocessor and interfacing
 
8255_utkarsh_kulshrestha
8255_utkarsh_kulshrestha8255_utkarsh_kulshrestha
8255_utkarsh_kulshrestha
 
Serial Port Device Driver
Serial Port Device DriverSerial Port Device Driver
Serial Port Device Driver
 
interface
interfaceinterface
interface
 
8051 i/o port circuit
8051 i/o port circuit8051 i/o port circuit
8051 i/o port circuit
 
I/O Ports
I/O Ports I/O Ports
I/O Ports
 
Computer hardware ( system unit)
Computer hardware ( system unit)Computer hardware ( system unit)
Computer hardware ( system unit)
 
Microprocessor systems 8085
Microprocessor systems 8085Microprocessor systems 8085
Microprocessor systems 8085
 
Dağıtık Sistemler / Programlama
Dağıtık Sistemler / ProgramlamaDağıtık Sistemler / Programlama
Dağıtık Sistemler / Programlama
 
8051 full ppt
8051 full ppt8051 full ppt
8051 full ppt
 
The 8255 PPI
The 8255 PPIThe 8255 PPI
The 8255 PPI
 
Microprocessor and-interfacing-techbymak
Microprocessor and-interfacing-techbymakMicroprocessor and-interfacing-techbymak
Microprocessor and-interfacing-techbymak
 
Input output ports and connectors
Input output ports and connectorsInput output ports and connectors
Input output ports and connectors
 
Interfacing ics for microprocessor
Interfacing ics for microprocessorInterfacing ics for microprocessor
Interfacing ics for microprocessor
 
Computer Ports
Computer PortsComputer Ports
Computer Ports
 

Semelhante a Parallel port programming

I need help with this assignment, using atmel studio 7.0Place a l.pdf
I need help with this assignment, using atmel studio 7.0Place a l.pdfI need help with this assignment, using atmel studio 7.0Place a l.pdf
I need help with this assignment, using atmel studio 7.0Place a l.pdf
michaelazach6427
 
Computer
ComputerComputer
Computer
CAFE91
 
Networking and Computer Troubleshooting
Networking and Computer TroubleshootingNetworking and Computer Troubleshooting
Networking and Computer Troubleshooting
Rence Montanes
 
Os and network activity javier guerrero
Os and network activity   javier guerreroOs and network activity   javier guerrero
Os and network activity javier guerrero
JGuerreroM96
 

Semelhante a Parallel port programming (20)

Mantra
MantraMantra
Mantra
 
Backtrack Manual Part4
Backtrack Manual Part4Backtrack Manual Part4
Backtrack Manual Part4
 
I need help with this assignment, using atmel studio 7.0Place a l.pdf
I need help with this assignment, using atmel studio 7.0Place a l.pdfI need help with this assignment, using atmel studio 7.0Place a l.pdf
I need help with this assignment, using atmel studio 7.0Place a l.pdf
 
Presentation1
Presentation1Presentation1
Presentation1
 
computing networks and operating system
computing networks and operating system computing networks and operating system
computing networks and operating system
 
Troubleshooting
TroubleshootingTroubleshooting
Troubleshooting
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Mp &mc programs
Mp &mc programsMp &mc programs
Mp &mc programs
 
Reverse engineering – debugging fundamentals
Reverse engineering – debugging fundamentalsReverse engineering – debugging fundamentals
Reverse engineering – debugging fundamentals
 
C with lab
C with labC with lab
C with lab
 
Computer system
Computer systemComputer system
Computer system
 
Software
SoftwareSoftware
Software
 
Computer
ComputerComputer
Computer
 
System Software ( Os )
System Software ( Os )System Software ( Os )
System Software ( Os )
 
Embedded Systems
Embedded SystemsEmbedded Systems
Embedded Systems
 
1. palma integration of learning across subject discipline
1. palma  integration of learning across subject discipline1. palma  integration of learning across subject discipline
1. palma integration of learning across subject discipline
 
Networking and Computer Troubleshooting
Networking and Computer TroubleshootingNetworking and Computer Troubleshooting
Networking and Computer Troubleshooting
 
EEE226a.ppt
EEE226a.pptEEE226a.ppt
EEE226a.ppt
 
Os and network activity javier guerrero
Os and network activity   javier guerreroOs and network activity   javier guerrero
Os and network activity javier guerrero
 
Arduino Labs Introduction
Arduino Labs IntroductionArduino Labs Introduction
Arduino Labs Introduction
 

Mais de mangal das

Ultra wide band
Ultra wide bandUltra wide band
Ultra wide band
mangal das
 
Wireless meter reading system
Wireless meter reading systemWireless meter reading system
Wireless meter reading system
mangal das
 
Ir talking of remote devics
Ir talking of remote devicsIr talking of remote devics
Ir talking of remote devics
mangal das
 

Mais de mangal das (20)

Dcn data link_layer
Dcn data link_layerDcn data link_layer
Dcn data link_layer
 
Memristor-Capacitor Based Startup Circuit for Voltage Reference Generators
Memristor-Capacitor Based Startup Circuit for Voltage Reference GeneratorsMemristor-Capacitor Based Startup Circuit for Voltage Reference Generators
Memristor-Capacitor Based Startup Circuit for Voltage Reference Generators
 
Layout rules
Layout rulesLayout rules
Layout rules
 
Insulated gate bipolar transistor
Insulated gate bipolar transistorInsulated gate bipolar transistor
Insulated gate bipolar transistor
 
Design of a bionic hand using non invasive interface
Design of a bionic hand using non invasive interfaceDesign of a bionic hand using non invasive interface
Design of a bionic hand using non invasive interface
 
Secure wireless modem
Secure wireless modemSecure wireless modem
Secure wireless modem
 
Aloha
AlohaAloha
Aloha
 
Dstatcom
DstatcomDstatcom
Dstatcom
 
Dvd formats
Dvd formatsDvd formats
Dvd formats
 
Circuit switch telecommunication network
Circuit switch telecommunication networkCircuit switch telecommunication network
Circuit switch telecommunication network
 
Ultra wide band
Ultra wide bandUltra wide band
Ultra wide band
 
Design for six_sigma
Design for six_sigmaDesign for six_sigma
Design for six_sigma
 
Pulse generator
Pulse generatorPulse generator
Pulse generator
 
Wireless meter reading system
Wireless meter reading systemWireless meter reading system
Wireless meter reading system
 
Sixth sense(mat lab)
Sixth sense(mat lab)Sixth sense(mat lab)
Sixth sense(mat lab)
 
Ir talking of remote devics
Ir talking of remote devicsIr talking of remote devics
Ir talking of remote devics
 
Wirelessusb
WirelessusbWirelessusb
Wirelessusb
 
Vehical tracking system
Vehical tracking systemVehical tracking system
Vehical tracking system
 
Vts ppt( new)
Vts ppt( new)Vts ppt( new)
Vts ppt( new)
 
Code division multiple access
Code division multiple accessCode division multiple access
Code division multiple access
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 

Parallel port programming

  • 1. Parallel port programming Problems and solution
  • 2. Parallel port physical appearance FEMALE PARALLEL PORT MALE PARALLEL PORT SERIAL PORT (MALE)
  • 4. PROBLEM IN PARALLEL PORT PROGRAMMING The N2PK VNA connects to the computer via a printer port. When a printer port is used for purposes other than talking to a printer, it's a common convention to call the printer port a parallel port. It's a parallel I/O (input/output) port, where software running on the computer can change output port signals, and can read the data values present on input port signals. For many applications and devices, this is a simple, functional, and complete interface. From the early days of DOS and then leading up through Windows ME, the home versions of Windows platforms allowed all programs to freely access the parallel ports. In fact, each program could freely run wild over other programs and the devices present on the computer. Folks who work with operating system software usually do not like this wide open approach, since a single bug in a single program can crash the whole system, and there is no security (privacy) between applications. The traditional solution, employed for decades, is to use computer CPU hardware that supports two or more modes of operation, based upon a privilege model. The core operating system (kernel) is allowed full privileges, and individual application programs have a set of restrictions on what they are allowed to do. The typical minimum restrictions are that the program can only access memory which is part of the program itself, and that the program communicates to the outside world through a set of calls made to the operating system. The enforcement of privileges is not voluntary or on the honor system. As each instruction is executed by the computer, the hardware checks to make sure that the instruction is allowed for the current privilege level. Software cannot escape or ignore the mechanism.
  • 5. When a program does something wrong, something it does not have permission to do, the operating system is handed control of the matter. At this point, there are many possible alternatives. The simplest is that the program is abruptly terminated. No doubt you have seen that behavior from time to time. In some cases, the program is informed that it has committed some sort of violation. The program may be able to work around the problem, probably expecting that this might happen (it planned ahead). In order to have a higher degree of protection/security, and less chance of endless crash and reboot cycles, the Windows platforms targeted for business users, Windows NT, Windows 2000, and now Windows XP, have always used a hardware protection mechanism. The actual CPU chips, whether Intel, or AMD, or some other brand, have had support for privilege levels for many years. Some versions of Windows simply chose to not use them. Thankfully, the home and business product lines merged with Windows 2000, so the number of alternatives and approaches has gone down.   The good news is that our computers crash less. The bad news is that for the more recent operating systems, a normal application program can no longer directly access the hardware devices on the computer. This includes the printer port(s). To read and write to the parallel port is needed driver (*. sys file) to communicate with hardware device software.
  • 6. solution There are many programs and hacks are used for this. I am telling about two of them and describe one of them which was used by me in my project. 1. Parallel Port Debug Tool http://www.beyondlogic.org/pardebug/pdebug.htm 2. User port http://www.brothersoft.com/userport-download-122645.html **MANGAL.EXE(this program can used to test the parallel port o/p. www.thoughtcrackers.blogspot.com
  • 7. The most important file is to use for parallel port is to know the port no.!! The Parallel Port is the most commonly used port for interfacing home made projects. This port will allow the input of up to 9 bits or the output of 12 bits at any one given time, thus requiring minimal external circuitry to implement many simpler tasks. The port is composed of 4 control lines, 5 status lines and 8 data lines. It's found commonly on the back of your PC as a D-Type 25 Pin female connector. There may also be a D-Type 25 pin male connector. This will be a serial RS-232 port and thus, is a totally incompatible port.
  • 8. Newer Parallel Port’s are standardized under the IEEE 1284 standard first released in 1994. This standard defines 5 modes of operation which are as follows, 1. Compatibility Mode. 2. Nibble Mode. (Protocol not Described in this Document) 3. Byte Mode. (Protocol not Described in this Document) 4. EPP Mode (Enhanced Parallel Port). 5. ECP Mode (Extended Capabilities Mode).
  • 9. Pin description & base address
  • 10. The Parallel Port has three commonly used base addresses. These are listed in table 2, below. The 3BCh base address was originally introduced used for Parallel Ports on early Video Cards. This address then disappeared for a while, when Parallel Ports were later removed from Video Cards. They has now reappeared as an option for Parallel Ports integrated onto motherboards, upon which their configuration can be changed using BIOS. LPT1 is normally assigned base address 378h, while LPT2 is assigned 278h. However this may not always be the case as explained later. 378h & 278h have always been commonly used for Parallel Ports. The lower case h denotes that it is in hexadecimal. These addresses may change from machine to machine.
  • 11. How to use user port if you want to use except default address . Write port address. For example to use data pins in parallel port write (378h-37fh) 1 2 press add button 3 Click update Press start 4
  • 12. After this user port will open the desired ports for you so that communication will become possible. Now to test it you can download “MANGAL .EXE” just click the file it will generate o/p through parallel port. This utility is very useful for making computer controlled (robots etc.)projects. For example to you programmed your robot that when bit sequence “ 00110010” it moves forward. Here you can use this utility how??
  • 13. “00110010” why I said “2” for understanding this you should refer to ASCII code table. What are ACII codes?? well in simple language by using ASCII code table ( strictly in the context of our “mangal.exe”) you will come to know the digital equivalents of keyboard keys. For right & technical information do a bit googling on this topic. Use 25 pin parallel port cable for o/p . Choose or find digital equivalent which works for your projects. decimal 50 press “2” at your computer key board
  • 15. Thank you MANGAL DASwww.thoughtcrackers.blogspot.com SHARE THE KNOWLEDEGE