Search Your Query

Custom Search

Sunday 19 June 2011

big pot full of water can be emptied by a small hole...



Even a big pot full of water can be emptied by a small hole...

So a little Anger or Ego can burn up all Nobility of a good heart...!!

Darood Shareef


Beshak! ALLAH Aur Us Ki Malaika Nabi-E-Kareem (S.A.W.W)
Pe DUROOD Bhaijhtay Hain,

Aay Eman Walon! Tum Bhi Nabi-E-Kareem (S.A.W.W)
Pe DUROOD Bhaijo..........!


ღ˚ •。* ♥ ˚ ˚✰˚ ˛★* 。 ღ˛° 。* °♥ ˚ • ★ *˚ .ღ 。
*˛˚ღ •˚ ˚صَلُّوا عَلَى الْحَبِيْب صَلَّى اﷲُ تَعَالٰى عَلٰى مُحَمَّد. ˚ ✰* ★
˚. ★ *˛ ˚♥* ✰。˚ ˚ღ。* ˛˚ ♥ 。✰˚* ˚ ★ღ ˚ 。✰ •* ˚ ♥"


ALAH PAR YAQEEN AISAY KARO


‎"ALAH PAR YAQEEN AISAY KARO"

1 Martaba 1 Ground mein Barish K Liye DUA Ki Jani Thi,

Sab Log Ahista Ahista Ground Mein Jama Hone Lage,
1 Bacha Ground Mein Chhatri Lekar Daakhil Hua
Sab Usay Dekh Kar Heraan Huye 1 Shakhs Ne Poocha.
Beta Ye Chhatri kiyun Laaye Ho?
Bache Ne Masumiyat Se Kaha.
"Jis ALLAH Se Maangne Aaye Ho Kya Us Par Itna bhi Yaqeen Nahi?

SUBHAN ALLAH!!!

remove someone sadness


If you cannot be a PENCIL to write anyones happines,
then try atleast to be a nice ERASER to remove someone sadness.. ! :)

edge of difficult


When ALLAH leads u 2 the edge of difficulty,
Trust HIM fully !!!
Only 2 things will happen.
Either HE wil catch you when you fall
Or HE wil teach you how 2 fly ..!!! INSHA ALLAH :)

Respect Parents

والد کا احترام کرو تاکہ تمہاری اولاد تمہارا احترام کرے

والد کی عزت کرو تاکہ اس سے فیض یاب ہوسکو

والد کا حکم مانو تا کہ خوشحال ہوسکو

والد کی باتیں غور سے سنو تاکہ دوسروں کی باتیں نہ سننی پڑی

والد کے سامنے اونچا نہ بولو ورنہ اللہ پاک تم کو نیچا کردے گا

والد ایک ذمہ دار انسان ہے جو اپنے خون پسینے سے خاندان کی نگرانی کرتا ہے

والد ایک مقدس محافظ ہے جو ساری زندگی اپنے خاندان کی نگرانی اور حفاظت کرتا ہے

والد کے آنسو تمہارے دکھ سے نہ گزریں ورنہ اللہ پاک تم کو جنت سے گرادے گا

Hadith


ایک دفعہ میں الله کے رسول(صلى الله عليه واله وسلم) کے
ہمرا کھانا کھا رہا تھا
اور میں (کھانے کے) برتن کی تمام اطراف سے کھا رہا تھا.
تو الله کے رسول(صلى الله عليه واله وسلم) نے فرمایا: " برتن کی اس طرف سے کھاؤ جو تمہارے نزدیک ہے "

بخاری:: کتاب 7 : جلد 65 : حدیث 289

Narrated 'Umar bin Al Salama(رضی الله تعالیٰ عنہ):

Once I ate a meal with Allah's Prophet(صلى الله عليه واله وسلم) and I was eating from all sides of the dish.
So Allah's Prophet(صلى الله عليه واله وسلم) said to me, "Eat of the dish what is nearer to you."

[ Bukhari :: Book 7 :: Volume 65 :: Hadith 289 ]


Honor of Man

کہ ایک مرد کی غیرت کا اندازہ

اسکی عورت کے لباس اور پردے سے لگایا جا سکتا ہے

The Honour/Respect of Man can be Estimated
by His Woman's Dressing Hijab/Naqaab

Khana Kabba

روشنیوں نے کعبۃ اللہ کو اس طرح جگمگا کر رکھا ہے کہ ہر لحظہ بقعہ نور نظر آتا ہے۔ رات کو یہ منظر اور بھی دلکش ہو جاتا ہے۔ آس پاس کے پہاڑوں سے معلوم ہوتا ہے کہ زمین نور اگل رہی ہے _


سبحان اللہ

Surat Al-'Imran


ہر جان موت کا مزہ چکھنے والی ہے اور تمہیں قیامت کے دن پورے پورے بدلے ملیں گے پھر جو کوئی دوزخ سے دور رکھا گیا اور بہشت میں داخل کیا گیا سو وہ پورا کامیاب ہوا اور دنیا کی زندگی سوائے دھوکے کی پونجی کے اور کچھ نہیں

___________________

Every soul shall taste of death; you she surely be paid in full your wages on the Day of Resurrection. Whosoever is removed from the Fire and admitted to Paradise, shall win the triumph. The present life is but the joy of delusion.

___________________

كُلُّ نَفسٍ ذائِقَةُ المَوتِ ۗ وَإِنَّما تُوَفَّونَ أُجورَكُم يَومَ القِيٰمَةِ ۖ فَمَن زُحزِحَ عَنِ النّارِ وَأُدخِلَ الجَنَّةَ فَقَد فازَ ۗ وَمَا الحَيوٰةُ الدُّنيا إِلّا مَتٰعُ الغُرورِ

____________________

Surat Al-'Imran, Medinan Verses No:185

Dedicated To Our Father's


* "Dedicated To Our Father's" *

=> Neend apni bhula kar sulaya hum ko

=> Aansu apne gira kar hansaya hum ko

=> Hath Apna Pakra kar pehla qadam chalna sikhaya hm ko

=> Dard kabhi na dena us ALLAH ki tameer ko

=> ALLAH ne kehlwaya hai baba jani jis ko

=> Love you DAD !!!!!

PLz Pray 4 our parents for long life (AMEEN)

And everything will turn out Good


Jab ALLAH Tumhare Pas Se Kuch Le Leta Hai,

To Ye Mat Socho K Woh Tumhain Saza De Raha Hai,

Balke Woh Tumhain Is Se Behtar Dene K liye Aazma Raha Hai…!

Just Keep Faith and Trust ALLAH

And everything will turn out Good.... INSHA ALLAH !!! :)

*Khoobsurat Soch*


*Khoobsurat Soch*

''Hamesha samjhota karna seekho!
Q K thora sa jhuk jaana,
Kisi rishtay ko hamesha K liye tor dene se bohat behtar hai..! :)

Winning horses


Winning horses never know..Why they run??

They run due to pain of the hunter,...

Life is a race...

& If u are in pain.....

It means,......ALLAH wants u to Win!!

Just think about it :)

Wazoo


Jab Musalman Wazoo karta hai
to us ke chahre, hath or paon se gunah nikal jate hain.

(Muslim:244)

SUBHAN ALLAH!!!

Pray



اپنی خاص رحمت سے عطا کردے

ایسی"معافی"جس کے بعد"گناہ"نہ ھو

ایسی"ھدایت"جس کے بعد"گمراھی"نہ ھو

ایسی"رضا"جس کے بعد"ناراضگی"نہ ھو

