Showing posts with label using. Show all posts
Showing posts with label using. Show all posts

Monday, January 26, 2015

Sounds From The Old West Using IC1 HT82207

This circuit shows how far integration can be taken: IC1, a Type HT82207 from Holtek does virtually everything. Only a (small) loudspeaker and the necessary selectors need to be added. The standard 18-pin Type HT82207 is an integrated sound generator, producing sounds typical of the Old West. The various sounds are selected by S1–S6 as listed below. In the quiescent state, the circuit draws a current not exceeding 1 µA.
  • S1 – bugle
  • S2 – neighing
  • S3 – sound of hooves
  • S4 – pistol shot
  • S5 – crack of a rifle
  • S6 – cannon fire
Sounds From The Old West Circuit Diagram:

Read More..

Friday, November 14, 2014

VOLTMETER USING 8051 MICROCONTROLLER

A simple 0-5V voltmeter using 8051 is shown in this article. This digital voltmeter has a sensitivity of  200mV which is a bit low but this project is meant for demonstrating how an ADC and seven segment display can be interfaced to 8051 to obtain a digital readout of the input voltage. A 31/2 digit high end voltmeter will be added soon. ADC0804 is the ADC and AT89S51 is the controller used in this project.
a



About the Circuit

In the circuit Vref/2 (pin9) of the ADC is left open and it means that the input voltage span can be o to 5V and the step size will be 5/255 = 19.6mV. The equation for the digital output of ADC0804 is Dout = Vin/Step size. In this circuit, for an input voltage of 1V the digital output will be 1/19.6mV = 51 and so the binary equivalent of 51 ie 00110011. Digital output of the ADC is interfaced to P1.0 of the microcontroller. Control signals for the ADC ie CS, RD, WR and INTR are available from the P3.7, P3.6, P3.5 and P3.4  pins of the microcontroller respectively. 2 digit multiplexed seven segment display is interfaced to Port0 of the microcontroller. Control signals for the display driver transistors Q1 and Q2 are obtained from P3.2 and P3.1 of the microcontroller. Push button switch S1, capacitor C2 and resistor R10 forms a debouncing reset circuitry. 

Program

ORG 00H
MOV P1,#11111111B
MOV P0,#00000000B
MOV P3,#00000000B
MOV DPTR,#LABEL
MAIN : CLR P3.7
       SETB P3.6
       CLR P3.5
       SETB P3.5
WAIT : JB P3.4,WAIT
       CLR P3.7
       CLR P3.6
       MOV A,P1
       MOV B,#10D
       DIV AB
       MOV B,#2D
       MUL AB
       MOV B,#10D
       DIV AB
       SETB P3.2
       ACALL DISPLAY
       MOV P0,A
       ACALL DELAY
       MOV P0,#10000000B
       ACALL DELAY
       MOV A,B
       CLR P3.2
       SETB P3.1
       ACALL DISPLAY
       MOV P0,A
       ACALL DELAY
       CLR P3.1
       SJMP MAIN
DELAY : MOV R3,#02H
DEL1 : MOV R2,#0FAH
DEL2 : DJNZ R2,DEL2
       DJNZ R3,DEL1
       RET
DISPLAY : MOVC A,@A+DPTR
          RET
LABEL : DB 3FH
        DB 06H
        DB 5BH
        DB 4FH
        DB 66H
        DB 6DH
        DB 7DH
        DB 07H
        DB 7FH
        DB 6FH
END

About the Program

At first the program controls the ADC to produce a digital output corresponding to the input voltage.This digital output is scanned through P1.0 and is loaded to accumulator. Then the value in the accumulator is divided by 10 to omit the last digit. For example, let the input voltage be 4V. Then the corresponding  digital output of the ADC will be  204D (D stands for decimal) .After  the the division by 10, the value left in the accumulator will be 20D. This 20D is then multiplied by 2D which results in 40D. The next target of the program is to manipulate this 40D and make a 4.0 readout on the display. For this the 40D is again divided by 10D . This results in 4 inside accumulator and 0 inside B register. Then the program gets the digit drive pattern for 4 using the lookup table , puts this pattern on Port 0 and activates Q1. After 1 ms delay 10000000B is loaded to P0 and this accounts for the dot. After a further 1ms delay Q1 is deactivated, content in B (ie 0) is moved to A, gets the correct digit drive pattern for 0 using the lookup table, puts this pattern on Port 0 and activates Q2. After a further 1ms delay Q2 is deactivated and the entire cycle is repeated.
Read More..

