Showing posts with label Microcontroller-Circuits. Show all posts
Showing posts with label Microcontroller-Circuits. Show all posts

Monday, July 11, 2016

Interface ICL7135 Voltmeter to PC

A PC based Analog Voltmeter. The Printer Port or Parallel Port Interface is used to acquire high resolution analog data using ICL7135. This is a method of getting analog data into your PC. This is only of Educational Value. Applications include Data Loggers and PC based Process Monitors, chart recorders. (USB, Wireless Interfaces and Tablet Computers are in vogue today)

ICL7135 to Printer port Interface

The four Digit Drive outputs and four BCD outputs of the Multiplexed Display Driver of 7135, along with A-D status output which is also four, are routed to four input pins on printer port via three 74HCT373 Digital Switches. This is because we have less Input pins on Port and 4 are shared by making one 74HCT373 transparent and others High Impedance when PC takes a reading. So the three sets of four outputs of 7135 can be read sequentially.

ICL7135 to Printer port Interface

74HCT139 U9A which is controlled by the PC program can select U3, U4 or U5 for sending data to 4 pins on printer port. Data sent on the eight output pins of printer port can be latched by U10B into U6. This eight outputs of U6 can drive relays or lamps.

The ICL7135 details can be seen here 41/2 A/D with BCD ICL7135 . This Mixed device was far ahead of its times, a product of Intersil.

Friday, July 08, 2016

AT89C52 Parallel Interface to ICL7135

This circuit is a Parallel interface between 89C52 of Atmel with 7135 of Intersil.  With This circuit you can read analog data of both polarities. You can change the range scale with extra circuits, you can store data on a EEPROM or send them to PC thru RS232 or Comm port.

Using Linux in Embedded Electronic Devices

The Circuit Is Shown for One Anode Drive and one Segment Drive for Display. In similar Fashion connect rest, all 5 anodes and 7 segments and one dp decimal point. The +5 V of 2N2907 and gnd of BC547 must be directly from regulator with a big cap or even a separate supply.

AT89C52 Parallel Interface to ICL7135

Parallel interface is faster that a serial interface.It is more "Real Time" for a given processor and clock speed. The code and accompanying hardware also can speed up the data acquisition.  

AT89C52 Parallel Interface to ICL7135 - Complete Page

A single maxim chip can act as a good interface between the uC and Serial Port. You could also do this with Logic chips but correct levels and isolation cannot be achieved, Hence better to use use these interface chips.

These days USB and Wireless Interfaces are being used and Tablet Computers becoming Popular. The Interfacing of the future is "Device Networking" and Wireless may be common.

Tuesday, May 19, 2015

Frequency Divider 74HCT4040

U1 7555 is a CMOS version of 555. The 555 here is in Astable Oscillator mode, C1 and C4 are decoupling capacitors 0.1uF value, ceramic disc.

Mixed and Interface Circuits

The output is around 100kHz, If C3 is plastic or mica the frequency output will be stable with temperature. It is better to use a crystal oscillator.
Frequency Divider 74HCT4040

The 555 output is fed to clock input of 4040, the output of 555 will be a square wave, on every high to low transition (falling edge or negative transition) the counter increments by one and the output is 12 bit binary.

Read more at my Digital Timers, Counters and Clocks

If input frequency is F the final output at Q12 is F/4096. The period T = 1/F.
If you make the 555 run at 1Hz, C3 around 7uF, Then this circuit becomes a long duration timer, the Q12 period will be 4096 seconds or 68 minutes.

Friday, September 05, 2014

80C39 and MCS48 based Process Controller

The Early Microcontroller : 80C39 is a CMOS Version of 8048 the one that preceded 8031-8051. MCS48 is the set for that, MCS51 is the current set.

Digital to Analog Converter with uC Watchdog is the front end and an external  hardware watchdog of an early kind. These are simple but robust circuits and worked well in noisy environments.

Here is an example project for 80C39-8748-8749 microcontroller. This code was written by me, and it works. But the documentation is not complete or may have errors.

 80C39 and MCS48 based Process Controller - CPU

Process Controller code here 80C39 Code for MCS48 (editable spreadsheet online)

The circuit for these are on this page along with other circuits. This may be difficult to put together now. But

the code and hardware is near compatible to 8051 uC. Now there are may types of ADC and uC.

Voltage to Frequency Converter AD Interface is the analog front end of this instrument. Uses a LM331 VCO. The Signal conditioning too is integrated in this circuit.

This was supposed to have Analog in and Analog out. Some parts of the circuit may be in the 80C51 page. This has ramp-up and ramp-down settings for the Increment and Decrement buttons. This helps setting setpoint quickly. There is also debouncing for the pushbutton.

Saturday, May 17, 2014

555 watchdog for uC and uP systems

When the microcontroller hangs due to a spike, EMI or RFI etc. the 7555 will reset the uC, if proper power supply design is done above circuit can also give a clean power on reset, the above circuit you should modify to suit your design.

80C39-8749 MCS-48 Examples and code

Better still use a uC with watchdog built in like some atmel chips, or use the watchdog chips from maxim which can also do RAM battery management.

The circuit was developed over a old TI application note, 7555 i think fairchild may be making it, 7555 is CMOS version of 555 timer, advantage of 7555 is that it can go to higher frequency, low power consumption, the disadvantage is its output drive mA is not as good as 555. now why i put it here was that you can see how charge and discharge paths are separated with diodes.

555 watchdog for uC and uP systems

See Larger Circuit. 555 Watchdog
Edit the circuit eagle cad file del00013.zip,

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