ایسی"رحمت"جس کے بعد عذاب"نہ ھو

ایسی"کامیابی"جس کے بعد"ناکامی"نہ ھو

ایسی"عزت"جس کے بعد" ذلت"نہ ھو

آمین


Wednesday 1 June 2011

How to construct a Infra Red Wireless Door Monitor


Door Monitor Project
This door monitor project uses an infrared beam to monitor door & passageways or any other area. When the beam is broken a relay is tripped which can be used to sound a bell or alarm. Suitable for detecting customers entering a shop, cars coming up a driveway, etc. The IR beam is very strong. Distances over 25 feet can be monitored. A 12V DC supply is required to power the circuit. A 12V wall adaptor is fine.
Provision has been made so that only one power supply needs to be used to power both units. The relay is rated to switch mains voltages.
Door Monitor Transmitter Board




The door monitor transmitter board consists of two square-wave oscillators, one running at approx. 250Hz and the other running at 38kHz. The 38kHz frequency acts as a carrier wave and is required by the IR receiver module on the receiver board. This carrier wave is “ANDed” or modulated by the 250Hz frequency to produce an output signal that contains bursts of 38kHz at a rate of 250Hz. This signal is used to drive an infrared LED. The oscillators are made by using two 555 timer ICs set up as “astable” (free running) multivibrators. IC1 is used for the 250Hz oscillator.Resistor R1 and R2 and capacitor C1 set the frequency. Another 555 chip, IC2, is used for the 38KHz oscillator. Resistors R4 and R5 and capacitor C3 set the frequency. Notice the diodes D1 and D3. These are provided to create a “symmetrical” output. Normally the external capacitor C1 (C3) charges through resistors R1 and R2 (R4 and R5) and discharges through R2 (R5). Without the diodes this output waveform would have a longer “high” time than the “low” time. The diode bypasses resistor R2 (and R5) when the capacitor is charging, so that it is only charged via R1 (or R5). This gives the same charging and discharging time and so the output waveform has equal high and low times.
The charge time (output high) is given by:
THIGH = 0.693 x R1 x C1 (or 0.693 x R4 x C3)
The discharge time (output low) is given by:
TLOW = 0.693 x R2 x C1 (or 0.693 x R5 x C3)
The output frequency = 1 / (THIGH + TLOW)

The output from the IC1 is coupled via diode D2 and resistor R3 to the ‘trigger’ input of IC2. When the IC1 output is low it stops IC2 from running and IC2’s output is forced high (no IR LED current). When IC1 output is high, IC2 runs and the IR LED is pulsed at 38KHz.
The Waitrony IR LED is driven directly from the output of IC2. Resistor R6 sets the maximum LED current. With a 12VDC supply the current is about 45mA (the LED drops 2V across it when conducting). Lowering the value of R6 will increase the current through the LED thus boosting the signal strength. This may be necessary if the kit is used outside in direct sunlight or if you need “very long range”. Keep in mind that the maximum current that the 555 can handle is 200mA
If the distance to be monitored is less than about 10 yards then you will need to fit the 5mm shrink tubing over the IR LED. This narrows the radiating angle of the IR beam and makes it much more directional. The IR output is strong. It can easily bounce off walls etc to give false readings.



Door Monitor Receiver Board




The door monitor receiver consists of an IR receiver module that detectsthe incoming IR beam from the transmitter. The IR signal isused to keep a capacitor charged which in turn holds a relayoperated. When the beam is broken the capacitor dischargesand the relay releases.An IR receiver/detector module, RX1, is made up of an an amplifier/filter circuit tuned to detect a 38kHz frequency. The output pin is low whenever a 38kHz signal is detected.When the IR beam is present the relay is operated. Not all Receiver Modules are the same. IR decoder module looks for a manufacturer-specific leader code before it decodes the modulated signal. The door monitor project produces an NEC compatible Leader code. The Kodenshi PIC37043LM and PIC12043LO decoder modules are the ones that are used in this project. If you use the incorrect IR decoder module the relay will not be operated continuously but will drop out after less than a second after power is applied.
The output of RX1 is the 250Hz signal from the transmitter. This signal is passed via transistor Q1, capacitor C1and diode D2 to capacitor C2. C2 is fully charged during the high portion of the signal. It starts to discharge during the low portion of the signal via LED L1, resistor R4 and transistor Q2. However the discharge time is much longer than the off time of the signal so the voltage across C2 is always enough to keep transistor Q2 on and therefore the relay operated.
When the beam is broken the output of RX1 is high. Transistor Q1 is off and capacitor C2 is no longer being recharged. It will eventually discharge to the point where transistor Q2 will turn off and the relay will release. The “turn off” delay is determined by the time constant of resistor R5 and capacitor C3. With the values used it is approx. half a second.
Capacitor C1 prevents a steady DC voltage on the collector of Q1 from charging C2. This would occur if the beam was not present or the beam was a continuous 38kHz signal. In other words, the receiver module will only respond to a pulsed 38kHz signal.
LED L1 gives a visual indication when the IR beam is present and is used to help with installation and setup. Zener diode Z1, resistor R6 and capacitor C4 provides a stable 5.6V supply for the IR module. The relays used should be mains rated: 250V/12A; 120VAC/15A.


Door Monitor Parts List



Stroboscope trigger circuits


This page contains some information on circuits which can be used for triggering stroboscopes from external circuits. The circuit here are designed to be integrate to strboscope circuits so that they can triggered using external trigger pulse. The standard trigger pulse used in professional stroboscope controllers is 3-10V pulse. If you don't already have a suitable controller, you can built one based on my stroboscope controller design.

Safety considerations

Stroboscope circuit use lethal voltages, so you must be very careful when operating with them. When the stroboscopes are triggered using an external signal, then there are some extra safety things to consider. The safest way is to provide a complete galvanic isolation of few kV between the trigger input and the stroboscope circuitry. This isolation can be done using and optoisolator or transformer isolation.
CAUTION - high voltage of strobes can cause a nasty and possibly fatal shock. The energy storage capacitor can retain dangerous high voltage after power is removed from the board.

Optoisolated trigger circuits

This circuit takes 10V trigger pulse to trigger a triac which connect the points A and B together. This circuit can be placed to almost any stroboscope circuit in place of the trigger switch or the trigger triac.
Optoisolated strobo trigger circuit
The circuit works in the following way:
  • The +10V trigger pulse enters MOC3023 optoisolator
  • The output of the optoisolator starts to conduct because of the current which starts to flow though optoisolator output and NEON bulb
  • When the TRIAC starts to condict the triggering of the stroboscope happens
  • At the same time when the TRIAC conducts, the current on the circuit formaed by NEON bulb and MOC3023 stops to flow
  • When the triggering capacitor is discharged the TRIAC itself stops to condict
Using this circuit a short pulse applied to the input of MOC3023 will trigger the stroboscope one. If the input of MOC3023 is kept constantly at +10V, the stroboscope keeps triggering constantly at it's maximum rate, because the circuit retriggers every time when the voltage over TRIAC exceeds around 90V.The isolation between the trigger signal and the stroboscope circuit is provided by MOC3023 optoisolator, which can withstand pulsed up to 7500V. This isolation level is more than dequate in typical applications. If you want really anjoy this kind of high voltage isolation you must keep in mind to keep enough clearance in the circuit board between the input and output pins of the MOC3023 optoisolator.

Transformer isolated trigger circuits

