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

Tuesday, October 8, 2013

Headphone Amplifier Using Discrete Components

An amplifier to drive low to medium impedance headphones built using discrete components.

Both halves of the circuit are identical. Both inputs have a dc path to ground via the input 47k control which should be a dual log type potentiometer. The balance control is a single 47k linear potentiometer, which at center adjustment prevents even attenuation to both left and right input signals. If the balance control is moved towards the left side, the left input track has less resistance than the right track and the left channel is reduced more than the right side and vice versa. The preceding 10k resitors ensure that neither input can be "shorted" to earth.

Headphone Amplifier Circuit DiagramAmplification of the audio signal is provided by a single stage common emitter amplifier and then via a direct coupled emitter follower. Overall gain is less than 10 but the final emitter follower stage will directly drive 8 ohm headphones. Higher impedance headphones will work equally well. Note the final 2k2 resistor at each output. This removes the dc potential from the 2200u coupling capacitors and prevents any "thump" being heard when headphones are plugged in. The circuit is self biasing and designed to work with any power supply from 6 to 20 Volts DC.
ReadMore..

Monday, October 7, 2013

14W CLASS A AMPLIFIER USING 2N3055 ELECTRONIC DIAGRAM

14W CLASS A AMPLIFIER USING 2N3055 ELECTRONIC DIAGRAM

Why Class A ? Because , when biased to class A, the transistors are always turned on, always ready to respond instantaneously to an input signal. Class B and Class AB output stages require a microsecond or more to turn on. The Class A operation permits cleaner operation under the high-current slewing conditions that occur when transient audio signal are fed difficult loads. His amplifier is basically simple, as can be seen from the block diagram.
ReadMore..

Thursday, September 26, 2013

Light Gate With Counter Using 555 And 4033

The circuit described here counts the number of times that an infrared beam is interrupted. It could be used to count the number of people entering a room, for instance, or how often a ball or another object passes through an opening (handy for playing shuffleboard). The heart of the circuit consists of - you guessed it - a light gate! Diode D1 is an IR diode that normally illuminates IR transistor T1. The light falling on T1 causes it to conduct to a certain extent. The resulting voltage on the collector of T1 should be just low enough to prevent the following transistor (T2) from conducting. This voltage can be adjusted within certain limits using P1.

As soon as an object comes between D1 and T1, the light shining on T1 will be partially or fully blocked, causing the IR transistor to conduct less current. As a result, the voltage on its collector will increase, producing a brief rise in the voltage on the base of T2. This will cause T2 to conduct and generate a negative edge at IC1. This negative edge will trigger the monostable multivibrator, which will then hold the output signal on pin 3 ‘high’ for a certain length of time (in this case, one second). At this point, two things will occur. First, a buzzer will be energized by the output of IC1 and produce a tone for approximately one second.

Light Gate With Counter Using 555 And 4013 Circuit DiagramWhen the buzzer stops, a negative edge will be applied to the clock input of IC2, causing the counter in IC2 to be incremented by 1. IC2 is conveniently equipped with an internal binary-to-BCD decoder, so its outputs only have to be buffered by IC3 and T3 to allow the state of the counter to be shown on the 7-segment display. Switch S1 can be used to reset the counter to zero. If a one-second interval does not suit your wishes, you can modify the values of R3 or C1 to adjust the time. Increasing the value of R3 lengthens the interval, and decreasing it naturally shortens the interval.

The same is true of C1. When building the circuit, make sure that T1 is well illuminated by the light from D1, while at the same time ensuring that T1 ‘sees’ as little ambient light as possible. This can best be done by fitting T1 in a small tube that is precisely aimed toward D1. The longer the tube, the less ambient light will reach T1. The sensitivity of the circuit can be adjusted using P1.
ReadMore..

Tuesday, September 3, 2013

Low Power Transceiver Using by ADF7242

This low power transceiver circuit project is designed using the ADF7242 fully integrated low-cost, short-range, low power transceiver designed for operation in the global 2.4 GHz ISM band.The receive path of the ADF7242 low power transceiver circuit is based on a zero-IF architecture enabling high blocking and selectivity performance. The transmit path is based on a direct closed loop VCO modulation scheme. The ADF7242 has a low consumption power that make it suitable for battery powered systems.

Low Power Transceiver Circuit diagram


