Friday, May 28, 2010

Universal Preamplifier

Description



Most audio amplifier systems must have preamplifiers with many different characteristics. These include high-gain linear response for magnetic microphones, low-gain linear response for tuners, and high-gain RIAA equalization for magnetic phone cartridges.

To meet this broad requirement, most amplifier designers include a single universal preamplifier circuit. Basically a high-gain linear amplifier, its characteristics can be altered by switching alternative resistor filter networks into its feedback system.

For example, when the selector switch is set to the Mag phono position, alternative input sources can be selected by S1-a, and appropriate linear-response gain control feedback resistors 220K, 470K, and 1M are now selected by S1-b. Those feedback resistor values are selected between 10 kilo ohms and 10 megohms to suit individual listener tastes. Circuit gain will be proportional, to the feedback resistor value.


Download


Download this circuit in PDF


2N3055 Power Amplifier

Simple and low cost. The optimal supply voltage is around 50V, but this amp work from 30 to 60V. The maximal input voltage is around 0.8 - 1V. As you can see, in this design the components have a big tolerance, so you can build it almost of the components, which you find at home. The and transistors can be any NPN type power transistor, but do not use Darlington types... The output power is around 60W.

Some comments:
- capacitor C1 regulates the low frequencies (bass), as the capacitance grows, the low frequncies are getting louder.
- capacitor C2 regulates the higher frequencies (treble), as the capacitance grows, the higher frequencies are getting quiter.
- this is a class B amplifier, this means, that a current must flow through the end transistors, even if there is no signal on the input. This current can be regulated with the 500Ω trimmer resistor. As this current incrases, the sound of the amplifier gets better, but the end transistors are more heating. But if this current decrases, the transistors are not heating so much, but the sound gets worse...



Amplifier schematic:

<>

credit : Jacint Chapo

Thursday, May 27, 2010

Motorola Hi-Fi power amplifier

This is a very simple, low cost, Hi-Fi quality power amplifier. You can build it 5 ways, like it� shown in the table (from 20 W to 80 W RMS).

Some comments:
- The first thing that you must do, is to measure the end transistors (T3 and T4) amplifying coefficient, the hfe or β. If their disagreement is bigger than 30 %, the amplifier would not give a clear sound. I used MJ3001 and MJ2501 transistors, and this disagreement was around 5%.
- Before the first �urning on�you must short circuit the inputs of the amp, and put a mA-meter on the output, than turn the amplifier on, and tune the R13 pot, to decrease the DC current on the output, to some uA-s, or in a lucky situation to zero. I was able to decrease it to 10 uA.

<>

I am very contented with this amplifier. It gives a very good sound quality.
Have fun with it!


Jacint Chapo
6. 5. 2005.

Download this project in .doc format

FET Audio Mixer

This simple circuit mixes two or more channels into one channel (eg. stereo into mono). The circuit can mix as many or as few channels as you like and consumes very little power. The mixer is shown with two inputs, but you can add as many as you want by just duplicating the "sections" which are clearly visible on the schematic.

Schematic


This is the schematic of the Mixer

Parts







Notes

1. As many or as few channels as are required can be added to the mixer. Do this by just duplicating the input "sections" which are clearly shown on the schematic. One version of this mixer I saw had 25 inputs!

2. A shielded case is probably needed to reduce hum and help stop oscillations.

3. The circuit can be powered by a single 9 volt battery.

Digital Volume Control

This digital volume control has no pot to wear out and introduces almost no noise in the circuit. Instead, the volume is controlled by pressing UP and DOWN buttons. This simple circuit would be a great touch to any home audio project.

Schematic


Schematic for amp








Notes:

1. U1 is available from Dallas Semiconductor.

2. S1 turns the volume up, S2 turns it down.

3. The input signal should not fall below -0.2 volts.

4. Using a dual polariity power supply (+-5V works fine) will cure most clipping problems. You will have to check the data sheet for the correct pins to connect your voltages.

Speech Recorder

taleting.gif (32739 bytes)

PARTS LIST

R1 = 1k
R2 = 470k
R3 = 10k
R4 = 5k1
R5 = 4k7
R6,7 = 100k
R8,9 = 1M
R10 = 10R
C1-10 = 100nF/63V
C11 = 47nF/63V
E1,4 = 220uF/16V
E2 = 4u7F/16V
E3 = 22uF/16V
IC1 = ISD2560 + socket
IC2 =LM78L05
IC3 = LM386 + socket
MIC = Condensator microphone
S1,2 = Pushbutton (S1 = Start and Pause. S2 = Stop and Reset)
S3 = Change-over switch
Hψjttaler = 8R speaker