Another option to provide the isolation between trigger signal and the stroboscope is to use transformer isolation. In this approach the trigger pulse is fed to the gate of the TRIAC or thyristor though a transformer. There are amny types of transformers which can be used, but the best selection for those would be a pulse transformer which is designed for triggering triacs and provides the necessary isolation levels (at least few kV).
Transformer isolated strobo trigger circuit
I have used this kind of circuits in triggering some of my stroboscope designs. I have used various types of TRIACs and transformers for implementing this signal.
Because the input of a typical pulse transformer is low resistance, I have put a 470 ohm resistor in series with the pulse transformer promary to limit the current which flows to this circuit. Using the 470 ohm resistor, the current using 10V input signal is in oder of 20 mA. When the input resistance is 470 ohms, a tpyical strobo controller can easily trigger few of this kind of circuits.
If you are modifying an actual stroboscope light, my 12V strobocope circuit will give you some idea how to use a transformer isolated trigger circuit in a real stroboscope circuit.

Selecting the TRIAC

The typical voltages applied to the trigger transformers in typical triac circuits are in order of 100-300V. This means that you have to select a TRIAC which can handle at least 400V voltage. I don't know what is the minimum rating of the triac suitable for the triggering circuit, but I have had very good results with the TRIACs which can handle at least few amperes of continuous current. It is also a good idea to select a sensitive gate TRIAC so you can trigger the TRIACs reliabily with the low currents available in the circuits described above.

Using ready made module

Kemo Electronics makes a module M006 which is ment to be single channel 1000W light organ for light powered with 23V AC. That module is packed to a matchbox size plastic box and has a trigger and audio signal isolation transformer in it.
Besides being an easy to use light organ module (you just need to add one potentiometer to make it work), this box can be used as general purpose triggering circuit for stroboscope.
When you connect the output connectors of the module to the stroboscope circuit (same way as the circuits descrbed above) you get it work there. The triggering of the circuit works by just feeding a trigger pulse to the isolated signal input of the module. I have foudn out that standard 3-10V trigger pulses work nicely with the module when you put a 470 ohm resistor in series with the module input and feed the trigger pulse to this system. This circuit worked quite well with the resitor only, was a little but to sensitive to the noise in the trigger cable (flashed on noisy enviroments where there are other light controllers around by itself randomly). To help this problem I added the 333 nF capacitor to filter out very small noise spikes to not to trugger the stroboscope. The real trigger pulses from controller will still trigger the circuit without any problems.
The picture below shows the connections:
     ---470ohm--+--+  +----------
| | |
trigger 33nF === | | to stroboscope circuit
| | |
-----------+ | | +-------
| | | |
+-------------+
| |
| M006 module |
| |
| |
+-------------+

Kemo modules are sold in Finland by Bebek. The module costs around 60 finnish marks (around 12 US dollars). The module has weorked nicely when I have intrgrated it to one commercial 50W stroboscope (model name VDLS50ST) which did not originally have an external trugger signal input. If you are interrested to see how I did that modification take a look at original circuit diagram and modified circuit diagram.

Connecting the circuit to stroboscope or flash light

The idea is to connect the circuit described above to existing trigger circuitry of the camera flash or stroboscope so that is in parallel with an existing trigger element (thyristor, switch or similar) or replaces it. The actual impelementation depends on the actual stroboscope circuit you are trying to modify.
If you re modifying a flash light which has a mechanical trigger button, you can just connect the trigger circuit in parallel with the existing button which closes when pressed. In this case you can trigger the light by pressing the button or feeding a pulse to the strobo triggering circuit. In storobscope example circuit at http://www.epanorama.net/counter.php?url=http://www.intermarket.net/~don/samflash.html) you just would connect the trigger circuitry in parallel with existing shutter switch.

Safety considerations

The circuits itself should not cause any serious safety problems when properly constructed. The safety considerations come from the stroboscope circuit you are added those circuits to. Typical stroboscope circuits are directly connected to mains voltage and have capacitors which have leathal amount of high voltage stored them.
The trigger circuit must be constructed so that those dangerous voltages will not in any case get to the trigger output. This means that the circuit must be constructed carefylly and in a safe way. This means that the components must be well secured on their place, there is enough clearance between the high voltage and low voltage parts of the circuit, the circuit itself is securately mounted to the system and dangerous parts are properly isolated. Make a very careful visual inspection and measure the circuit carefully before even thinking of adding it to any stroboscope circuit. When you add the circuit to the storboscope circuits be exactly sure what you are doing and what are the safety implications of adding this kidn of circuit to the stroboscope. When you do the installation, be sure that the stroboscope is diconnected from the power source and all capacitors are discharged, before you even think of touching the circuit. When you make the connection, do it carefully and double check everything, before testing.

Strobo controller


Summary of circuit features

  • Brief description of operation: Remote controller for professional lighting system stroboscope, controls the flashing speed
  • Circuit protection: Protection agains wrong polarity power supply, output is short circuit proof
  • Circuit complexity: Standard 555 oscillator circuit with some extra features, some kind of circuit board helps to keep the circuit reliable
  • Circuit performance: Works very well with one professional stroboscope I tested it with, has been in real use few times
  • Availability of components: Widely available parts
  • Design testing: Designed for specially for this application, has performed very well on field in real use
  • Applications: Telephone accessory, stop telephones interrupting your modem calls
  • Power supply: 12V DC wallwart, 100 mA current is enough
  • Estimated component cost: around 20 dollars including switches, case, knobs
  • Safety considerations: No special safety hazards

Introduction to stroboscope controlling

Most of the strobocopes designed for commercial use (light effects, theatrical lighting, DJ-lights) have a external trigger connectors on the back of the strobocope. Those connectors trigger input are typically 6.3 mm jacks or XLR connectors. Sometimes there is one input and one output jacks so that many stroboscopes can be easily wired to one controler by just connecting the first stroboscope to controller and wiring next strobocope to the output of he first stroboscope etc.
Typical stroboscope inputs have following characteristics (may vary from manufacturer to manufacturer):
  • Voltage level is typically 2-12V, a positive pulse triggers the stroboscope
  • Input impedance is typically 1 kohm
So if you generate for example 5-10V pulses at frequnecies from 1 Hz to 15 Hz you get a a nice stroboscope controlling signal.

Circuit description

This stroboscope controller is a simle adjustable multivibrator which gan easily generate frequencies at frequency range 1..15 Hz and output suitable control signal pulse to trigger the stroboscope. The circuit diagram is a little bit modified standard 555 based astable oscillator circuit with some extra electronics added to the output side.
Circuit diagram
The capacitor C3 is charged through R1 and D2. When capacitor charges the 555 timer outputs high stage (+8V output voltage). When the capacitor is fully charged the 555 timer starts to discarge it through R2 and R3. The resistance of R2 and R3 ddetermines the discharge time (and so the frequency of pulses, typically between 1 and 15 Hz).
The output of the 555 timer can be connected to the output circuitry using SW2. The output circuitry has a LED D4 which shows the signal output state (flashing pulses). Normally the positive pulses get to the output connector through D3 and R6. Single manual flash can be accomplished by pressing SW1 which connects the circuit power to the output pin (also R6). R6 is on the output to limit the current to safe values in situation where there is a short circuit in the control cable or in the connectors. to
7808 regulator with C1 and C2 make a well regulated 8V voltage from the input voltage. D1 is in the power input to protect this circuit against wrong polarity input voltage.

Component list

