Thursday, January 19, 2017

Printer Port 256 Relays 16K Dot Matrix

Using this circuit on Printer Port, one could drive 256 Relays or 16K LEDs as Dot Matrix display. It can be used to drive a Large size multiplexed LED dot matrix display or Latched Relay-Solenoid-Motor-Lamp Array Drivers.

Printer Port 256 Relays 16K Dot Matrix - del20021

This circuit can be modified for a Static drive output or a fast changing output like a Waveform Generator. You can also make it a 16 Bit waveform generator. The frequency limited to the speed of the port or a fraction of it, depending on 8bit, 16bit or 32bit.

Printer Port 256 Relays 16K Dot Matrix

Now I have Some Explaining to do. Latch the U7 with a 8 Bit Data to address the device you want to talk to. So one among the 32 Output Devices can be Selected by a combination of G1-G2 of U5-U8 and U7 8 Bits, Split into Two Nibbles for Upper and Lower 16 Devices. That means 16 * 2 = 32 Devices of 1 Byte each,. 32 * 8 = 256 if my calculations are correct. Please verify.

One of the decoders U5 or U8 decode their respective nibble and output a Low on Selected device to Latch Data on the Chosen one (74HCT373). Why HCT ? Speed is good, low power and CMOS ! and works with TTL too. It Interfaced well for me on a Card with Both TTL and CMOS levels, with a Fast uC.

The 74HCT373 outputs are current amplified and isolated by darlingtons and optoisolators. Both source and sink examples shown.

This circuit was not tested and documented properly. So there may be things missing. It is just a Concept design..

Saturday, January 14, 2017

WorkBench Dual Power Supply

I will just explain part of this circuit. D9 and D10 provide a low cost -1.4 from -5 V. This is needed to reach near 0.00 for LM317 Min. setting. An LED also can be used with proper bias. Note that there is a Temperature Coefficient in ppm, see The Unusual Diode FAQ. but it may not matter upto 8 bits accuracy.

TIP2955, TIP3055 (NPN), TIP2955 (PNP) Complementary Silicon Power Transistors. It is a Darlington, that means good current gain. See Darlington transistor - Wikipedia. When current in R1 10E goes more than 50mA a voltage of 50mA X 10E = 500mV is applied across Emmiter-Base junction. So lower than 500mV no bias the tap is turned off, 500mV-700mV the tap starts turning on depending on type of transistor.

Power Supplies Section

The transistor is like a water Tap. So TIP2955 carries the major current burden thru the load allowing LM317 to do the decision making when to turn-on or off. It is analog control, it is not On-Off but linear-proportional. The LM317 is very cool as the burden is passed off to TIP2955 who will need a heatsink to keep going and deliver the power you want.

WorkBench Dual Power Supply
Put the filter caps appropriately. The Hum-Noise will be filtered. The cap after the regulator should be a small guy. The main filter cap after the Bridge can be as big as your cabinet or budget.

Mains Voltage Power Transformers

If you build it and wire it without designing a PCB, then make all wiring and connection very sound. The test of this ability you can know easily, If your project stops working after the last screw of the cabinet is tightened, Then we need to improve.

Tuesday, January 10, 2017

Analog Dial Amps-Volts-Ohms Meter

This was designed, keeping in mind, that sometimes we have few components available and you could not carry your DMM somewhere, but you have to make some instrument for a quick need with what is available.

Analog Dial AVO Amps-Volts-Ohms meter

IC3 LM555 is to generate -5V from 9V. That reminds me of a story, In 1986 while i was studying BE electronics i got a chance to work part-time in a company that sold-serviced imported instruments, it was called trans-marketing. They were the agents for Racal-Dana, Genrad, Data I/O and so many more. Here i came across a Book called CMOS Hot Ideas of Intersil. I had a chance to observe, build and learn some things here. The ICL7107 circuit was the most fascinating, I also read the books of National Semiconductor here.

Analog Dial AVO Amps-Volts-Ohms meter

In those days small firms used to make DPM's digital panel meters with 7107. In 1987 when i got a oppurtunity to design a DPM for a firm, I put the 555 clock in place CD4009 clock shown in intersil, to derive the -5.

Potentiometer Dial GIF for above circuit to be used to make a hand-held avo-meter is here.

Potentiometer Dial

Saturday, November 19, 2016

Current Source for Resistance Measurement

Here is a current source you can build for resistance measurement. When the current is held constant, you know as per Ohm's Law the Voltage across Resistor is proportional to Resistance value.

Resistance measurement with Current Source

Precision Current Source for Resistance Measurement

The supply is +12 and -12, The total voltage across R6 + R7 is 24V. Then 24V / 120K = 0.2mA. The voltage across R6 is (10K * 0.2mA) = 2V. The same is reflected across R5 in this feedback configuration. That means Q3 is a 2V / 1K = 2mA source. If my calculations are right.

Design of a Constant Current Source

There are sources of errors in this circuit. The temperature variation of all resistor values, which is 100ppm for general calculations in 1% MFR. Let us assume you use OP07 which is close to an ideal opamp, but for this application it is not needed. The second error is Ib, the base current of Q3 which may be 0.2mA / Hfe(200) = ~ 1 uA. Then the variation of Hfe, Vcc and Vdd w.r.t. Temperature, should not be overlooked. Use LM7812 and LM7912.

So you see, design knowing that all these components are not ideal. Leakage currents, Humidity, EMI, Stray Capacitance and Inductance and much more. It is just like, even when the motor is fixed firmly on the machine, some parts Vibrate and create a Noise due to Mechanical Resonance. So Build and evaluate your design in the real environment, to learn.

Discover how resistors are color coded - Interactive Java Resistors Tutorial.

Friday, November 18, 2016

LM317 based Regulated Power Supply

This is a Regulated Power Supply based on the LM317 IC. It will need a Boost Power Transistor and heatsink for higher currents. It is a versatile building block for stable instrumentation supplies. Consumer Electronic gadgets can use a SMPS chip. In case you wish to use a SMPS for a Precision Instrumentation Block, then take extreme care on Shielding and EMI-RFI.

LM317 based Regulated Power Supply

This is a General Purpose Chip, Series Regulation. It can be varied or trimmed. There is an Internal temperature compensated reference. The minimum trim value is around 1.2. In case you want a Low value voltage like 0.5 with a good current, then use a good negative supply to offset the 1.2 V.

Power supply with battery backup for DMM

The transformer can be s Split Bobbin with Pri-Sec copper shield foil.  This can be earthed along with the metal enclosure. C4 sends any hi-freq components to earth.  It is better if you do not earth the ground but use such capacitors. A Supply should simulate a a battery with both ends floating wrt Earth. A option to eartth the ground is fine. This also helps the user to configure his own dual supplies.

Q1 and R5 form a Short Circuit OR current fold back OR constant current mechanism. TP1 can be used to vary the output voltage.  Better use something like a Bourns 10T trimpot. An open preset may introduce a noise due to dust and vibration. I don’t remember why i added a zener DZ1, a diode may suffice.

See more at my Power Supplies Section.

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