The ADF7242 supports IEEE 802.15.4 compliant DSSS-OQPSK modulation with a bitrate of 250 kbps and also supports FSK and GFSK modulation with bitrates from 62.5 kbps to 2 Mbps.ADF7242 fully supports arbitrary data rates only for FSK mode of operation. The ADF7242 also has a built in battery monitor features that has a very low power consumption and may be used in parallel with any mode of operation, except SLEEP state. The battery monitor generates a battery alert interrupt for the MCU when the battery voltage drops below the programmed threshold voltage.
ReadMore..

Saturday, August 31, 2013

2 Channel Audio Mixer Using by Transistors

This 2 channels audio mixer is based on the 2n3904 transistors which forms 2 preamplifiers. The first preamplifier of the audio mixer has a high gain and can be used for microphone input, and the second one can be used to control the input of the audio level.

2 Channel Audio Mixer Circuit diagram


This two channel audio mixer require a power supply with the output voltage between 9 to 12 volts . For the audio signal you can use a CD player, mp3 player or other audio device and for the microphone you can use a normal dynamic microphone .

ReadMore..

Friday, August 2, 2013

Frequency Tone Decoder Circuit Using TC9400 FVC

Another application of FVC (frequency-to-voltage converter) is tone/frequency decoder. This circuit is used to determine the frequency band of an oscillation signal. This circuit is used in many application like determines the frequency band in the signal and remote control where the frequency band corresponds to a different command. This circuit uses TC9400 F/V converter to convert the frequency to voltage because the frequency must be converted to proportional analog voltage before can be detected. This is the figure of the circuit;


Beside TC9400 F/V converter, this circuit also uses the quad comparators. It used to detect when the frequency limits is exceeded by the voltage (frequency). The frequency is indicated by the logical “1″ at any of the five output. [Circuit diagram source: Microchip Application Note]
ReadMore..

Wednesday, July 10, 2013

1W Audio Amplifier Using NCP2830

This 1w audio amplifier circuit is designed using NCP2830 audio IC manufactured by ON Semiconductor.This audio power amplifier ic designed for portable communication device applications and require few external electronic components.

1W Audio Amplifier Circuit using NCP2830 


NCP2830 is capable to provide 1W continuous output power in 8 ohms load.NCP2830 audio power amplifier main features are : high quality audio (THD+N = 0.04%) , low noise: SNR up to 100 dB, overall system efficiency optimization: up to 89% , Superior PSRR (−88 dB): Direct Connection to Battery , Very Low Quiescent Current 7 mA , Optimized PWM Output Stage: Filterless Capability , Selectable gain of 2 V/V or 4 V/V .
ReadMore..

Saturday, July 6, 2013

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

MHz Oscillator using an ATtiny15 Circuit Diagram
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. Link
ReadMore..

Tuesday, May 14, 2013

Variable power supply using 7805


This circuit diagram shows you how to make a 5V to 12V variable DC power supply from a fixed 5V regulator IC 7805. This is attained by adding two resistors R1 and R2 as shown in figure. When the resistors R1 and R2 are added the equation for the output voltage of 7805 becomes Vout= Vfixed + { R2 [ (V fixed/R1) + Istandby] } ,where Vfixed=5V and Istandby=Vfixed/R1.By varying the POT R2 you can adjust the output voltage between 5V and 12V.

Notes. * The circuit can be assembled on a vero board. * T1 can be a 230V primary, 9V/5A secondary stepdown transformer. * 7805 must be fitted with a heat sink. * F1 can be a 1A fuse.
ReadMore..

Friday, April 12, 2013

How to Make a Simple Timer Circuit Using IC 555


A timer is a device which produces a delay period after which an external connected electrical load is triggered. The produced time delay is normally adjustable and the user has the freedom to set the time period as desired. There are many ways of making simple timer circuits using different ICs and discrete components; here we discuss one such circuit using the ubiquitous IC 555.


The IC 555 is a pretty common electronic part among the electronic enthusiasts and is also very popular due to the involved simple configurations and low component count.

The two popular multivibrator modes of operation that’s associated with this IC are the astable mode, and the monostable mode. Both of these are useful configurations and have plenty of different applications.

For the present design we incorporate the second mode of operation, which is the monostable mode.

In this mode of operation the IC is configured to receive a trigger externally, so that it’s output changes state, meaning if with reference to the ground if the output of the IC is zero, then it would become positive as soon as the trigger (momentary) is received at its input terminal.