C1    22 uF 35V electrolytic
C2 220 nF
C3 22 uF
C4 22 nF
D1 1N4007
D2,D3 1N4148
D4 RED LED (high intensity model preferred)
R1 2.2 kohm
R2 47 kohm potentiometer (lin)
R3 4.7 kohm trimmer
R4 470 ohm
R5 470 ohm
R6 100 ohm 1W
SW1 Pushbutton (push turns it on)
SW2 Changeover switch
U1 LM555,NE555 or similar
U2 7808 regulator IC
Notes: All resistors can have 0.25W or higher power rating. All capacitors with no voltage rating can have 10V or higher voltage rating.

Construction tips

Because the strobo controller is expected to face all kind of mechahical shocks in it's operating environment it is recommended to construct it mechanically well. Use a good quality project case which protects the circuit nicely and where you can fit the circuit board so that it can take mechanical shocks without damage (for example stand dropping from a table). In some apllications a quite heavy metal box with rubber feets might be a very good because it does not drop easily from the table because of the weight of the strobo control cable.
Use a good quality potentiometer and install a good knob carefully so that mechanical shock to the knob can't easily damage the potentiometer. Use switch and button which can take hard use without damage. Cheap buttons can break up easily which is not very nice when you need the strobo controller. Better to be safe than sorry.
The 7808 regulator does not need a heatsink because the current taken by this circuit is quite small. There circuit itself can be constructed to a small circuit board (you have to design your own) or to a small piece of veroboard.
Use a good quality connector for the power input because your circuit is expected to take hard use. Use 6.3 mm jack for the signal output, because this connector can take some hard use and it is widely used in this kind of applications. When you use stadard connector you can also use standard audio cables between the controller and the stroboscope.
I built my own circuit to a small plastic box where I fitted the DC power connector, 6.3 mm output jack, switches and potentionmeter. The picture below is as taken from my protoype:
Picture strobo controller

Circuit tuning

When you have the circuit ready and working then you have to set up the maximum frequency limit on this circuit. It is not advisable to use higher than 15 Hz strobo flash frequencies, so set R3 so that the maximum output frequency of the circuit is 15 Hz. When you have doen the tuning then it is best to fix the potentiometer to it's place for example using glue so that the settings does not change because of vibrations and shocks this controller might need to face.

Powering the circuit

Best way to power this circuit is to use a small wallwart. The circuit needs less than 100 mA of current, so a small 12V wallwart is ideal for this circuit. If you plan to use a batteries to power this circuit then you should also add a power switch to the circuit.

Modification ideas

If you want to see the frequency the controller sends out before actually firing the strobocope, you can add another LED to the circuit which flashes continuously at the oscillator output rate. You can add that extra LED in the following way:
  • Wire LED and 470 ohm resistor in resies in the same way as R4 and D4 are wired.
  • Connect the LED to ground as D4 is connected.
  • Connect the free end of the resistor in your circuit to the pin 3 of U1.
Now you have a LED which flashes all the time when the controller is on. If you want to simulate stobocope effect with it you can use a very bright LED. In this way you can beatmatch the strobocope easily with the music before turning it on.

Strobo controlling with PC using RS-232 port


This circuit shows a simple way to interface a commercial stroboscope with 10V remote trigger input to a PC computer so that a computer program can control the stroboscope.

Circuit

This circuit is designed to be connected to the 9 pin RS-232 connector of your PC. It gives a 10V output pulse for controlling stroboscopes which have standard remote triggering input in them.

9 pin RS232                         6.3 mm phone jack to
connector stroboscope trigger input
1N4148
TXD 3 ------------|>|-------------- Tip

GND 5 ----------------------------- Shield


Circuit operation

The circuit operates in the following way:
  • When the RS-232 port is in idle state, the TXD pin is in logic 1 state, which means that it has around -11V potential in it. There is n
  • When the RS-232 port TXD pin goes to logic 0, it get the TXD pin goes to aroun d+11V potential. Now the diode will pass the current to the output jack and the stroboscope will get around 10V voltage.
The serial port goes to 0 state friefly when some data is transmitted out of the serial port or break signal is sent out.

Software to operate the circuit

There is no special software available for controlling the circuit. For simple tests you can start any communication software, select the serial port where the circuit is connected and then set the communication speed to 1200 bps. Now every time you press a key (dend character out) the stroboscope will flash once.

Ideas to improve the circuit

If you are ofraid of spikes entering from the lighting system to the computer, then add some overvoltage protection to the circuit. You can for example put a 12-20V VDR, Tranzorb or similar overvoltage protection component between the tip and shield of the phone jack.

Simple light bulb flasher


This circuit is possibly the simplest way to make a mains powered light bulb to flash. This circuit is an inexpensive way to make light to flasd for example in small parties and similar occasions.

Circuit features

  • Operating voltage: 230V 50Hz
  • Power rating: maximum 60W lamp
  • Flash rate: around 0.3-3 Hz (depends on the fluorescent starter and attached light bulb), flashing rate varies semirandomly
  • Applications: Party light effect, christmat light flasher
  • RFI features: fluorescent light starter has RFI filtering built in

Circuit diagram

LIVE ------+
230VAC |
fuse
(500mA slow)
|
|
fluorescent
lamp starter
|
|
light bulb
(5-60W)
|
|
NEUTRAL ---+

Circuit operation

The circuit is simply a fluorescent lamp starter wired in series with a normal light bulb. The starter kicks in and out on a (sort of) random basis causing the lightbulb to flash on and off in a flickering sort of way.
Basically you can just wire a fluorescent light starter just simply in series with a normal light bulb but going this simpel way has it's risks. If somebody screws in too powerful light bulb you will burn out the starter (propably fire danger). This circuit uses a fuse in series to protect the circuit against serious overload or short circuits.
This circuit is designed for 5-60W light bulbs. This is what most fluorescent light starters will hanlde without problems. It is best to select a starter which has enough power rating capacity printed to it's case (many list power rating up to 60W, but some might only be designed for lower power lamps).
I have used this circuit successfully with 20W and 40W light bulbs. You can get quite nice flashing effect if you build two of this type of circuit and attach them to different color spotlights. Both of the bulbs will then flash at different rate and you will get nice multicolor semirandom flashing effect.

Componet list

  • Fluorescent light lamp starter for 4-60W fluorescent tubes (cheapo bi-metalic bulb type)
  • Light bulb of 10-40W with a suitable light fixture (only normal light bulbs work for sure, circuit is not designed for fluorescent bulbs or halogens with transformer)
  • 500 mA 250V fuse with suitable holder for it
  • Plastic case to protect the whole circuit
  • Wire and electrical plug you can plug the circuit to wall
NOTE: The starter should be a cheapo bi-metalic bulb type that would normally make a fluorescent light flick a few times before it lights. The electronic starters won't work for this application.

Notes on the circuit

You should try a range of values (FS-2 - FS-4) of fluorescent starters and bulb wattages (5-30W) to vary the amount of flicker. Depending the starter type and bulb rating, the flas rate and randomness varies.
Some disadvantages however are bursts of RF noise generated as the neon lamps switch. The starters typically have some kind of filtering capacitor in them, but this alone usually does not RFI may affect any radio mics or some sensitive audio equioments in the vicinity.
The starters tend to burn out rather quickly as they are not intended for this constant duty. Fortuantely those starters are cheap, so rpleacing them is not that expensive unless the circuit is intended for constant long time use.

Simple LED dimmer circuits


The circuits on this page are designed to very simple, built with minumum number of components.
The downside of them is that their efficiency is not good (considerable power is lost in control circuit).