Friday, November 7, 2014

9 Volt Power Supply Circuit Diagram Using IC 7809

Description
Circuit showing a 9 volt power supply . Here we have used a bridge rectifier and 7809 ic for making this circuit.Where the ic regulate the output to 9 v,1 A .This voltage every time constant.Are you interested ?

Circuit diagram with Parts list.  


Notes. 
  • If a current of 300 mA or above is required, fit a proper heat sink to the IC 7809.
  • If 1A bridge is not available, make one using four 1N 4007 diodes.
Read More..

Tuesday, October 28, 2014

Surround Amplifier using TDA7375

This is a surround power amplifier circuit using IC TDA7375. Surround Amplifier easy and simple to make, you just need some component such as Resistor , Capacitor, and IC. Input for this amplifier have 4 Four input and output its L ( Left ), R ( Right ), SL ( Surround Left ), SR ( Surround Right ). Voltage Supply for this Surround Amplifier need about 15 Volt DC. 

Surround
Surround Amplifier circuit using TDA7375

If the Surround Amplifier Circuit finish assembly and ready to amplify the signal, Connect each ground input and output L ( Left ), R ( Right ), SL ( Surround Left ), SR ( Surround Right ) you can use one ground to 4 four input or output. 
Read More..

Friday, October 17, 2014

Build a MHz Oscillator using an ATtiny15

Most engineers will recognise the problem: Your circuit needs a stable 1 or 2 MHz clock generator (in the author’s case it was for a Pong game using an old AY3-8500). A suitable crystal is not to hand so you cobble together an RC oscillator (there are plenty of circuits for such a design). Now it turns out that you don’t have exactly the right capacitor so a preset pot is add e d to allow some adjustment . Before you know it the clock circuit is taking up more space on the board than you had hoped. 

Providing the application does not demand a precise clock source a tiny 8-pin microcontroller may offer a better solution to the problem. It needs no additional external components and an old ATtiny15 can be found quite cheaply. Another advantage of the solution is that clock frequency adjustment does not involve changing external components and is not subject to component tolerances. 

The microcontroller’s internal RC oscillator is already accurately calibrated to 1.6 MHz. With its inbuilt PLL, internal Timer 1 can achieve up to 25.6 MHz [2]. By configuring internal dividers the timer can output a frequency in range of roughly 50 kHz up to 12 MHz from an output pin. The difference between calculated and the actual output frequency increases at higher frequencies. A meaningful upper limit of about 2 MHz is a practical value and even at this frequency the deviation from the calculated value is about 15 %.

MHz Oscillator using an ATtiny15 Schematic




The circuit diagram could hardly be simpler, aside from the power supply connections the output signal on pin 6 (PB1) is the only other connection necessary.The example program, written in Assembler is just 15 lines long! With a program this short comments are almost super fluous but are included for clarity. The code can be downloaded from the Elektor website [1]. 

The program only needs to initialise the timer which then runs independently of processor control to output the clock sign al . The processor can then be put into sleep mode to memory used up the remaining 99 % is free for use for other tasks if required. 

The OSCCAL register contains a calibration byte which allows some adjustment of the CPU clock. This gives a certain degree of fine tuning of the output frequency. A recommendation in the Atmel data sheet indicates that the CPU clock frequency should not be greater than 1.75 MHz otherwise timer operation cannot be guaranteed. 

The more recent ATtiny45 can be substituted for the ATtiny15. In this case the CK SEL fuses should be set to put the chip’s Timer 1 into ATtiny15- compatible mode [3]. After adjustment to the program it will now be possible to obtain a higher (or more exact) frequency from the timer, the ATtiny45’s PLL can operate up to 64 MHz.
Read More..

Saturday, October 4, 2014

Mini Audio Amplifier Circuit using IC KA2209

Mini
This is 2X1W audio amplifier circuit with mini-KA2209 IC. It may work well from 3-12V DC and will work from a battery since the quiescent current drain is low. It requires no heat sink for normal use. Input and output are both ground referenced. Maximum output is obtained with a 12V power supply and 8 ohm speaker, however, is especially suitable for driving headphones from a supply as low as 3V.

