TOUCH SWITCH

Sunday, 3 April 2011

COMPUTER MICROPHONE

Interfacing Microphones to Computer Sound Cards

Most sound card microphone inputs require a minimum signal level of at least 10 millivolts, but some older 8-bit cards need as much as 100 millivolts. The typical impedance of the PC soundcard microphone input is in order of 1 to 20 kohms (can vary from card to card). The microphone type which works best with computer sound cards is the electret microphone.
Sound Blaster soundcards (SB16, SB32, AWE32, AWE64 or Live) from Creative Labs have a 3.5mm (1/8 inch) pink stereo jack for the microphone input, with the following pinout: Standard 3.5mm microphone jack
  1. Signal input (tip)
  2. +5V bias (ring)
  3. Ground (sleeve)
Note: Most soundcards will wire the positive DC bias voltage to the ring, but a small number of non-standard soundcards can have the bias voltage wired to the tip. A few cards have a jumper which enables or disables the power to the microphone jack. If the jumper is put on, the bias voltage ( +5V through a few kiloohm resistor) is wired to the tip. Newer mainboards with stereo microphone support will provide the bias voltage for both the tip and ring.
Standard sound card microphone input The approximate schematic of a Sound Blaster microphone input circuitry shows that the +5V voltage on the connector is heavily current limited. The card's voltage might not be exactly 5V, but it is usually something between 3 and 5 volts when no microphone is connected.

Electret microphones

The electret microphone is the cheapest omnidirectional microphone you can buy. Very sensitive, durable, extremely compact in size, electret mics are used in many applications where a small and inexpensive microphone with reasonably good performance is needed. You can find them in almost every stereo equipment, in consumer video cameras, mobile phones and so on.
Electret microphone
The electret is a modified version of the classic capacitor microphone, which exploits changes in capacitance due to mechanical vibrations to produce a small voltage proportional to sound waves. The electret does not need an applied (or phantom) voltage like the condenser microphone -- as it has a built-in charge -- but a few volts are still required to power the internal Field Effect Transistor (FET) buffer.
The bias is needed for the small built-in FET follower which converts the very high impedance of the electret element (tens of megohms) to an acceptable level (several kohms).
Electret microphone to sound card schematic
The circuit on the left shows a safe way to connect electret microphone capsules to old, non-standard soundcards. Build this circuit only if the simple schematic below does not work.

The component values are not critical; you can use any capacitor between 1uF and 22uF, and a resistor value from 1k to 22k.
Simple Electret microphone to sound card schematic A simple modification which works with most soundcards is presented on the right. The circuit works because usually the power is fed to the microphone connector through a few kohm resistor and the DC bias on the tip is removed by the input capacitor inside the card.
Use a simple one conductor shielded cable: wire the shield to the connector's sleeve; connect the ring and tip to the central conductor.
Note: A few, recently manufactured PCs have implemented true stereo microphone inputs. High performance speech recognition and advanced noise canceling applications -- see the Andrea Superbeam Array stereo microphone -- make good use of this new feature, providing more accurate and reliable signals in noisy environments. Stereo computer microphone schematic diagram
When the stereo mic input mode is selected, the bias voltage will be provided for both the tip and the ring. The wiring for a stereo microphone is simple -- see the schematic diagram on the left -- connect the shield of both microphones to the sleeve of the plug, the left mic to the tip and the right mic to the ring. For best performance, use unidirectional electret microphones.

Connecting dynamic microphones