Dimmer controller for 1W LED or 3x1W RGB LED

This circuit takes 0-10V control voltage input and is designed to run on 1W white LED. The + power needs to be connected to 12-15V DC power (up to 350 mA current consumption).
LED dimmer current generator

Component list:
R1 = 1.2 kohms 0.25W
R2 = open circuit (no resistor)
R3 = 33 ohms 5W
T1 = BDW93
The circuit works in such way that 0V makes LED to be off and 10V it to be completely on. Dimming works at approximate voltages between 1.3V and 9V. You should not need any heatsink for the transistor. Most of the power loss (maximum 10V * 350 mA = 3.5W) happens on the resistor. The transistor T1 is a high current gain darlington transistor (gain around 750-1000) which makes sure that the circuit does not take much control current from 0-10V control voltage source.
NOTE: The circuit efficiency is not good, because for driving a 1W LED you would take more than 4W from the power source and more than 3W of it would be lost on the dimmer circuit when LED is fully on. The efficiency is around the same also at other dimmer settings (around 3/4 of the power lost on dimmer circuit). This is the price of the simplicity.

Controlling more than one LED

It is possible to use this circuit to run many LEDs in series connected in series in place of the one LED in the circuit. If you are driving more than one LED, you will need a higher control voltage power source (around 3-4V higher for every added LED) and a heatsink for the transistor.

Controlling RGB LEDs

By building three of this type circuits you can control easily RGB LED that has there 1W LEDs in it.

Adaptation for lower power supply voltage

The voltage loss one the T1 and R3 can be reduced by changing to use the following component values:
Component list:
R1 = 2.2 kohms 0.25W
R2 = 2.2 kohms 0.25W
R3 = 15 ohms 2W
T1 = BDW93
Now the voltage loss on T1 + R3 is now approximately 5V maximum. This means that you can power the whole circuit (dimmer + one LED) with 8V or higher power supply voltage. Please note that if you use original 12V power supply, you will need a heatsink for T1.

Adaptation for 0-5V control voltage


Component list:
R1 = 1.2 kohms 0.25W
R2 = open circuit (no resistor)
R3 = 15 ohms 2W
T1 = BDW93
Remeber to put heatsink for T1.
Warning: Higher than 5V control voltage fed to the input of this 0-5V circuit can cause too much current to flow to to LED, which can destroy the LED. If you have risk for that, you can put a 5.1V zener diode in place of R2 to make sure that the control voltage that goes to T1 base will never get considerable higher than 5V.
NOTE: This 0-5V circuit should be suitable to be used as LED driver for PWM controlled application. You should be able to put PWM signal (0V or 5V) to the control voltage input and control the LED brightness with the pulse width.

Dimmer for 1W LEDs driven with constant current source

This circuit is designed to be wired in parallel with a 1W LED powered with constant current power source. The idea is that when you want to dim a LED, this circuit will take some part of current that normally goes through the LED so it becomes dimmer. The constant current source will always give same current to LED + dimmer circuit, so more the dimmer circuit takes less is left for LED.


Component list:
R1 = 2.2 kohms 0.25W
R2 = 2.2 kohms 0.25W
R3 = 4.7 ohms 2W
T1 = TIP41A
NOTE1: This circuit is designed only for applications which use a real contstant current power source. If your LED driving circuit is not a real constant current source then this circuit does not work properly and you risk damaging your LED power source.
NOTE2: The circuit works in opposite to normal 0-10V dimmers. Control voltage at is 0V makes LED to be fully on. Control voltage of around 10V makes LED to be off. Dimming works at voltages between them.
This circuit can also used in application where there are many LEDs in series. You can put all the LEDs you want to dim in place of the LED in this circuit. Then add suitable heatsink for the transistor (capable of handling the power of those LEDs). It is also possible to have non-dimmed LEDs on the same LED string, just connect thise LEDs that need to be at full brightness outside of this circuit (between circuit and power- or power+). In this way you can mix both full brightness LEDs and dimmed LEDs on the same LED circuit powered by the same constant current LED power supply.

Telephone privacy adapter


Summary of circuit features

  • Brief description of operation: Prevents telephone call to be heard form other telehones in the same subscriber line
  • Circuit protection: Works on both line polarities, no special overvoltage protection
  • Circuit complexity: Very simple and easy to build, no need for circuit board
  • Circuit performance: Briefly tested with one telephone and telephone exchange
  • Operation principle: When one telephone is picked up the circuits prevent other telephones to be picked up (thy do not get any line current).
  • Circuit use: Installed between telephone line an telephone. You need one circuit per every telephone.
  • Availability of components: Q1 (BR103) is widely available, Q2 might be hard to get
  • Design testing: Built quickly from the parts found on my home lab, seemed to work on short test with telephone line simulator and line connected to PBX, I have received a report that this circuit works well in Australia
  • Applications: Telephone accessory, stop telephones interrupting your modem calls
  • Power supply: No need for extra power supply, takes power from telephone line
  • Component cost: Few dollars
  • Safety considerations: Should be be built to an insulating case
  • Special notes: Not approved to be connected to public telephone network

Circuit description

This circuit is a simple circuit which prevents picking up other telephone when one telephone is in use. This can be done easily by installing this type of circuit between any telephone and the telephone line.
This type of function is very useful when you don't want other people from disturbing your modem connection or listening to your telephone calls by picking up other telephone connected to same line.
The idea of the circuit is to sense the voltage in the telephone line when the telephone is picked up. If that voltage is higher than about 30V (normal on-hook voltages is about 48V) then the circuit lets the telephone to work normally. If the voltage is lower 30V it prevents the current from going to telephone line to telehone (normally the voltage in line is about 6-10V when one telephone is off-hook). The circuit is designed so that is passes the ring voltage to all telephones without problems.
Circuit diagram
The circuit is very simple circuit built from one DIAC and one TRIAC. When telephone is picked up it will not get any operating current unless the TRIAC Q2 in series with telephone conducts. The triggering of the TRIAC Q2 is done through DIAC Q1, which will trigget the triac if there is more than about 30V voltage between TRIAC Q2 leads connected to telephone line wires. When TRIAC Q2 start to conduct it will conduct as long as there is any current flowing through it. So TRIAC Q2 conducts until the the telehone handset is put on-hook (call has ended).
This circuit is very similar to the operation of commercial adapters, but remeber that this adapter is not type approved for connection to public telephone network. The component values are just what I used in my prototype and you can replace that triac with nearly any type which will handle atleast 200V, can be triggered easily and keeps on conducting at currents as low as 15 mA.
The drawing below shows how to wire the circuit components and the whole circuit to the telephone line.
Connection diagram

Modification ideas

I saw one article in sci.electronics.design which mentioned that an article in Elektor Electronics Dec/93 described a similar circuit idea. They used the following components:
  • Triac: TIC206D
  • Diac: BR100
When you appply this to my circircuit you will end up to following component list:
Q1   BR100
Q2 TIC106D
NOTE: The pinout of TIC206D is different than the one used in the original circuit, so the component connection drawing is different. No wiring drawing of this modified version is available.

Comments on the circuits

AuVIP (adams@auvip.net.au) has sent me the following comments on this circuit to me (put here with permission):
"It works. I'm in Australia and it works very well. Components were either readily available or easily able to be substituted. Especially the TRIAC."

Other ways to do the circuit

