年紀已經可以稱"老",就有一些老心情要說一說,否則就忘了。

2011年7月26日 星期二

5V LDO 電路 (7805)

這是由網路找到的。
The best regulators for using in electronic projects are the 78LXX (78L05, 78L09, 78L12, 78L15 … ). I searched google for the application notes and I found them easily (look in the bottom part of the page for the download link).

Their typical application was the IC + 2 small condensers (the input is at 0.33uF and the output is at 0.01uF), but after some tryouts and more googling I found this page which, too be honest with you, I consider it to be the best circuit over the web.
I tested the circuit and it worked like charmed.
Reading the application note we see that the input voltage must be between 7V and 20V and the output voltage is between 4.75V – 5.25V .

IC1 = 78L05 / 78M05 / 7805 (差異:0.1A/0.5A/1.0A。當然,7805靜態功率較大)
78L05.GIF
所需元件
  • D1 = 1N4007
  • C1 = 100uF
  • C2 = 10uF

2011年2月20日 星期日

Audio Pre-Amplifier




Simple Stereo Electret Microphone Preamplifier

Simple Stereo Electret Microphone Preamplifier

uilding a 'Quieter-than-a-Whisper' Mini-PC - Microphone preamp

From: Here

Building a 'Quieter-than-a-Whisper' Mini-PC

Index

Microphone preamp

It is widely known that the microphone amplifier in most sound cards has low sensitivity and poor frequency response. I do not mean USB microphones, which is a different story. Browsing consumer reports for various electret microphones one can be surprised that the same model is acceptable for some users and is absolutely inappropriate for others. I believe this is so not just because all people are different but also because the sound cards and microphones of various manufactures differ greatly in parameters. Actually, there is no single standard on the sensitivity of a microphone input of computer sound cards and the computer microphone response. This leads to a huge scattering of a microphone's behavior and one should be really lucky for a randomly chosen mic to work well with one's computer.

On top of this, most inexpensive ($3 - $15) electret computer microphones use very similar capsules and built-in FET (field effect transistor) preamps. They produce a voltage of 1-5 millivolts in normal conditions, while the sensitivity of the microphone input of sound cards is usually of the order of several dozens millivolts. Hence, in order for your voice to reach the computer software at an appropriate level one should either shout into the mic or chew it with one's lips. Is there any solution for this situation other than invest $$$ in a good quality mic and sound card? Sure - one can build a microphone amplifier.

Just a one-transistor circuit shown to the left of the dotted line below does the job. I took as a prototype the one designed by Tomi Engdahl, see here for details. Instead of using the microphone input of the sound card one should plug it into a CD input of the motherboard, which has a way better frequency response and appropriate sensibility. One can also use the line input available on all sound cards. I use a Labtec Verse 524 electret microphone available for $5 - $10 online. I also tried a generic $3 "no-name" microphone which works practically as good as this one.

circuit

The noise level of this amp is mainly determined by the used transistor. I used a low-noise transistor KT3102E (the left one on the circuit) with parameter hFE = 650 manufactured in Russia just because I had it handy. A similar result can be obtained with internationally wide-spread low-noise transistors BC547B, or BC549, or their analogs. If a little noise is not a big problem, one can use a standard 2N2222, or 2N3904, or virtually any other silicon bipolar NPN transistor. The 51Ohm resistor in the emitter of the left transistor introduces a DC-feedback to improve the thermal stability of the unit. It is short-cut by an electrolytic capacitor to reduce the AC-feedback and increase the amplification. The 4.7K resistor is needed to provide the bias voltage for the mic's built-in FET. Two electrolytic capacitors connected to the mic compose a nonpolar capacitor. They can be replaced with just one. In this case the plus of the capacitor should be attached to a point at a higher potential chosen between the mic output and the base of the transistor. This depends on the used transistor and the mic which makes is difficult to predict. A direct voltage measurement with a high-impedance voltmeter is the easiest way to figure this out.

You will be amazed what this simple circuit can do. Although this is far from being a professional device, the captured voice quality is more than satisfactory. If I move 15' away from the mic it still is able to catch my voice. In real conditions I just place it in a corner of my desk ~3 feet from my head and speak normally as I would talk to somebody next to me. The mic works perfectly. The sound is very grasp and clear with no noticeable excessive noise. The QAMix mixer application (for ALSA on Linux) is used to set up the capture level from the CD input of my motherboard to 80%. One can drop it down in a noisy room and move the mic closer to oneself. The mic's sensitivity is somewhat higher than the one of the USB microphones built into the webcams. Here are my sample recordings with this preamp:

The circuit is mounted on a small board, the layout is straightforward. Actually, the picture below shows my first attempt at the preamp when I ran it from a 6V battery (4x AA cells). The design did not have the LF filter (the 150Ohm resistor and the large capacitor from the filter part are on the board). When I attempted to run this circuit from the +5V microphone connector on the motherboard, it turns out that it is not grounded to the chassis. In my design the ground connector of the mic jack has an electric contact with the chassis, while the CD input pins of the sound card are floating and not electrically connected with the chassis. So, I needed a power source grounded to the chassis. I tried to run the circuit from a +5V connector on the USB port which is definitely grounded. The circuit consumes less than 2mA of current and practically does not load the USB port, which can easily handle a 500mA load. However, this voltage is not filtered out good enough and there are ~10mV pulsations percolating through the preamp circuit to the CD input of the motherboard. This results in a noticeable 60Hz background humming. After adding the LF filter shown to the right from the dotted line the humming completely disappeared. You do not need this filter if you run the circuit from a battery.

The preamp circuit board
Fig. 35: The preamp circuit board

The board is mounted directly on the USB bracket. I drilled a hole for the 1/8" (3.5mm) microphone jack and fixed it on the bracket with the jack's nut. The board is very light and this mounting is pretty reliable. The jack and all other electronic components are available at RadioShack. One can use a similar approach to mount the board in a free bracket space of other PC extension cards.

Mounting the board on the USB bracket
Fig. 36: Mounting the board on the USB bracket

Here is a view of the board inside the PC. A longer than necessary blue cable connects it to the motherboard CD input. I just did not bother to shorten it out after the experiments. Since this is a mono-device, the left and right inputs of the CD connector should be short-cut. The red wavy wire is connected to the +5V pin of the on-board USB port. The LF filter elements are still not shown there. I added them later and mounted them on both sides of the circuit board. The layout is not very neat to display, next time I should be more careful in preliminary testing ;^)

The board inside the computer case
Fig. 37: The board inside the computer case

The preamp works perfectly fine with Skype under Linux, my friends notice a good sound quality. Too bad that currently Skype for Linux software does not support video. Hopefully this will be fixed in future releases.

2011年2月10日 星期四

Here’s a single chip FM transmitter circuit using Maxim semiconductors IC MAX2606. The MAX2606 is a compact, high-performance intermediate frequency VCO specially designed for wireless communication circuits. They have monolithic construction with low-noise and a low-power operation in a compact 6-pin SOT23 packing .Th1s low-noise IC feature an on-chip varicap diode and feedback capacitances that avoid the need for external tuning components, making the MAX2606 perfect for portable systems. Only an external inductor is needed to set the oscillation frequency.In addition to this, an
integrated differential output buffer is also there for driving a mixer or prescaler.The MAX2606 can be operated from a single +2.8 V to +5.4V supply and consumes very less current .The chip can be operated from 45MHz to 650MHz .

In the circuit the nominal frequency is set to 100 Mhz by inductor L1, (390nH) . The left and right channel audio signals from your source are added by R3 and R4, and attenuated by the POT R2. R2 can be used as a volume control .POT R1 can be used to select a channel of transmission between 88Mhz and 108Mhz.Use 80 cm long wire as the antenna .




From: Here

2011年1月26日 星期三

TDA 2822雙聲道

TDA 1516 BTL設計

設計一個便宜的高感麥克風

一個有趣的網路文章,圖片已經不見了,
可是仍然可以借鏡:

有用Skype注意囉..教你如何解決麥克風聲音小或雜音

真正無干擾的麥克風一支要價也不便宜...都要1千多起跳~~~

我現在教大家如何省錢~~還可以跟一支3~4千元的電腦麥克風同樣等級......

準備手機專用的原廠耳麥 (現在大家都會續約手機,所以這類的耳機麥克風都會多出來,....但我們只要那一個麥克風就好,千萬不要用副廠的..)(最好選用若基亞的~~因為他的麥克風過濾做的很好~~~)

將原廠耳機麥克風拆了

拿去插電腦測試

把麥克風音量條到最大,還不一定會出現共鳴的聲音,
說話聽到自己的聲音也超清晰的,
對方也說完全沒干擾聲音。

人遠遠的說話,對方也聽的很清楚。



電容麥克風前置放大器

網路上找了一個
使用運算放大器設計的
電容麥克風前置放大器
原文與電路抄錄如下:

最近在網路上找了一個
使用運算放大器設計的
電容麥克風前置放大器
很適合拿來當電腦麥克風放大器使用
在此跟大家分享

圖檔
此電路是使用 TLC272 運算放大器設計
它是一顆使用 LinCMOS 製程的運放
使用5V單電源就可正常運作
此電路分二級放大
麥克風增益可調整
前級放大倍數約100倍
二級放大倍數約2.5倍
合計約250倍
運用在電容麥克風上
靈敏度還不錯

雖然設計是使用 TLC272 運放
但經測試用 TL072 NE5532 等同腳位運放
也可於5V電壓上正常動作

電路上的 JUMP 是設計來切換
使用動圈式麥克風

圖檔

這個電路板同樣是用市售的
15孔 X 25孔的洞洞板製作而成
很適合沒空做電路板的人自己DIY
這是它的正面

圖檔

還有許多圖片,就不放了。

LM386 BTL

這是一個LM386 BTL設計,可以增加輸出swing。
LM386最好成對以避免嘶嘶聲














一個簡單的麥克風前級