This change in its output is sustained for a certain period if time, depending upon the external time determining components. Normally the time determining components are in the form of a resistor and a capacitor which together determine or fix the time period for which the IC output would hold its “high” position.

By changing either the value of the capacitor or the resistor, the timing can be altered as desired. The above time fixing components are termed as the RC component.

The figure shows a very straightforward design where the IC 555 forms the central controlling part of the circuit. As discussed in the above section, the IC is in its standard monostable mode.

Pin #2 receives the external timing trigger from a push-to-ON switch. Once this switch is pushed, the circuit pulls its output to a positive potential   and holds it until the predetermined time delay lapses.

The entire circuit can be built over a small piece of general PCB and housed inside a neat looking plastic enclosure along with the battery.

The output may be ideally connected to a buzzer for receiving the warning alarm after the set time lapses.

Parts List

R1, R4 = 4K7,
R2 = 10K,
R3 = 1M pot,
C1 = 0.47uF,
C2 = 1000uF/25V,
C3 = 0.01uF,
IC1 = 555,
Bz1 = Piezo Buzzer,
Push Button = push to ON switch

A circuit design requested by Mr.Bourgeoisie:







ReadMore..

Wednesday, April 10, 2013

Delay using 8051 timer

The 8051 microcontroller has two
independent 16 bit up counting timers named Timer 0 and Timer 1 and this
article is about generating time delays using the 8051 timers.
Generating delay using pure software loops have been already discussed
here but such delays are poor in accuracy and cannot be used in
sensitive applications. Delay using timer is the most accurate and
surely the best method.
A timer
can be generalized as a multi-bit counter which increments/decrements
itself on receiving a clock signal and produces an interrupt signal up
on roll over. When the counter is running on the processor’s clock , it
is called a “Timer”, which counts a predefined number of processor
clock pulses and  generates a programmable delay. When the counter is
running on an external clock source (may be a periodic or aperiodic
external signal) it is called a “Counter” itself and it can be used for
counting external events.
In
 8051, the oscillator output is divided by 12 using a divide by 12
network and then fed to the Timer as the clock signal. That means for
an 8051 running at 12MHz, the timer clock input will be  1MHz. That
means the the timer advances once in every 1uS and the maximum time
delay possible using a single 8051 timer is ( 2^16) x (1µS) = 65536µS.
Delays longer than this can be implemented by writing up a basic delay
program using timer and then looping it for a required number of time.
We will see all these in detail in next sections of this article.
Designing a delay program using 8051 timers.
While
designing delay programs in 8051, calculating the initial value that
has to be loaded inot TH and TL registers forms a very important thing.
Let us see how it is done.
  • Assume the processor is clocked by a 12MHz crystal.
  • That means, the timer clock input will be 12MHz/12 = 1MHz
  • That means, the time taken for the timer to make one increment = 1/1MHz = 1uS
  • For a time delay of “X” uS the timer has to make “X” increments.
  • 2^16 = 65536 is the maximim number of counts possible for a 16 bit timer.
  • Let TH be the value value that has to be loaded to TH registed and TL be the value that has to be loaded to TL register.
  • Then, THTL =  Hexadecimal equivalent of (65536-X) where (65536-X) is considered in decimal.
Example.
Let the required delay be 1000uS (ie; 1mS).
That means X = 1000
65536 – X =  65536 – 1000 = 64536.
64536 is considered in decimal and converting it t0 hexadecimal gives FC18
That means THTL = FC18
Therefore TH=FC and TL=18
Program for generating 1mS delay using 8051 timer.
The
program shown below can be used for generating 1mS delay and it is
written as a subroutine so that you can call it anywhere in the
program. Also you can put this in a loop for creating longer time
delays (multiples of 1mS). Here Timer 0 of 8051 is used and it is
operating in MODE1 (16 bit timer).
DELAY: MOV TMOD,#00000001B // Sets Timer 0 to MODE1 (16 bit timer). Timer 1 is not used
MOV TH0,#0FCH // Loads TH0 register with FCH
MOV TL0,#018H // LOads TL0 register with 18H
SETB TR0 // Starts the Timer 0
HERE: JNB TF0,HERE // Loops here until TF0 is set (ie;until roll over)
CLR TR0 // Stops Timer 0
CLR TF0 // Clears TF0 flag
RET
The above delay routine can be looped twice in order to get a 2mS delay and it is shown in the program below.
MAIN: MOV R6,#2D
LOOP: ACALL DELAY
DJNZ R6,LOOP
SJMP MAIN

