Friday, October 17, 2014

lm317 3 3 v schematic diagram

lm317 3.3 v schematic diagram

The more expensive LM117 uses a 240 ohm resistor for R1. The LM317 is supposed to use a 120 om resistor or less so that its output voltage doesnt rise without a load if it has its max rated operating current and if its input voltage is high.

With 120 ohms for R1 and 360 ohms for R2 the output is 5.0V.
with 120 ohms for R1 and 200 ohms for R2 the output voltage is 3.333V.These resistors are common 5% values.
Read More..

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..

5 Zone Alarm System

This is a complete alarm system with 5 independent zones suitable for a small office or home environment. It uses just 3 CMOS ICs and features a timed entry / exit zone, 4 immediate zones and a panic button. There are indicators for each zone a "system armed" indicator. The schematic is as follows:





Circuit Notes
Each zone uses a normally closed contact. These can be micro switches or standard alarm contacts (usually reed switches). Suitable switches can be bought from alarm shops and concealed in door frames, or window ledges.

Zone 1 is a timed zone which must be used as the entry and exit point of the building. Zones 2 - 5 are immediate zones, which will trigger the alarm with no delay. Some RF immunity is provided for long wiring runs by the input capacitors, C1-C5. C7 and R14 also form a transient suppressor. The key switch acts as the Set/Unset and Reset switch. For good security this should be the metal type with a key.

Operation
At switch on, C6 will charge via R11, this acts as the exit delay and is set to around 30 seconds. This can be altered by varying either C6 or R11. Once the timing period has elapsed, LED6 will light, meaning the system is armed. LED6 may be mounted externally (at the bell box for example) and provides visual indication that the system has set. Once set any contact that opens will trigger the alarm, including Zone 1. To prevent triggering the alarm on entry to the building, the concealed re-entry switch must be operated. This will discharge C6 and start the entry timer. The re-entry switch could be a concealed reed switch, located anywhere in a door frame, but invisible to the eye. The panic switch, when pressed, will trigger the alarm when set. Relay contacts RLA1 provide the latch, RLA2 operate the siren or buzzer.
Read More..

Thursday, October 16, 2014

10 000x With One Transistor

For a collector follower with emitter resistor, you’ll often find that the gain per stage is no more than 10 to 50 times. The gain increases when the emitter resistor is omitted. Unfortunately, the distortion also increases. With a ubiquitous transistor such as the BC547B, the gain of the transistor is roughly equal to 40 times the collector current (Ic), provided the collector current is less than a few milliamps. This value is in theory equal to the expression q/KT, where q is the charge of the electron, K is Boltzmann’s constant and T is the temperature in Kelvin.

For simplicity, and assuming room temperature, we round this value to 40. For a single stage amplifier circuit with grounded emitter it holds that the gain Uout /Uin (for AC voltage) is in theory equal to SRc. As we observed before, the slope S is about 40Ic. From this follows that the gain is approximately equal to 40I cRc. What does this mean? In the first instance this leads to a very practical rule of thumb: that gain of a grounded emitter circuit amounts to 40·I c·Rc, which is equal to 40 times the voltage across the collector resistor.

If Ub is, for example, equal to 12 V and the collector is set to 5V, then we know, irrespective of the values of the resistors that the gain will be about 40R(12–5) = 280. Notable is the fact that in this way the gain can be very high in theory, by selecting a high power supply voltage. Such a voltage could be obtained from an isolating transformer from the mains. An isolating transformer can be made by connecting the secondaries of two transformers together, which results in a galvanically isolated mains voltage.

10,000x With One Transistor Circuit diagram:


That means, that with a mains voltage of 240 Veff there will be about 340 V DC after rectification and filtering. If in the amplifier circuit the power supply voltage is now 340 V and the collector voltage is 2 V, then the gain is in theory equal to 40 x (340–2). This is more than 13,500 times! However, there are a few drawbacks in practice. This is related to the output characteristic of the transistor. In practice, it turns out that the transistor does actually have an output resistor between collector and emitter.

This output resistance exists as a transistor parameter and is called ‘hoe’. In normal designs this parameter is of no consequence because it has no noticeable effect if the collector resistor is not large. When powering the amplifier from 340 V and setting the collector current to 1 mA, the collector resistor will have a value of 338 k. Whether the ‘hoe’-parameter has any influence depends in the type of transistor. We also note that with such high gains, the base-collector capacitance in particular will start to play a role.

As a consequence the input frequency may not be too high. For a higher bandwidth we will have to use a transistor with small Cbc, such as a BF494 or perhaps even an SHF transistor such as a BFR91A. We will have to adjust the value of the base resistor to the new hfe. The author has carried out measurements with a BC547B at a power supply voltage of 30 V. A value of 2 V was chosen for the collector voltage. Measurements confirm the rule of thumb. The gain was more than 1,000 times and the effects of ‘hoe’ and the base-collector capacitance were not noticeable because of the now much smaller collector resistor.

Author: Gert Baars Copyright: Elektor Electronics
Read More..

10A Stabilized Circuit Diagram

This is a heavier power supply that can deliver. 10A stabilized. The circuit is built around a normal 78xx controller, but for extra power equipped with T1.For the 78xx can be taken any type. Keep in mind that the input voltage of the regulator, as the output-voltage. 

3V higher See 78xx power for the available controllers.T1 must be mounted on a large heatsink when installing large capacity decreased.A negative variant of this food can be found here.

 10A Stabilized Circuit Diagram

10A


Warning: This diet is not short circuit proof.


Parts List

     R1, R2 = 0.18 Ω 5W
     R3 = 2.2 Ω 2W
     C1 = 22000μF
     C2, C3 = 1μF
     B1 = 35A
     T1 = MJ15004
     IC1 = 78xx
Read More..

Voltage to Frequency Converter Circuit Diagram

Voltage to frequency converter circuit diagram has a 1 Hz-to-30 MHz output, 150-dB dynamic range, for a 0 to 5 V input. It maintains 0.08% linearity over its entire 71/3 decade range with a full-scale drift of about 20 ppm/°C. 

To get the additional bandwidth, the fast )FET buffer drives the Schottky TTL Schmitt trigger. The Schottky diode prevents the Schmitt trigger from ever seeing negative voltage at its input. The Schmitt`s input voltage hysteresis provides the limits which the oscillator runs between.

Voltage to Frequency Converter Circuit Diagram





Voltage to Frequency Converter Circuit Diagram
Read More..

LM380 Build 2 Watts Audio Amplifier Circuit Diagram

LM380, Build 2 Watts Audio Amplifier Circuit Diagram. Small audio amplifier is useful for audio troubleshooting or simple audio projects. It should be a low cost and easy to build. Using integrated circuit for this purpose is the right choice. With LM380  audio amplifier integrated circuit, 2 Watts power can be delivered. For better thermal endurance, a large copper track can be printed in the board to provide heat sinking, this copper track should be soldered to pins 4, 3, 10, 5, 12 and 11. Here is the schematic diagram of the circuit.

LM380, Build 2 Watts Audio Amplifier Circuit Diagram

 
Read More..