Dynamic microphone to sound card connection diagram Quality dynamic microphones usually do provide sufficient signal to drive a reasonably good computer sound card. All you must do is to wire the mic properly, and in some cases, turn on the mic preamplifier built into the sound card (called 'mic boost' on most PCs).
The connection is as simple as it gets: wire the microphone to the tip and sleeve of the sound card's microphone input. Leave the ring (bias) pin open, do not connect it to anything.
Most professional mics will be fitted with the standard XLR connector. To make a simple adaptor, wire the mic audio (XLR pin 2) to the sound card input connector's tip; wire the mic audio return (XLR pin 3) and the shield (XLR pin 1) to the sleeve.
Note: Some non-standard soundcards will have the bias voltage wired to the tip. Also, new PCs with stereo microphone inputs will provide the bias voltage to both the tip and ring of the microphone input when the stereo mic input mode is selected. This situation needs special care -- the sound card's bias circuit is current limited, so your microphone may survive this small DC bias, but it will probably cause severe distortion. A simple solution is to insert a small capacitor between the mic audio output and the mic input to cut the DC current.
There are a few cases when your dynamic microphone does not provide the signal level required by your hardware -- you'll end up with a very poor sound with lots of noise, even when you turn on the sound card's internal preamp. An easy solution is to build a microphone preamplifier similar to this simple single transistor circuit below:
Simple dynamic microphone amplifier schematic
The amplification is small, but it's enough to make the signals compatible with the sound card's input. The circuit does not need any external power supply, it uses the bias voltage (around +5V) of the sound card.

Simple BFO Metal Detector Schematic Diagram

Simple BFO Metal Detector Schematic Diagram

This simple BFO metal detector requires only a few of components and an evening's work. The two oscillators are simple Colpitts designs using BJT transistors. The reference oscillator's frequency is approximately 370kHz, slightly tunable with the help of a silicon varactor diode. The outputs of the two oscillators are fed to a mixer made with Q3 and Q4. The signal then goes through a low-pass filter (R13, C13) and a JFET preamp. The LM386 audio amplifier has a gain of 20, more than enough for most headphones. If you need more gain, you can add a 10uF capacitor between pins 1 and 8.
Simple BFO metal detector
Fig. 1: Simple BFO metal detector schematic diagram

Parts list:

Resistors:

  • R1, R3, R5, R7: 22kΩ resistors
  • R2, R6: 1kΩ resistors
  • R4, R9, R12: 15kΩ resistors
  • R8, R10, R11: 47kΩ resistors
  • R13: 2.2kΩ resistor
  • R14: 1MΩ resistor
  • R15: 8.2kΩ resistor
  • R16: 680Ω resistor
  • R17: 10Ω resistor
  • P1: 10kΩ lin. potentiometer (Tune)
  • P2: 10kΩ log. potentiometer (Volume)

Other parts:

  • L1: 10cm (4in.) diameter, 20 turns, AWG 22
  • L1: 82uH inductor
  • SW1: SPDT toggle switch
  • J1: Headphone jack 1/4 or 1/8 inch

Capacitors:

  • C1, C6, C7, C12, C14: 100nF capacitors
  • C2, C8: 22nF low temp. coef. capacitors
  • C3, C9: 2.2nF low temp. coef. capacitors
  • C4, C10: 10pF ceramic capacitors
  • C5, C11: 4.7uF/16V electrolytic
  • C13: 10nF capacitor
  • C15: 47nF capacitor
  • C16, C17: 220uF/16V electrolytic

Active components:

  • D1: NTE618 silicon varactor diode (20-440pF)
  • Q1-Q4: 2N2222 NPN silicon transistors
  • Q5: 2N5951 JFET transistor
  • IC1: LM386 (Audio amplifier IC)
The coil should have 20 turns of 0.65 mm (AWG 22) enameled copper wire wound on a 10 cm (4in.) diameter form. Wrap the completed loop with strips of aluminum foil or copper shield tape, then connect the shield to the ground. Make sure the Faraday shield has a gap at one point, so it does not make a shorted loop. You should mechanically secure the coil to a nonmetallic form to prevent microphonics.
After assembly, connect the headphones and slowly turn P1. The pitch will get lower until it disappears. Continuing to rotate P1 in the same direction will cause the pitch to rise again. The point at witch the pitch is the lowest and disappears is called "zero beat". If you can not get this zero beat frequency for the entire turn of P1 you may have to increase or decrease the value of L2.
Turn P1 close to the zero beat position (a tone of 50Hz-200Hz), then move the search coil near a metallic object. The tone should change, depending on the size and distance of the metal.
Note: this simple circuit will only detect relative large metallic objects at a short distance. Coins and other small objects will be much harder to find! If you want to build a detector with a performance comparable to commercial products, try a PI or VLF design.

Glow Tile

Saturday, 2 April 2011

Telekinetic Pen

Mysterious Lightbulb Hack

LAZER SECURITY