Sunday, August 23, 2009

Circuit for prepaid energy meter

The above designed circuit represents a prepaid energy meter. This circuit uses the Atmel IC 8052 i.e. AT89S52 an 8-bit microcontroller IC.AT89S52 is a low voltage, high performance CMOS 8-bit microcontroller with 8K bytes of In-System programmable (ISP) flash memory and a three level program memory lock. It has operating range from 4.0V to 5.5V. AT89S52 is also equipped within by a 256X8-bit internal RAM and three 16-bit counters. Also, the IC ULN2003 used is a high voltage, high current Darlington array containing seven open collector Darlington pairs with common emitters. Each channel is rated at 500 mA and can withstand peak currents of 600 mA. In it suppression diodes are integrated for inductive load driving and the inputs are pinned opposite the outputs to simplify board layout. The IC used AT24C02 is a two-wire serial EEPROM. It provides 2048 bits of electrically erasable and programmable read only memory organized as 256 words of 8 bits each. It is very useful in applications where low-power and low-voltage operation are essential.

Friday, July 24, 2009

Circuit for fingerprint security system

This is the circuit designed as a hobby project. Here, a fingerprint module has been automated to create an automated fingerprint security system. This circuit uses the Atmel IC 2051 i.e. AT89C2051 an 8-bit microcontroller IC.AT89C2051 is a low voltage, high performance CMOS 8-bit microcomputer with 2K bytes of flash programmable and erasable read-only memory (PEROM).It has operating range from 2.7V to 6V. AT89C2051 is also equipped within by a 128x8-bit internal RAM and two 16-bit counters. Also, general purpose switching and amplification transistors BC547 have been used in the circuit.

Circuit for home security- page 1

The above designed circuit represents an automated home security system. This is the first part; sensor circuit has been described in the latter post below. This circuit uses the Atmel IC 8052 i.e. AT89C52 an 8-bit microcomputer IC.AT89C52 is a low power, high performance CMOS 8-bit microcontroller with 8K bytes of Flash Programmable and erasable read only memory (PEROM) i.e. In-System reprogrammable (ISP) flash memory and a three level program memory lock. AT89C52 is also equipped within by a 256X8-bit internal RAM and three 16-bit counters.

Circuit for Home security (contd.) - touch sensor

The above designed circuit represents an automated home security system-sensor circuit. This is the second part for the above post.It describes the design of the touch sensors required to gather input for the above posted circuit i.e. the circuit for home security system.

Circuit for automatic room light controller

The above designed circuit represents an automatic room light controller. Here Infrared (IR) sensors has been used to sense and provide an input to trigger the 555 timer. This circuit uses the Atmel IC 8052 i.e. AT89S52 an 8-bit microcontroller IC.AT89S52 is a low voltage, high performance CMOS 8-bit microcontroller with 8K bytes of In-System programmable (ISP) flash memory and a three level program memory lock. It has operating range from 4.0V to 5.5V. AT89S52 is also equipped within by a 256X8-bit internal RAM and three 16-bit counters. Also, general purpose switching and amplification transistors BC547 and medium power transistors suitable for a wide range of medium voltage and current amplifier applications have been used in the circuit.

Circuit for traffic control system

This is the circuit designed as a hobby project. Here, an automated traffic control system has been prepared. This circuit uses the Atmel IC 2051 i.e. AT89C2051 an 8-bit microcontroller IC.AT89C2051 is a low voltage, high performance CMOS 8-bit microcomputer with 2K bytes of flash programmable and erasable read-only memory (PEROM).It has operating range from 2.7V to 6V. AT89C2051 is also equipped within by a 128x8-bit internal RAM and two 16-bit counters. Also, to provide a 5V supply from the ac power supply a rectifier circuit has been implemented before the positive voltage regulator LM7805.

Circuit for wireless doorbell transmitter circuit

The transmitter circuit is made up of two building blocks - the 303MHz RF oscillator and the 32 kHz crystal controlled oscillator.

The 303MHz oscillator consists of a self-oscillating circuit made up of the coil on the PC board and a 9p (9 puff) capacitor (actually 4p and 5p in parallel).
The circuit starts-up by the transistor producing noise. This rising-and-falling signal on the collector is passed to the parallel tuned circuit (the tank circuit) and the base sees a very smooth sine wave at a frequency of 303MHz.
This sine wave is then amplified by the transistor and this is how the 303MHz frequency is generated.
Now we come to the purpose of the 15microhenry choke on the tank circuit.
When the circuit oscillates, it takes a larger and small amount of current.
This current passes through the choke and the turns produce a back- emf or back voltage that fights against the flow (change) in current. The end effect is a voltage created at the point where the choke is connected to the track-work on the board. This effectively allows the track work to produce a waveform and since the frequency of this wave is very high, a percentage of the energy is radiated into the air as electromagnetic energy.
The choke allows the track-work to effectively rise and fall while providing a very low resistance path for the flow of current during certain parts of the cycle.

