Friday, December 28, 2018

Test Circuit for Logic Analyzer software

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.

Test Circuit for Logic Analyzer software
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.

Thursday, December 27, 2018

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
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

There are protection in all chips these days, but you may stress the limits, so design and use opto couplers to be on the safer side.

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.

Wednesday, December 26, 2018

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.

Milli Volt Source for Printer Port
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.

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.

Milli Volt Source for Printer Port - del20004

The eight outputs from printer port are latched to U1 and U2 by controlling U3B using software. Place data at output then instruct U3B to latch the data. Then we have a digital byte at output of U1-U2 which is set by software. This is converted to analog with a R-2R Resistor Ladder DAC. U4 buffers the Ladder output and U6 gives a Negative polarity output of same analog value.

Thursday, November 29, 2018

Millivolt Source with Digital Potentiometer

Variable Parameters like voltage, current can be obtained by using a Digital Potentiometer. Microcontrollers or Counters operate FET CMOS Analog Switches. The switches configure resistor networks to adjust circuit performance. It could be a Speed Control of a Motor or Brightness of a Lamp. Volume controls and Tuners also can use this.

Millivolt Source with Digital Potentiometer

Description. - In this Circuit, digital potentiometer, connect pushbutton switches to fast and slow with one end to +7.5V, when you hold the button down the analog voltage will ramp up-down, fast or slow, this will enable you to make a digitally controlled millivolt source or power supply.

Digital Potentiometer - del50003

Here is a Millivolt Source i built for Calibration in the early days. It uses only CMOS Digital and Mixed Chips from Intersil and CD40xx Series.

Wednesday, November 28, 2018

Optical obstacle switch with LM567

This is a simple toy that has many applications. Any object that breaks a light beam will trigger a relay to on condition for a period of time.

Optical obstacle switch with LM567

Description - The 555 monostable has a 1 second period, If pin 2 gets low trigger pulses of a frequency more than 1 Hz, the output pin 3 will remain high, if the trigger pulses came in 10 second delays then output will go on and off, so also the relay and the electrical load on relay contacts. Like an integrator, it will not operate relay very fast. Even in a fridge stabilizer they put something like this else the compressor motor is damaged on frequent black-brown outs.

Optical obstacle switch - del50006

Now for the LM567 part, The clock at pin 5 flashes the IR Transmitter LED LD1 at a frequency set by C7-R5. The IR Photo Sensitive Diode or Transistor LD2 conducts when light is got from the IR LED. As the lights is in pulses, so also the impedance of LD2 goes low and high at same frequency. This develops an AC waveform across R3 over a DC representing Ambient light.

Circuits by Application

Analog Circuits

  1. Battery Level Indicator
  2. Simple Sample and Hold
  3. Sample and Hold Standby
  4. Voltmeter Attenuator
  5. Precision Current Source
  6. Opamp Supply Virtual Ground

SCR and Triac

  1. Solid State Relay
  2. Normally Closed AC SSR
  3. AC-AC-SSR
  4. DC-DC SSR
  5. 2N2646 based Pulser
  6. Drive SCR thyristor

Mains Power

  1. Flashing Neon Lamp
  2. Dimmer power control
  3. Edison Bulb Life Extend
  4. Mains Current LED
  5. Mains Voltage LED

Digital Circuits

  1. Simple Digital Counter
  2. Running Lights
  3. Frequency Divider
  4. Crystal Oscillator
  5. Simple High speed switch
  6. Differential TTL converter

Measureall DMM

  1. Ohmmeter Measure Resistance
  2. Precision Digital Attenuator
  3. Precision Amplifier

Mixed Circuits

  1. Monostable Multivibrator
  2. Digital to Analog
  3. LM311 Oscillator
  4. PLL using 4046
  5. VCO with LM331
  6. BCD Thumbwheel to Analog
  7. V to F Converter ICL8038
555 Circuits
  1. OR gate with two 555
  2. fixed frequency duty cycle
  3. Pulse width modulation
  4. Astable Multivibrator
  5. uC Reset Generator
  6. LM555 Voltage Doubler
  7. 555 Power Oscillator
Discrete Circuits
  1. Isolated dual supply
  2. Sound to light converter
  3. Water operated relay
  4. Telephone Indicator
  5. Passive volume control
  6. RS232 Opto-Isolation
  7. Voltage Level Indicator
  8. Relay Driver
  9. Constant Current LED
  10. Voltage Doubler
  11. FET Current Source
Opamp Circuits
  1. Three Opamp Differential
  2. Two Opamp Differential
  3. Buffer Opamps
  4. Differential Op-Amp
  5. Inverting Opamp
  6. Non Inverting Opamp
  7. Digital gain control
  8. Square Triangle Oscillator
  9. Dual Polarity Output Amps
  10. Ammeter Precision Rectifier
  11. Voltage / Current 4-20 mA
  12. Current Source for RTD
Power Electronics
  1. Dual Power Supply
  2. Single Power Supply
  3. Battery Backup Supply
  4. 5V 1A Supply LM2575
  5. 5V Power Supply L296
  6. Dual Power Supply
  7. Tubelight Electronic Choke
  8. Voltage Doublers Multipliers
  9. White LED Lamp on Ni-Cd

uC and uP

  1. PC RS232 with MAX232A
  2. Battery Backup SRAM
  3. watchdog uC uP systems
Instrumentation Circuits
  1. Mains monitor LM3914
  2. Simple Mains monitor
  3. single digit voltmeter
  4. High Resistance Meter
  5. Diode Thermometer
  6. Function Generator
  7. Diode Leakage Tester
  8. Analog LED Ohm Meter
  9. Millivolt Source Current Loop
Process Control
  1. AD590 - temperature
  2. Thermocouple Amplifier
  3. Linearizing Thermocouple
  4. Thermocouple Amplifier
  5. 0-1V to 4-20 mA
  6. 1-5V to 4-20 mA
  7. InfraRed - Optical Switch
  8. InfraRed Detector

Hobby DIY Electronics

delabs Circuits