There is one commercion single component designed to do the same as Q1 and Q2 in my circuit. That component is HS20 bilateral silicon switch which consists of zener diode and triac intergrated to same component. A telephone privacy adapter circuit using HS20 has been shown in Electronics Now and Poptronics magazines and that circuit is very simple because that two wire HS20 component is just wired in series with one of the telephone line wires. I have never tested HS20 component, so I can't tell how well it works but I believe that the circuit works because it is published in two magazines. According Poptronics magazine HS20 bilateral switch can be bought for around $4 from:
SolarWorks
Grandprarie
TX75052
According some usenet articles the HS-20 DIACs which are just about impossible to find and they might be discontinued.

The circuit might work with just DIAC

Huw Finney mentioned me that the circuit would work also by using just one normal DIAC in seris with the telephone and not usign any extra components. I have not personally tried it, but with suitable DIAC that might work.
Most diacs are used for pulse generation, probably in the order of amps, and are designed as such. I think the published ratings for static (DC) use are a bit on the consevative side, take a 1N4148 sized diac and say 100 to 200 mW dissipation and about 2V across the diac we are left with 50 to 100 mA, more than enough!
So in engineering sense it seems that just only a DIAC seems to be 'good enough' for this application. I have not personally tested this alternative, but this might be a worth to try.

Commercial circuits is a safe choice

If you rellay need this type of circuis for everyday use I recommend buying a type-approved commercial unit. If you live in Finland and want to buy a ready made commercial unit, go to a shop which sells telephone accessories and ask for PrivaPhone. This commercial unit will cost about 50 Finnish marks (a little over $10). Aastra Telecom makes also quite similar product BusyLine Switch which has also some extra features.


Some additional ideas added 2005:

Modem outgoing call blockign modification

Koltsidas Michael told that there is an usefull modification for different use if you add an on/off switch to the circuit, you can use it to block modem outgoing calls. You just wire the switch in series to the dirac in this way:

When you have built this circuit, you conect the circuit between a standard modem and the telephone line. Then you put the switch to the on position and make the modem to do the modem call to the provider. When the connection is ok, then put the switch to the off positon. The line stays on as long as modem keeps the conenction open.
If an adware or dialer program wants to disconect the modem and call a number, it is imposible, because the the line is cut. Dialling out is possible only when switch is in "on" position.



Other ways to build the same functinality

Miroslav Adzic sent me the following circuit idea that should implement the same operation as my circuit:

Miroslav Adzic told that he spent a day or two testing different variations of the 'privacy circuit' for the telephone line, using several lines and all possible combinations of telephones. None of them (circuits with SCR's, diacs and zeners) seemed to work perfectly under all possible circumstances. According those tests this simple SCR-zener combination shown in the picture suffers only very mild problems (sometimes doesn't turn on right away) ONLY if used on the same line together with an old phone (inductive bell) with no privacy circuit of its own.
The resistors on this circuit can be normal 0.25W models. Zener diode is a low power (400 mW) zener diode with volage rating in 18-22V range.
This circuit design is polarity senstive. A rectifier bridge can be added to secure correct polarity.

Telephone ringing circuits


Preface

Telephone circuit gain always interrest, because telephones are everywhere and quite often there are old telephone luying around somewhere. Those telephones can be used for many interresting experiments including small home intercom: connect telephones in series or parallel and feed suitable operating current (about 20 mA) to them through resistor from power supply.
The most problematic to home experimenter is how to get telephone ringing because the ringing voltage is over 50V and not at standard mains frequency (50/60Hz). Sometimes you want to get the information that telephone is ringing to your own circuits. This text tries to clear out those problems.

What is ring signal ?

The telephone company sends a ringing signal which is an AC waveform. Although the common frequency used in the United States is 20 HZ and in Europe is typically 25 Hz, it can be any frequency between 15 and 68 Hz. Most of the world uses frequencies between 20 and 40 Hz. The voltage at the subscribers end depends upon loop length and number of ringers attached to the line; it could be between 40 and 150 Volts. The ringing cadence - the timing of ringing to pause - varies from telephone company to company.
The usual arrangement is to feed the 75 V a.c. ringing current (backed by earth) down one wire of the phone line. On the other wire is placed a slugged relay (or equivalent) which is backed by -48V d.c. When you pick up the phone, the relay operates to the loop d.c. current and trips the ringing current. It also triggers a further device to put the transmission bridge in circuit to enable speech to take place, together with supervision of the calling and called loops. The ralay needs to be a slugged relay to prevent premature ring trip by the a.c. ringing current.
In USA minimum ring voltage supplied is 40Vrms (delivered into a 5 REN load). This is the must detect limit. There is also a minimum must ignore value of 10Vrms. Milage on individual PBX's will vary greatly. But most guarantee to deliver 40Vrms into a 3 to 5 REN load.
When the telephone ring signal is sen to the telephone, the ring voltage is not applied constanly to the line. Typically ring timing is 2 seconds on and 4 seconds off in the US. In the UK ring timing goes .4 sec on, .2 sec off, .4 sec on, 2 sec off then repeats. In toher countries the ring timign cna vary from country to country (even from operator to operator) and you should check the local regulations if you want to get to know the actual ring signal timing in use.
For more information, check Understanding Telephones article by Julian Macassey at http://www.epanorama.net/counter.php?url=http://www.egyed.com/phonework.html and appropriate BellCore documents.

What is REN ?

REN stand for Ringer Equivalen Number. It is a measurment of how mugh ringing power certain telephone equipment takes. REN numbers are used in USA to determine how many telephoen equipments you can connect to same telephone line and still get them ringing properly (typical line can drive about 3-5 REN load).
The definition of 1 REN is the ringer power required by one ringer of an AT&T standard 500 series telephone set in single-party configuration (ringer placed ACROSS the line). One place to find the exact info: get a copy of 47CFR Part 68 - this is the FCC technical specs (and other info) regarding the PSTN (public switched telephone network). This info also may be available from the FCC's web site.

What is ringing tone ?

Ringing tone is the ringing that can be heard while the receiver is on-hook and somebody tries to call you. The terms used for describing this telephone ringing are not always very clear whet they mean, because the same term has been used in differnet places to mean different things. ITU-T Q.9 indicates the preferred term is "ringing tone", but that "ringback tone" is used in the USA. On the other hand, Bellcore (and the old Bell System), used "audible ringing tone" in many of their documents. In 5ESS switch documentation (according some news articles), RINGBACK is used only to describe various ways (other than a normal terminating call) by which a subscriber's telephone may be rung. Usually people say "ringback" in place of "ringing tone".

What is distinctive ringing

Distinctive ringing is a system where different ringing tone patterns can tel different thing about the telephone calls. Typical applications are PBXs where you can identify if the call is from inside buildign or from outside by hgearing different ring pattern. Aother applications are when multiple phone numbers are assigned to one physical line and the rign pattern tells which number of them has been called.
Distinctive Ringing and Call Waiting patterns and timing use in USA are covered in GR-506-CORE. Use of multiple patterns to identify the CALLED party (multiple DNs per line) is covered in the basic LSSGR (GR-505 and GR-506 in particular), in the ability to assign ringing patterns to numbers and to Centrex services. ANSI T1.401 identifies some other requirements for distinctive ringing involving inter-exchange carriers.

Normal telephone wiring


In normal telephoen wiring (used in Finland, USA and very amny other countries) the telephoen audio and sing signals share the same wire pair. Typical wiring for 6 pin modular connector:
1
2
3 a-wire
4 b-wire
5
6
A and B wires make the pair which telephone used. Typicslly the modular connectos used in telephone have only 2 or 4 pins installed. Normally unused pins are used for wiring more than one line to same connector or for some special applications.There are also many other types of telephone line connectors in use, but nowadays this modular connector is the most common in telephone terminal equipmens like telephones with removable cord, modems and FAX machines.