Amp mini circuit only a few external components, the IC contains most of the necessary circuits. R1, R2 and R3, R4 are the resistances of feedback. C1 provides power supply decoupling. C2 and C3 are the input coupling capacitors, which block any DC that might be present on the inputs. C4, C5 DC block in the feedback loop of the inverting input and C6, C7 are the output coupling capacitors. C8, C9 and R5, R6 act as a Zobel network to provide a high frequency load for stability in the frequencies where the inductive reactance of the loudspeaker can be strong too. The boat provides the attenuation of input level.

KA2209 - Audio Amplifier Circuit Component
C1,C2,C3 : 10 uF/25V ecap
C4,C5 : 100 uF/16V ecap
C6,C7 : 470 uF/16V ecap
C8,C9 : 100 nF poly
R1,R3 : 1k Resistor
R2,R4 : 100R Resistor
R5,R6 : 4R7ohm Resistor
Pot1 : 10k dual gang log pot
IC1 : KA2209 Integrated Circuit
Read More..

Friday, September 5, 2014

Easy Using LM317 with Over voltage Protection

The schema diagram shows the over voltage protection as a feature of LM317 linear voltage regulator.Over voltages come from several source or factors which are usually in the form of transients. Transients are represented in spikes which are short and fast disturbance or change in the voltage and current component.

It only occurs in diagram containing conductance and capacitance. The causes are typically from power outages, short diagram, tripped schema breakers, lightning spikes, inductive spikes and other malfunctions from power company.


 As an example using a 12V battery source, the LM317 voltage regulator can be used to obtain 6 Volts. To protect any device from over voltage, there are ways such as adding relays or a zener diode. A relay switch functions by opening or closing under the command of another schema. But finding a relay that would limit the output from 6 V to 12 V is not easy.

Fortunately, zener diodes are more abundant. A 6.2V zener diode rating can be used to surpass any excessive voltage set by the voltage regulator, to prevent more damage to the schema. The components will be as follows:

ZD1 – 6.2 Volts
R1 – 1K ohms
R2 – 1K ohms
T1 – NPN Transistor (low power)
T2 – NPN Transistor (acts as a switch)

Every schema design needs to be tested carefully as to avoid further damage to the equipment that will be connected. The trial can be done by using a multimeter, and gradually increasing the schema voltage. Once the schema turns off the supplied voltage, take note of the reading which will signify the threshold voltage of the zener diode.
Read More..

Tuesday, August 26, 2014

Build a Pulse Generator using Basic Operational Amplifier

How to build a pulse generator schema using operational amplifier, very basic, it is the schema stable multi vibrator or square wave oscillator. It uses a dual operational amplifier IC, one in 1458. The output frequency set by the value of R1 and C1. The calculation is Frequency = 1 / (2R1.C1.ln3)

The capacitor C1 1uF to change capacitance value by the frequency of 8 Hz, = 0.1uF 50Hz, 700Hz = 0.01uF, 0.001uF = 6kHz. In place of 1458 4558 may be used, LF353, etc.

 Pulse Generator using Basic Operational Amplifier Circuit Diagram

Pulse
Add caption

Read More..

Thursday, August 21, 2014

Lamp flasher using LM317


Here is a very useful lamp flasher schema using the famous adjustable voltage regulator IC LM317T. LM317 can source up to 1A of current and so up to 12W lamps can be used with this flasher. Such a schema finds huge application in automobiles. The frequency of the flashing depends on the value of resistors R1 to R3 and capacitors C2 to C4.With the given values; the flashing rate is around 5 flashes per second.




Notes.

* The schema can be assembled on a Vero board.
* Use 12V DC for powering the schema.
* Use a proper heat sink with the IC1.
* Switch S1 can be a ON/OFF switch.



Read More..

Tuesday, August 19, 2014

Selector Antennas using PIN Diodes Wiring diagram Schematic

This Selector Antennas using PIN Diodes Circuit Diagram selector antennas uses PIN diodes, was designed using common components and is very useful when used various external antennas, this antenna selector uses PIN diodes that eliminate disadvantages of mechanical switches especially at high frequency. 

Capacitors C1 to C4 and C9 are used to prevent the input and output schema DC. Shock L1 to L5 prevent leakage of HF signal.Shock L1 to L5 can be wound on a ferrite core, using enameled copper wire of 0.3 mm in diameter, two rounds will suffice for entries for VHF and UHF 5 (1 mH is required for VHF and UHF about 5 uH). The schema was designed for antenna input impedance of 50 or 75 ohms.

Selector Antennas using PIN Diodes Circuit Diagram

Selector

Read More..