The 2 pushbuttons = S1: Start/Pause. S2: Stop/Reset.
If you want to play your message, put S3 at Play. Then push S1 to start playing and again to pause.
If you want to delete your message press S2 twice.
If you want to record a message put S3 at Rec. Then push S1 to start and S2 to stop.

Microcontroller

การเขียนโปรแกรม Microcontroller

ภาษาที่ใช้สำหรับการเขียน โปรแกรมบน Microcontoller (ต่อไปจะของเรียกสั้นๆว่า MCU) แบ่งได้เช่นเดียวกับการเขียนโปรแกรมบนคอมพิวเตอร์คือ ภาษาระดับสูง และภาษาระดับต่ำ

ภาษาระดับสูงเช่น C, Basic ข้อดีคือเขียนง่าย, แก้ไขเปลี่ยนแปลง หรือเพิ่มเติมได้ง่าย ส่วนข้อเสียก็คือการทำงานจะช้า ขนาดโปรแกรมที่เขียนมีขนาดใหญ่

ภาษาระดับต่ำ ซึ่งก็คือ ภาษา Assembly ข้อดีคือ ตัว compiler แจกฟรี ขนาดโปรแกรมหลังจาก compiled แล้วมีขนาดเล็ก โปรแกรมมีความเร็ว แต่ข้อเสียก็คือเขียนยาก เพราะลักษณะภาษาไม่ค่อยสื่อความหมาย แก้ไขเปลี่ยนแปลงยาก

รูปแบบการเขียนโปรแกรม Microcontroller สามารถแบ่งได้ดังนี้

  1. เขียนด้วยภาษา Assembly แบบ ไฟล์เดียว หลังจากนั้นก็ทำการ Compile ด้วย Assembler ของ MCU ตัวนั้น ซึ่งส่วนในผู้ผลิต Chip MCU จะแจกจ่ายให้ฟรี สำหรับ Assembler ของMicrochip ก็คือ MPASM โดยไฟล์ที่ได้มามีได้หลายชนิดแต่ส่วนใหญ่จะอยู่ในรูปของ Hex file
  2. ใช้ภาษา Assembly เช่นกัน แต่แบ่งเป็นหลายๆ ไฟล์ หลังจากนั้นก็จะ Compile แต่ละไฟล์ให้ออกมาเป็น Object files และทำการรวมกันด้วย Linker ในขณะทำการ link ก็จะมี script file ของ MCU เบอร์นั้นๆ ประกอบ หลังจากทำการ Link แล้วก็จะได้ Hex file ออกมา
  3. ลักษณะสุดท้ายเป็นการเขียนด้วยภาษา สูง ซึ่งภาษาสูงที่ใช้อาจจะเป็น C, Basic ฯลฯ ซึ่งอาจจะเขียนร่วมกับ ภาษา assembly โดยไฟล์ที่เขียนจะถูกทำให้กลายเป็น Object files โดย Assmbler สำหรับภาษา Assembly และ Compiled โดย Compiler สำหรับภาษาสูง จากนั้นก็ทำการ Link เข้าด้วยกันด้วย Linker ซึ่งขณะทำการ Link ก็จะมีการรวมเอา Library ที่ถูกเรียกใช้ในโปรแกรมเข้าไปรวมด้วยกัน สุดท้ายก็จะออกมาเป็น Hex file

หลังจากได้ Hex file มาแล้ว เราก็จะทำการอัดโปรแกรมเข้าสู่ chip ด้วยตัวโปรแกรมเมอร์ ส่วนใหญ่จะมีรูปแบบคือ มี Software บนคอมพิวเตอร์ สำหรับใช้ในการควบคุมการอ่าน เขียน หรือ ลบ โดยส่วนใหญ่จะเชื่อมต่อไปยัง programmer ด้วย serial, parallel มีราคาให้เลือกตั้งแต่หลักร้อยไปจนถึงหลักหมื่น เมื่ออัดโปรแกรมเข้า chip ได้แล้วเราก็พร้อมจะนำไปทดสอบการทำงานต่อไป