Special cases in ring signal wiring

On some coutries the ring signal is fed to the customer telephoes using one extra wire. The UK wiring tetails are available in separate UK wiring document.

Ringer circuits in telephones


Classical bell type ringer

The most classical telephone ringer circuit is a mechanical bell controlled by an electronic coil. The circut consists of the bell coil and a capacitor (usually 470 nF to 2 uF rated for 250V or more) in series with it. This circuit is connected in parallel to other telephone electronics. The capacitor in the circuit stops the DC in to pass through the bell coil, but it lets the ring voltage through easily. Because of mechanical nature of the ring circuit, it is very sensitive to the frequency of ring voltage and other than the resonance frequency of the bell system (usually around 20-25 Hz) do not generate satisfactory ring.
The coil has usually so high impedance that it does not disturb the telephone audio circuit operation when telephone is off-hook. Other possiblity is that the ring circuit is disconnected when the telephone is picked off-hook.

Electronic ringers

The ringer circuits in the modern telephones have the same basic idea, but the coil controlled bell is replaced by modern electronic ringing chip and small speaker. The capacitor is still used in series with ring IC input to make only AC pass to the ring chip. The electronic ringing circuits are not sensitive to the ringing voltage and they easily ring with ring signal frequencies between 16 Hz and 60 Hz.

Ring detection circuits in modems

In computer modems the logical signal from ringing is needed instead of ringing tone. The ring circuit must pass the ring signal information to modem electronics and still provide electrical isolation between telephone line and modem electronics. This ring detection is usually done using one optoisolator circuit, which replaces the raditional ring circuit. The optoisolator output can be easily connected digital electronics, but the optoisolator input side needs more electronics: one capacitor for not letting DC to pass through optoisolator, one resistor to limit the cirrent passing through optoisolator LED and one reverse conencted diode in parallel with optoisolator LED to prevent negative voltages from damaging the LED. This is the basic ring detection circuit.
Usually there is also two zener diodes (usually 10-20V models) to make sure that the ring detection circuit does not detect too small AC signals in the line as ring signal. In the picture below you see a very typical ring detector circuit for modems. The circuit just gives the idea how modem ring detector circuit work. The actual component component values selection must be so that the circuit meets the national telephone regulations (this can be usually easily done by using suitable zener diodes and maybe chancing the resistor value a little).
Ring detector circuit
Component list:
C1     470 nF 250V AC
R1 10 kohm 1W
D1,D2 10-20V zener diode (any value in this range), 400 mW power rating
D3 1N4148 diode or equivalent
U1 4N27 optoisolator or similar
NOTE: You can get the circuit work by taking out D1 and D2 and replacing them with a short circuit. The circuit works after then, but it is possible that in this case some low voltage noise on the line can cause the circuit to ring. Different countries have different specifications on how low voltages should not cause a telephone to ring at all.PS. If you are interrested in using theis cirucit as basis for controlling some high power cirucitry take a look athttp://www.epanorama.net/counter.php?url=http://www.aaroncake.net/circuits/pflash.htm for a circuit example how to drive a relay when ring is detected.
Another apprach for ring detecting is to use a full wave rectifier circuit to convert the AC sign signal to the DC suitable for optoisolator and then put current limiting resistor and zener diode to the rectifier output.
Ring detector circuit
Component list:
C1     470 nF 250V AC
R1 10 kohm 1W
D1 10-20V zener diode (any value in this range), 400 mW power rating
RECT1 Rectivifier bridge 200V voltage ratign, at least 0.1 current rating
U1 4N27 or CNY17 optoisolator

Other ideas to detect telephone ringing

One idea which is proposed in many sources is to use small neon bulb (like those used as lights in some mains switches) for detecting the ring signal. The circcuit proposed is to connect one neon bulb and 47kohm resistors in series and connect this to telephone line. The neon bulb has about 60V trigger voltage to start conducting, so standard 48V telephone battery voltage does not light it. When the AC ring signal is added to that voltage, the voltage is enough to light the neon bulb. The neon bulb can be used as visual indicator or electronics can sense it with LDR photoresistor or phototransistor.
If you don't want to build your own circuit from neon bulb and resistor, there is an even easier solution is to go down to the hardware store and get a "pigtail" tester. It has two nice leads that one normally pokes into the wall outlet to test for voltage. Wire it instead to the phone line. This saves the hassle of trying to find the container for the neon lamp, and the resistor (which is VERY necessary, take my word for it).
One modem schematic I have seen used quite special method for detecting ringing signals: It had a small capacitor in parallel with on-hook/off-hook control relay contacts. This capacitor let some small part of the sound and ring signals pass to the telephone transformer. In this way those ring signals can be detected as small signal pulses in transformer secondary (and this circuit can be also used for Caller ID signal detection). The capacitor was so small that the impedance seen from telephone line stays high enough not to disturb other equipments in the same telephone line when modem is no on-line.

What telephone regulations say about telephone ringers

European NET4 telephone line terminal equipment specs define the following specs for the telephoen ringing detector circuit.
  • The impedance in voice frequency (200-3400 Hz) must be greater than 10 kohm when measured with 0.5V RMS audio signal
  • The current taken by the ringer must be equal or less than 5 mA at 35 V ring voltage and equal or ledd than 10.7 mA at 75V ring voltage. The measurments are made using 25 Hz ring current frequnecy.
  • Ring detector must work on ring signal which is 44-58V DC summed with 25+-3Hz AC ring signal in voltage range 35-75 V. The feeding resistance for ring generator is 800-1710 Hz.
  • Ring detector must not detect ring signal which is 44-58V DC summed with 20-3400 Hz AC ring signal which is less than 10 V. The feeding resistance for ring generator is 800-1710 Hz.
If the equipment is automatically responding the equipment must wait at least 1s from the ring detection until it goes off-hook.

Telephone ringer classification

In USA FCC regulations need the ringer type to be specified on the device. The possible types are Class A and Class B. Class B ringers will respond to ringing frequencies of between 17 and 68 Hertz while Class A ringers will respond to betwwen 16 and 33 Hertz. Class A devices are those typical old telephone bells and practically all electronic ringers are B type. Nearly all of the devices made to connect to the phone lines today are of the Class B type. The telephone ringer type on your device (if you live in USA) is printed on the FCC sticker on the bottom with a REN number on it. You'll see something like .9B (= REN 0.9 Class B) or 1.0A (= REN 1.0 Class A).

How to make telephone ring

The following ideas are simple circuits, which generate ringing voltage at mains frequency (50 or 60Hz depending on country). They will ring modern telephones very well, but the rign sound might not be actually the same as with right ringing signal. If that is not a problem, then go on. The ring signal at 50 or 60 Hz does not work with old telephones which have mechanical bells in them.

Direct connection to mains

This approach has been proposed many times at rec.theatre.stagescraft newsgroups but I strongly suggest not to use it. Mains voltage (120V AC 60Hz) used in USA makes the modern telephones ring, but it is dangerous to make direct connection to mains voltage. And if you don't use any type of current limiting, the telephone will cause dangerous short circuit when it is picked up. The telephone will destroy and put out smoke.

50/60Hz ring voltage generated from mains voltage