The second building block is the crystal oscillator.
This is made up of a two-stage DC coupled amplifier with feedback via the 2n2 and crystal.
If the crystal is removed, the oscillator is seen as producing very narrow spikes with a frequency determined by the 2n2.
When the crystal is added, the frequency increases (because the effect of the 2n2 and crystal in series creates a lower capacitance than 2n2) and as it rises, the amplitude of the feedback signal increases until it reaches a maximum at the resonant frequency of the crystal. The crystal exhibits the lowest impedance (the highest capacitance) at the resonant frequency. This is how the circuit stabilizes at the frequency of the crystal.
When the device is turned on, the 150k on the base of the second transistor turns the transistor on.
The third transistor has 0.65v on the collector and the base also receives very close to 0.65v, via the 220k resistor.
The third transistor is not fully turned on and it produces a small amount of noise. This noise is passed to the second transistor and appears on the collector. The collector passes this noise to the base of the third transistor and the noise very rapidly increases to a maximum.
It comes to a point where the waveform above is generated and the reason why the spikes are so narrow is easy to explain.
When the middle transistor changes from an OFF state to an ON state, the capacitor will be partially charged and the voltage on the end connected to the base of the third transistor will drop about 6v and put a negative voltage on the base of the third transistor. This will keep it off and the middle transistor will be kept ON via the 150k base-resistor.
The capacitor will gradually charge in the opposite direction via the 220k and 150k and when the base of the third transistor sees about 0.6v, it begins to turn ON.
This causes the middle transistor to turn OFF and the collector voltage rises. This causes the capacitor to charge and create a current-flow in the base of the third transistor. Both transistors are now turned ON and the capacitor charges very quickly via the 12k and base-emitter junction of the third transistor. This creates the very narrow high-period in the waveform.

When the push button is pressed, the circuit produces a 303MHz carrier with a 32 kHz tone.
The receiver detects the 32 kHz and turns on a SOUND chip.

Circuit for wireless doorbell receiver circuit

>
The first stage is actually a 303MHz oscillator that is operating all the time.
It produces a clean 303MHz signal and this frequency is too high to be detected or processed by the 4069 chip, as the chip will only operate to about 1MHz.
The theory behind using this type of stage is quite simple.
It is easier to "upset" or modify a stage that is already oscillating, rather than get a non-oscillating stage to begin oscillating.
There are all sorts of electromagnetic radiation at 300MHz and the 2-turn coil picks up all this noise.
The 303MHz oscillator is firstly set into operation by the noise produced by the transistor and this is passed to the tank circuit made up of the 2-turn coil and 2p capacitor as a parallel tuned circuit. The transistor keeps amplifying this until it gets to a stabilized point where the collector is producing "hash" (junk) of about 300mV.
When the transmitter is activated, the receiver circuit will detect a signal as small as a few micro-volts and the 32 kHz signal will be included with all the other noise.
There is a little bit more behind this receiving stage, than first meets the eye.
The stage is actually a transmitter, but we will still call it the receiver circuit. Yes, it is a very weak transmitter and it fills the surrounding with a clean 303MHz signal. When the 303MHz signal from the transmitter enters this space, the signals interfere with one another and the receiver takes more and less current as it tries to maintain the signal strength. When the 32 kHz signal is present, the receiver takes a varying current that corresponds to the 32 kHz signal and this is how the receiver circuit produces the waveform to correspond to the 32 KHz.
A low-impedance path to the 0v rail is provided for the emitter by using a 82uH choke and a 2n2 capacitor across a 560R resistor. This low impedance path is needed so that the transistor has a high gain.
The circuit is put into very delicate oscillation by using a 1k5 from the positive rail.
It operates from 3v and the current taken by this stage is less than 1mA.

The first inverter has a 1M connected between the output and input to set it to mid rail so it becomes a high-gain amplifier.
The second and third inverters also amplify the signal and on pin 6 we have a signal greater than 0.6v containing a lot of noise and an identifiable 32 kHz waveform.
The 32 kHz crystal only allows the 32 kHz signal to pass and the base of the transistor sees a very clean signal. Any other frequencies will not appear on the base of the transistor. The 32 kHz is further amplified with two more stages and appears at pin 10 of the chip.
It is then passed to a diode pump that charges a 47u electrolytic.
Normally, this electrolytic is uncharged and pin 8 is HIGH. The PNP transistor is not turned on and the sound chip is silent.
But when the electrolytic charges, the transistor turns on and the sound chip operates.

Circuit for wireless doorbell transmitter circuit(without crystal)

If you want to build this project using your own components, but do not have the 32kHz crystals, above is a modification that does not need them in the wireless doorbell transmitter circuit.

Circuit for wireless doorbell receiver circuit (without crystal)

If you want to build this project using your own components, but do not have the 32kHz crystals, above is a modification that does not need them in the wireless doorbell receiver circuit.

Circuit for remote appliance switch

Circuit for remote toggle switch

circuit for superheterodyne receiver

Circuit for controlling DC motor using IC L293D

This is a very basic circuit.It describes the pin connections of IC L293D i.e. a push pull four channel driver with diodes. L293D is a monolithic integrated high voltage, high current four channel driver designed to accept standard DTL or TTL logic levels and drive inductive loads and switching power transistors.It has 600mA output current capability per channel and 1.2A peak output current per channel (non repetitive).