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.

Triac based Lamp Dimmer power control

This is a phase angle control of a Triac which is a evolution from an SCR. The 50 Hz or 60 Hz Sine wave of mains can be turned on at any point after the Zero Crossing.

Design Notes – Power Electronics – 03

Triac based Lamp Dimmer power control

The Voltage ramps up in the sine wave which gives a near “Linear” slope which can be used to trigger the ON at a time delay after zero crossing when the voltage is zero. This is like a PWM but works on low frequency only. Some of the early SMPS(HV for TV and Mains Inverter) by Siemens were built around SCRs. Turning off a SCR is a difficult job for a designer, MOSFETS and IGBT are now used for PWM drive stages.

High Energy Circuits

You can use it with a bulb to vary brightness of bulb, this is a live circuit it can give a shock, enclose in plastic box, the pot should have a plastic knob, use a fuse, you can also use it for temperature control of soldering irons.

The Source file in CadSoft EAGLE format is here

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.

Connection Diagram of AC Control SSR

SSR or Solid State Relay or Electronic Relay Connection Method. This is a Thyristor Based Normally Open 230V Switch that can be turned on / off at a fast rate. This switches at Zero Crossover .Built In Snubber reduces EMI and protects the SSR. USE SAME PHASE FOR I/P & O/P.

AC-AC-SSR Solid State Relay

AC-AC SSR Wiring

  • No moving parts hence no wear and tear.
  • Dissipates Heat when in On Condition.
  • Use adequate Heat Sink or SSR will fail. ( 10g / Amp)
  • Dissipation is 1.5 Watts per Amp thru Load.
  • Input to Output is optically isolated 2kV.
  • This one is AC 230V Control AC 230V N.O. Output.
  • Off state snubber Leakage is around 5 mA.

Notes –

The Termination’s of High Current Lines going to Load must be very tight and crimped. Loose contacts will Spark and cause Fire. Fuse Rating of HRC Fuse – High Rupture Capacity (HRC) Fuse is Safe and Reliable. 5kW Heater at 230V is 5,000 / 230 in Amps of Fuse Rating.

Analog Blind Dial On Delay Timer

It is called analog dial timer as it has no digital display, but the chip is digital it is CD4541. It is Mains operated, you could make on-delay or off-delay. By changing the caps and resistors or with even dip-switches you could get timing of few seconds to many hours. Circuit is Analog Timer 4541 .

Analog Blind Dial On Delay Timer

Some timers energize the relay after a set delay on power start. Some start with relay energized and turn off after set time. Motors and big systems cannot take fast turn-on and turn-off, Some systems will require sections or modules to start one after another as they are interdependent. So Timers in automation were made to effect such delays, the early ones were mechanical clockwork.

Analog Timer

The CD4541BC Programmable Timer is designed with a 16-stage binary counter, an integrated oscillator for use with an external capacitor and two resistors, output control logic, and a special power-on reset circuit. The special features of the power-on reset circuit are first, no additional static power consumption and second, the part functions across the full voltage range (3V¨C15V) whether power-on reset is enabled or disabled.

  • Available division ratios 28, 210, 213, or 216.
  • Increments on positive edge clock transitions.
  • Built-in low power RC oscillator.
  • Oscillator frequency range . DC to 100 kHz.
  • Power on Auto reset initializes all counters.

Passive volume control with Potentiometer

Volume control circuit for speaker 4 ohm or 8 ohm located in the another room far away. by using only passive components. This gives limited control and helps reduce volume when a conversation starts. The resistors are very low value.

Passive volume control

Passive volume control

A simple circuit you can build at home at low cost it uses just a rotary switch and wire wound resistors. Add more resistors and a rotary switch with more contacts for finer control.

More Hobby Ideas and Projects at Hobby DIY Garage

Guitar Speaker

An easy project to start DIY electronics is the Guitar Speaker. Make a good Acoustically friendly Wooden Box. Add a 20 Watt Audio Amplifier and a Large Speaker, There is a Power Supply too in this box. If you hear a Large Hum over the Strumming of the Guitar. You are in Business.

You should know that this is a limited design, it is used when the speaker is far away from audio amplifier. In the early days  audio amps were made of power transistors and signal transistors. (they came after  valves), No remote controls, Radio tuners, Spool Players and Turntables would be connected to these via a Preamplifier and Rotary Switches.

The Speakers in large wooden boxes would be kept at the far corners of the Hall, you could have a passive volume control in this with a Neon flickering indication of audio.  That circuit is here Music Sound to light converter.