If you want to use very simple circuit for ringing, I would suggest following combination: a small ready made AC adapter which puts out AC and a small transformer connected to it. If you use suitable tranformer combination, you will get nice 70-90V AC voltage at you mains voltage frequency (50 or 60 Hz). Ready made wall adapter will provide provide isolation from mains voltage and also limit the current in short circuit situation.
Suitable comination for example is wall adapter which outputs 8-9V AC at 200-500 mA connected to transformer which has 120V primary, 12V secondary and power handling capacity of few watts. The wall adapter is connected to transformer's 12V secondary through a button. When the button is pressed, there is about 70-90V AC available at transformer's primary winding. For current limiting it is a good idea to put 1 kohm 3W resistor in series with transformer's secondary. If you can't find transformer I told earlier, remeber that many transformers with 220V primary winding have center tap connection for 110V voltage wiring. And if there is not centre tapped 220V transformer, you can always use 220V to 24V transformer. If your wall transformer has different rating, the scale the transformer's values according that. The component values in this circuit are not critical, but keep in mind that the voltage of transformer's secondary must be grater thatn the output voltage of the wall adapter.
And for your safety, build this circuit to a good box in which you have telephone connector on one side. And be careful with the circuit not to get shocked because the 50/60Hz ring voltage is more dangerous than normal ring voltage.

Methods for generating good ring voltage

Ringer module

The easiest way to get real ringing module. Those units are available from some companies which make DC/DC converters for telecommunication industry. Migh not be the easiest component to get.

70V line PA amplifier

The output voltage of PA amplifiers designed for driving 70V speaker system speakers have enough output voltage and power for ringing telephones. If you have old this type of amplifier lying somewhere, you can connect the amplifier input to fuction generator and output to telephone through 1 kohm 3W resistor. When you set the function generator to generate sine wave at 20-25 Hz at suitable level for amplifier, you have an adjustable level ring generator. Usually those amplifiers are not good at playing back frequencies below 50 Hz, so you might have to try higher frequencies if that does not work as expected.

Normal audio amplifier and transformer

Very nice variable amplitude ring generator can be built from audio amplifier designed for driwing 4 or 8 ohm speakers and have output power of 3W or more, 10 ohm 10 W resistor, 220V to 12V transformer (few watts), 1000 ohm 3W resistor and function generator.

           
___________ 10 ohm 1000 ohm
| |----/\/\/\--+ ||(---/\/\/\---
| | | ||(
Sinewave----| Amplifier | )||( Ring voltage out
| | | ||(
|___________|------------+ ||(------------
Transformer
12V:220V
The circuit is easy to build. Connect 10 ohm resistor in series with transformer's secondary winding and 1000 ohm resistor in series with primary winding. Connect the primary winding side of the transformer to amplifier's speaker output. Connect the telephone to the secondary side. The resistors are in the circuit to limit the current and to keep the impedance high enough for the amplifier.
When you have done this, connect you function generator to amplifier's input and set it to generate 20-25 Hz sine wave at suitable level for amplifier's input. Turn down the volume of the amplifer. Turn the amplifier on. Turn the volume up until you hear telephone ringing well. You can check the ringing voltage with multimeter if you vat to make it to exactly right level.

Modified power inverter circuit

It is possible to make 17 - 25Hz a.c. from d.c. A simple multivibrator will do it. You then need a power transistor or similar to give the high-current output. A suitable circuit can be modified from typical power inverter circuit by changing the timing components to make the frequency to 20-25 Hz range. Then the transformer needs to be selected so that it matches this application (for 12V operation take a mains centre-tapped 60V (30+30V) secondary and 230V primary).

Dedicated ringing generator circuit

There have been telephone ringer circuit in major electronics magazines and circuit books. Those circuit are good idea when you want to build the circuit from base components.
There are commercial units specifically made fro ringing telephone. TELE-Q is a device designed for ringing telephone theatre effect. That unit is available from Norcostco for little over 100 US dollars. I have no experience in this product but it has been suggested in many usenet news articles.
Maplin Electronics has a phone ringer electronics kit which can give out UK and USA type ring styles. It has been reported to work uite well with any modern telephone, though it has said to struggle slightly to drive old fashioned bell types which need lots of ring current.
There are also telephone line simulators available from some tecom equipment manufacturers. Those telephone line simulator boxes also usually include the ringer circuit. Two examples are Viking Electronics Line Simulator/Ringdown Circuit and Jech Tech Phone Helper. Usually complete line simulators are more expensive than simple ringer circuit but they have more uses also (you can make two telephones an intercom etc.).

Generating ring pattern

Normal telephone ringing signal the central office sends is not normally contirnuous signal, but follows some pattern. The pattern could be for example ring 2 seconds on, four seconds off and then again 2 seconds on, 4 second off etc.. The patterns used can vary somewhat from country to country.
If you want to generate this kind of pattern you need a timer circuit that generates 2 seconds on and 4 secodns off type output signal. That signal is then used to control a relay that switches the power from the power source going to telephone and off. A 555 timer and one relay can nicely do this. Basicly you take 555 timer in normal astable mode and then select the value fo two resistors and one capacitor. Then connect relay to 555 output, and that should do it.


Simple 5V power supply for digital circuits


Summary of circuit features

  • Brief description of operation: Gives out well regulated +5V output, output current capability of 100 mA
  • Circuit protection: Built-in overheating protection shuts down output when regulator IC gets too hot
  • Circuit complexity: Very simple and easy to build
  • Circuit performance: Very stable +5V output voltage, reliable operation
  • Availability of components: Easy to get, uses only very common basic components
  • Design testing: Based on datasheet example circuit, I have used this circuit succesfully as part of many electronics projects
  • Applications: Part of electronics devices, small laboratory power supply
  • Power supply voltage: Unreglated DC 8-18V power supply
  • Power supply current: Needed output current + 5 mA
  • Component costs: Few dollars for the electronics components + the input transformer cost

Circuit description

This circuit is a small +5V power supply, which is useful when experimenting with digital electronics. Small inexpensive wall tranformers with variable output voltage are available from any electronics shop and supermarket. Those transformers are easily available, but usually their voltage regulation is very poor, which makes then not very usable for digital circuit experimenter unless a better regulation can be achieved in some way. The following circuit is the answer to the problem.
This circuit can give +5V output at about 150 mA current, but it can be increased to 1 A when good cooling is added to 7805 regulator chip. The circuit has over overload and therminal protection.
circuit diagram
Circuit diagram of the power supply.
The capacitors must have enough high voltage rating to safely handle the input voltage feed to circuit. The circuit is very easy to build for example into a piece of veroboard.
picture of 7085 regulator
Pinout of the 7805 regulator IC.
  • 1. Unregulated voltage in
  • 2. Ground
  • 3. Regulated voltage out

Component list

7805 regulator IC
100 uF electrolytic capacitor, at least 25V voltage rating
10 uF electrolytic capacitor, at least 6V voltage rating
100 nF ceramic or polyester capacitor

Modification ideas


More output current

If you need more than 150 mA of output current, you can update the output current up to 1A doing the following modifications:
  • Change the transformer from where you take the power to the circuit to a model which can give as much current as you need from output
  • Put a heatsink to the 7805 regulator (so big that it does not overheat because of the extra losses in the regulator)

Other output voltages

If you need other voltages than +5V, you can modify the circuit by replacing the 7805 chips with another regulator with different output voltage from regulator 78xx chip family. The last numbers in the the chip code tells the output voltage. Remember that the input voltage muts be at least 3V greater than regulator output voltage ot otherwise the regulator does not work well.
Related Posts Plugin for WordPress, Blogger...