DELAY: MOV TMOD,#00000001B
MOV TH0,#0FCH
MOV TL0,#018H
SETB TR0
HERE: JNB TF0,HERE
CLR TR0
CLR TF0
RET
Few points to remember while using timers.
  • Once timer flag (TF) is set, the programmer must clear it before it can be set again.
  • The timer does not stop after the timer flag is set. The programmer must clear the TR bit in order to stop the timer.
  • Once
    the timer overflows, the programmer must reload the initial start
    values to the TH and TL registers to begin counting up from.
  • We can configure the desired timer to create an interrupt when the TF flag is set.
  • If  interrupt is not used, then we have to check the timer flag (TF) is set using some conditional branching instruction. 
  • Maximum
    delay possible using a single 8051 timer is 65536µS and minimum is 1µS
    provided that you are using a 12MHz crystal for clocking the
    microcontroller.

Square wave generation using 8051 timer.

Square
waves of any frequency (limited by the controller specifications) can
be generated using the 8051 timer. The technique is very simple. Write
up a delay subroutine with delay equal to half the time period of the
square wave. Make any port pin high and call the delay subroutine.
After the delay subroutine is finished, make the corresponding port pin
low and call the delay subroutine gain. After the subroutine  is
finished , repeat the cycle again. The result will be a square wave of
the desired frequency at the selected port pin. The circuit diagram is
shown below and it can be used for any square wave, but the program has
to be accordingly. Programs for different square waves are shown below
the circuit diagram.
time delay using 8051 timer
Square wave generation using 8051 timer
1KHz Square wave using 8051 timer.
MOV P1,#00000000B
MOV TMOD,#00000001B
MAIN: SETB P1.0
ACALL DELAY
CLR P1.0
ACALL DELAY
SJMP MAIN
DELAY: MOV TH0,#0FEH
MOV TL0,#00CH
SETB TR0
HERE: JNB TF0,HERE
CLR TR0
CLR TF0
SETB P1.0
RET
END
2 KHz Square wave using 8051 timer.
MOV P1,#00000000B
MOV TMOD,#00000001B
MAIN: SETB P1.0
ACALL DELAY
CLR P1.0
ACALL DELAY
SJMP MAIN
DELAY: MOV TH0,#0FCH
MOV TL0,#018H
SETB TR0
HERE:JNB TF0,HERE
CLR TR0
CLR TF0
SETB P1.0
RET
END
10 KHz square wave using 8051 timer.
MOV P1,#00000000B
MOV TMOD,#00000001B
MAIN: SETB P1.0
ACALL DELAY
CLR P1.0
ACALL DELAY
SJMP MAIN
DELAY: MOV TH0,#0FFH
MOV TL0,#0CEH
SETB TR0
HERE:JNB TF0,HERE
CLR TR0
CLR TF0
SETB P1.0
RET
 END
ReadMore..

Sunday, April 7, 2013

High Voltage AC Calibrator Circuit Using Op Amp

This a application circuit for calibration. This circuit is called high voltage AC calibrator circuit. In another dimension in sine wave oscillator design is stable control of amplitude. This is the figure of the circuit.


In this circuit, not only is the amplitude stabilized by servo control but voltage gain is included within the servo loop. A transformer is used to provide voltage gain within a tightly controlled servo loop. A voltage gain of 100 is achieved by driving the secondary of the transformer and taking the output from the primary. A current sensitive negative absolute value amplifier composed of two amplifiers of an LF347 quad generates a negative rectified feedback signal. This is compared to the LM329 DC reference at the third LF347 which amplifies the difference at a gain of 100. The 10 μF feedback capacitor is used to set the frequency response of the loop.

The output of this amplifier controls the amplitude of the LM3900 oscillator thereby closing the loop. As shown the circuit oscillates at 1 kHz with under 0.1% distortion for a 100 Vrms (285 Vp-p) output. If the summing resistors from the LM329 are replaced with a potentiometer the loop is stable for output settings ranging from 3 Vrms to 190 Vrms (542 Vp-p!) with no change in frequency. If the DAC1280 D/A converter shown in dashed lines replace the LM329 reference, the AC output voltage can be controlled by the digital code input with 3 digit calibrated accuracy. [Schematic diagram source: National Semiconductor, Inc]
ReadMore..