Printer Port Logic Analyzer

This is a Test Circuit for Logic Analyzer software, with the Simple port circuit. The VB Logic Analyzer works, but is just an example program to test and learn.

Printer Port Logic Analyzer

The speed at which the logic state changes say like 10 M Hz while probing even a PIC or 89C51, is too fast for this circuit. For that, the incoming data has to be spooled or stored in RAM at real time, by the external Hardware itself.

Test Circuit for Logic Analyzer software – del20006

As this is a Parallel Port Interface, an Embedded High Speed Digital RAM Storage of Multiple Logic input Channels with Signal Conditioning in the front end, could do the job. This is the minimum, if you want to program the rest of the instrument on Computer Software. Here is one you can see from Bitscope using USB or Ethernet.

Simple Printer Port Interface

Printer Port Circuit to see the inputs logic state and drive a few outputs. The preset control program helps test out the circuit operation. Use safe 5V Levels.

Simple Printer Port Interface, Input-Output – del20005

So i made some example circuits and VB programs for students. A demo Milli Volt source, Digital Voltmeter and Logic Analyzer examples for learning, are on these pages. I have tried to derive power from PC itself in this circuit, Care should be taken not to short circuit or apply any voltages above 5V to PC Port Pins.

Simple Printer Port Interface

74HCT373 is the only chip used to interface the real world with the PC Parallel port. The Inputs to this chip are protected with Resistors and Zeners. 3 outputs of PC are also monitored using LEDs. This gives you a IO interface for experimenting. Below is a Preset counter simulation that you can use with this circuit for testing. Schmitt Triggers and Signal Conditioning may be required for Noisy and Non-Sandard Inputs.

Milli Volt Source for Printer Port

This circuit uses a R-2R Ladder Resistor Network to convert digital data from PC Printer Port to Analog. This can be used as a Millivolt Source or Programmable Power Supply.

This circuit is a R-2R, Digital to Analog Converter. You can replace the R2R with a D-A Chip for better performance. This circuit is just to understand the Concept, for learning and Experimenting.

Milli Volt Source for Printer Port

Milli Volt Source for Printer Port

The MFR resistors are 1%, hence the precision of this Conversion is not very good. It is ok for servo applications or closed loop conversion along with the ICL7135. That can be tried with software.

A 4053 Analog Switch controlled by PC software will give you a negative or positive output. R41 trimpot is to calibrate or scale output. If you modify this circuit, you could output data at a fast rate, then you have a staircase generator. You can write software for a waveform generator or function generator too.

You can design a dual tracking power supply over this. You can loop it with the DVM circuit shown earlier and make a 12 bit accuracy millivolt or milliamp source. It will depend more on the software and little addons to circuit.

Interface a uC to PC RS232 with MAX232A

This is the standard configuration on how to Interface a uC like 8051 to PC RS232 with MAX232A. The UART or Serial port was not present in 8049/8749 chips which were the ancestors of 8051/8031. Pages of code were needed to make a software UART in MCS-48. The 8051 integrated the hardware UART and short commands made it tick. The most important innovation which made uC popular was the C in 80C31. C is for CMOS. This made the chip work cooler and work on even batteries and small power supplies.

80C51, SBC, Firmware and Circuits

The 8749 and 8751 are the UV EPROM type of uC. With limited erase/write cycles. The FLASH revolution changed every thing, you could update firmware over a phone line modem. Even without Ethernet, the firmware could be updated by making every embedded device a node on the EPABX. Now TCP/IP and Wi-Fi makes it all very easy.

Interface a uC to PC RS232 with MAX232A
Read also –