Previous in Forum: transformer   Next in Forum: Overvoltage
Close
Close
Close
31 comments
Rate Comments: Nested
Active Contributor

Join Date: Sep 2007
Posts: 13

Connecting A Buzzer To My Infrared Proximity Detector?

09/18/2007 3:04 AM

As above. I have an IRPD Infrared Proximity Detector http://www.lynxmotion.com/images/data/irpd-v7.pdf which im going to use...but i face a problem whereby i want to change the way it detects as this product will emit a light from the led if there is an object infront of the sensor, what i want is instead of the led light up i want to implement a buzzer to the sensor set up. So if the sensor detects a object infront of it , it will buzz instead...

I hope someone can help me with the problem i faced. Thank you in advanced.

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
Engineering Fields - Control Engineering - New Member China - Member - New Member

Join Date: Sep 2006
Location: CHINA
Posts: 2945
Good Answers: 14
#1

Re: How to connect a buzzer to my infrared proximity detector?

09/18/2007 6:24 AM

I think its not trouble.

use a transistor at conneting and its collector connet a buzzer. ok

Register to Reply
Guru

Join Date: Jul 2007
Location: Commissariat de Police, Nouvions, occupied France, 1942.
Posts: 2599
Good Answers: 77
#2
In reply to #1

Re: How to connect a buzzer to my infrared proximity detector?

09/18/2007 7:09 AM

You might want to connect a rectifier reverse-biased across that buzzer to as to prevent the transistor from seeing large negative-going voltages, and responding poorly to them.

__________________
Good moaning!
Register to Reply
Guru
Engineering Fields - Control Engineering - New Member China - Member - New Member

Join Date: Sep 2006
Location: CHINA
Posts: 2945
Good Answers: 14
#5
In reply to #2

Re: How to connect a buzzer to my infrared proximity detector?

09/18/2007 9:59 PM

I seem not too understand your meaning. at output terminal is a sucssion of pulses. where is rectifier?

see this pic, is it simple?

Register to Reply
Guru

Join Date: May 2007
Location: Budapest, Hungary, HA5YAR
Posts: 617
Good Answers: 14
#12
In reply to #2

Re: How to connect a buzzer to my infrared proximity detector?

09/19/2007 12:09 PM

Diode is not necessary if they use piezo buzzer.

__________________
Aged man is not old man...
Register to Reply Score 1 for Good Answer
Active Contributor

Join Date: Sep 2007
Posts: 13
#6
In reply to #1

Re: How to connect a buzzer to my infrared proximity detector?

09/18/2007 11:35 PM

thanks but i don't quite get what you trying to say... could you elaborate more thanks

Register to Reply
Guru
Engineering Fields - Control Engineering - New Member China - Member - New Member

Join Date: Sep 2006
Location: CHINA
Posts: 2945
Good Answers: 14
#10
In reply to #6

Re: How to connect a buzzer to my infrared proximity detector?

09/19/2007 5:52 AM

Doesnt the $5 still explain all? cannt read the diagram?

just buy a buzzer to welding according to the graphic, it will work either level condition or pulse output condition.

Register to Reply
Guru

Join Date: Oct 2006
Location: New Jersey U.S.A.
Posts: 1114
Good Answers: 38
#3

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/18/2007 10:22 AM

Why not just use the output (yellow wire) to energize a small relay and therefore allow you to use other than supplied voltage, to energize a buzzer. This will in affect isolate the buzzer from the unit.

__________________
The last fight was my fault. My wife asked "What's on the TV?" I said "Dust!"
Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#4

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/18/2007 4:09 PM

Hello Shiznitro,

Consider using a piezo buzzer, available worldwide from Projects Unlimited. The right & left LEDs on your sensor board will work as before, except that with this buzzer you will also have the audio indication you desire.

The buzzer is rated for operation between 1.5 v and 12 vdc, is quite loud (106 dBA @ 10 cm @ 6 vdc operating voltage), and consumes only 9 mA. As your supply voltage is 5 volts, not 6, and with a small voltage drop across the IR sensor's output transistor, the buzzer will not be quite as loud as rated, but still plenty loud.

Simply connect the buzzer's black wire to the yellow wire or, preferably, directly at the IR sensor's output pin. Connect the red wire to the +5 volt supply.

As the buzzer requires little current and has a wide voltage range, you will not need to use a relay or a transistor in the buzzer circuit; you can connect the buzzer directly. What could be simpler?

Register to Reply
Active Contributor

Join Date: Sep 2007
Posts: 13
#7
In reply to #4

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/18/2007 11:50 PM

thanks but i have a buzzer already with me which i think should be able to work the same as the piezo buzzers but it just seem to get it work together with the proximity detector...

Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#8
In reply to #7

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/19/2007 12:43 AM

It would help a great deal, then, if you would provide the electrical specs for your buzzer. Operating voltage? Current? Electromechanical (ie, does it contain an inductor/coil)?

Register to Reply
Active Contributor

Join Date: Sep 2007
Posts: 13
#9
In reply to #8

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/19/2007 1:43 AM

sorry about that... here is the spec of the SS BUZZER FLANGEMNT DC http://docs-asia.electrocomponents.com/webdocs/009f/0900766b8009f994.pdf

Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#13
In reply to #9

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/19/2007 6:58 PM

Your sensor board requires a 5-volt supply. Your audio indicator operates at a minimum of eight volts - and preferably at 12 volts - and draws 30 mA which I believe probably exceeds the current-handling capabilities of the IR sensor. Panasonic doesn't actually say what the current-handling ability of the part's output stage is (!), but judging from the presence of the 220-ohm resistor on the yellow output lead my guess is that the sensor can handle a 20-25 mA load. But using this particular indicator means that you will need to power it using an additional supply.

No problem in terms of building an interface circuit, but my first question would be: must you use that particular audio indicator? If you can find an alternative indicator that requires 5 volts or less and draws less than (say) 20 mA, you can save yourself the trouble of building an interface circuit (at all) and especially one that requires an additional supply. For my part, I'd opt for using a different indicator, just to keep things simple (and less expensive). But if you're stuck with using this part, let me know and we'll see what we can do.

-e

Register to Reply
Active Contributor

Join Date: Sep 2007
Posts: 13
#14
In reply to #13

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/19/2007 9:44 PM

Well strangely the device was able to work together with the buzzer I must have miss some connection maybe =X Really sorry about that... Plus i also have given you the wrong specs for my buzzer it is a KS-3606 where you can find it here at the second page http://www.deltron-euroind.it/pdf/avvisatori_acustici/buzzer_da_pannello/con_driver_eletro.pdf as the website gave a wrong link for the pdf. Its operates at 4~8VDC.

Nonetheless it was not able to function as what i wanted ... when i increase the voltage both the infrared detector and the buzzer went high...what i meant is the infrared straight away detect an object when there isnt and thus making the buzzer buzz... I hope you can help me with it again ... Thanks again

Register to Reply
Active Contributor

Join Date: Sep 2007
Posts: 13
#15
In reply to #14

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/19/2007 10:54 PM

sorry above was due to wrong placing of wire... the buzzer sound is very faint I have to put it very near to my ear to be able to hear its buzz... is there a way to amplify the buzz ... thanks again

Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#16
In reply to #14

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/19/2007 11:09 PM

Hey, no problem.

From the specs it looks like your KS-6606 (there is no KS-3606 on the data sheet) draws about 13 mA at 4.5 volts. That's 5 volts minus the collector-emitter voltage drop across the IR sensor's output transistor. I'm guessing this to be a conservative 0.5 volts, more or less. From the looks of it, you could connect the buzzer's negative lead directly to the sensor output pin and the positive lead to the +5v rail. Don't connect the negative lead to the yellow wire, as there'll be too much of a voltage drop across the 220-ohm resistor to power the buzzer.

I am somewhat puzzled by, "...when i increase the voltage both the infrared detector and the buzzer went high...what i meant is the infrared straight away detect an object when there isnt and thus making the buzzer buzz..." What voltage? Are you increasing the detector module's supply voltage to above 5 volts? It may be able to take it, but as the module is spec'd to run at 5 volts I wouldn't recommend this. But...what may be happening is that as you increase the module's supply voltage, the IR LEDs get brighter. Enough so to illuminate the IR sensor directly! The manual for the module does warn that this can happen under normal conditions, and recommends affixing black electrical tape around the sides and back of the sensor to block stray light from the IR LEDs.

Connect your buzzer as suggested, drop the power supply to 5 volts (!), block stray light from the IR LEDs and please let me know how it works out?

Register to Reply
Active Contributor

Join Date: Sep 2007
Posts: 13
#17
In reply to #16

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/19/2007 11:59 PM

There is you have to scroll down there is about 5 pages in the link i gave you.

About the "...when i increase the voltage both the infrared detector and the buzzer went high...what i meant is the infrared straight away detect an object when there isnt and thus making the buzzer buzz..." i fix the problem it was wrong placing of wire so you can forget about it the thing now it functioning to what i want,

The problem now is that the buzzer sound is so faint that i have to put it near my ear to hear there is a buzz. So what i want to know now is that is there a way for me to increase the volume of the buzzer? thanks again you really have help me alot E !

Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#18
In reply to #17

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/20/2007 4:51 AM

Check the voltage across the buzzer leads. If it's too low, then the sensor's output transistor probably can't handle the current. It wouldn't be a bad idea to connect the buzzer directly across the 5-volt supply just to see if it works properly at that voltage. If your multimeter can measure current, do so with the buzzer across the 5-volt supply and again when it is connected to the sensor's output pin. My hunch is that the buzzer is loading the circuit way too much. According to the specs, this may very well be what's happening. The thing draws 50 mA at 3 volts! Yikes! Bet the KS-6606 would work better, as it draws much less current. Can you use a different buzzer? That one I mentioned from Projects Unlimited is very loud and draws only 9 mA. They're pretty inexpensive, too, and you may even be able to get an engineering sample of one free of charge.

Register to Reply
Active Contributor

Join Date: Sep 2007
Posts: 13
#19
In reply to #18

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/20/2007 11:35 PM

Well after measuring with my multimeter the results were :

voltage across the buzzer = 4.54V

yes the buzzer work properly with a direct voltage of 5-volt [ very loud ] was able to hear the buzzer when it was at 2-volt.

"If your multimeter can measure current, do so with the buzzer across the 5-volt supply and again when it is connected to the sensor's output pin".... i got a similiar current value of 7.6 mA

so now im quite puzzled why it doesnt buzz like when it was connected directly with a 5-volt across it :(

Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#20
In reply to #19

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/21/2007 9:48 AM

The buzzer drew 7.6 mA when connected through the ammeter across the 5 V supply (assuming the 5 V supply output voltage really is five volts?) and 7.6 mA again with 4.54 V across the buzzer connected to the module through the ammeter? You need to make both current and voltage measurements simultaneously - implying you'll need a second multimeter to do this - otherwise you are changing the measurement conditions between measurements.

Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#21
In reply to #19

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/21/2007 9:43 PM

Hello shiznitro,

Sorry my last post sounded a bit abrupt. I was interrupted by something that came up and had to rush to finish my post.

I'm puzzled by your results, but if you make both the current and voltage measurements simultaneously, it may shed some light as to why you're getting these puzzling results. Also, if you have an oscilloscope, look at the voltage across the buzzer while it is connected to the module. At 4.54 V across the buzzer, it should be quite loud. Why it isn't is a mystery, especially in light of the fact that it is very loud when across the 5 V supply and still audible at 2 V. I'm also puzzled by the low current draw. This thing is spec'd to draw 50 mA at rated voltage, and yet it draws only 7 or so milliamps. Hope you don't mind going through these exercises, when all you really want is a working audio indicator for your module.

Register to Reply
Active Contributor

Join Date: Sep 2007
Posts: 13
#22
In reply to #21

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/23/2007 9:49 PM

Hello europium,

Sorry for the late reply, was busy during the weekends. Anyways i have followed your instructions and i found that the current still remain the same. However the voltage value drop to 39.4mV i think this is why my buzzer isn't loud :(

Is there away to solve this problem cause i want to learn rather than having a easy way out by getting the piezo buzzer, i like to troubleshoot =D Sorry to trouble you and thanks again.

Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#23
In reply to #22

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/24/2007 2:18 PM

Hello shiznitro,

No trouble at all! Here's a schematic that will turn on your buzzer when the output of the photodetector is low. It's a simple double-inverter that you can build and test on a protoboard.

(Note: I don't have a general-purpose buzzer symbol in my CAD library. The symbol shown below is that of a bare piezo speaker which, in practice, won't produce more than a click when the power is applied. Ignore the nature of the symbol and substitute your buzzer in this part of the circuit, positive lead to +5V.)

You can connect the circuit input to your module's yellow lead. It doesn't have to be connected directly to the photosensor directly. This will allow you to connect the buzzer circuit to the module without modifying the module itself in any way. The circuit will also let you use a buzzer rated at a higher voltage, (say) one rated for 12V operation, in which case you'll supply the driver circuit (shown) with that supply. In the case of two power supplies (one for the buzzer and the driver circuit), they will need to share a common ground. The driver circuit here is shown as also being powered by the 5V supply.

The transistors can be general-purpose 2N3904 or equivalent. Resistors are all 10k, 1/4 watt:

Let me know if this works out!

Take care,
-e

Register to Reply Score 1 for Good Answer
Active Contributor

Join Date: Sep 2007
Posts: 13
#24
In reply to #23

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/24/2007 10:16 PM

Hello Guru Europium,

After following your latest instruction my buzzer works exactly as it should and it buzz as loud as when it is through a direct connection of 5volts across it .

Im really thankful for your guidance and patience.Thanks again!

One more thing may i know what software you use for the schematic ?

Thanks again and enjoy your day ^_^

-shiznitro

Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#25
In reply to #24

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/24/2007 11:04 PM

Great! Glad to be of help! And thanks for your patience, Mr. Shiznitro. It took me long enough to finally get to the point, non?

Here's a link to KB6NU's webpage listing several freeware or shareware schematic-capture programs for Windows and Macs. The one I used to draw your schematic is DesignWorks Lite, demo version (free for 30 days after which you can pay $40 USD for the unlocked version if you want).

Take care,
-e

Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#26
In reply to #24

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/25/2007 4:09 PM

Hello Shiznitro,

Here's the same schematic, except that the buzzer is replaced by a relay. If the situation arises where you would like to use the circuit to drive an inductive load (the relay coil, for example) you will need to include a so-called "flywheel diode" (shown here as a 1N4001 diode) across the coil to keep from frying your output transistor. If you were to use an electromechanical buzzer instead of your piezo indicator, the same thing would apply: you will need that diode in the circuit to protect the output transistor.

When the current through an inductive load is interrupted, the magnetic field in the inductor collapses and induces a voltage across the inductor's terminals. The current in an inductor wants to keep flowing - it resists change - and so it will cause the voltage across the inductor to increase in order to maintain that current flow which, of course, won't happen if the transistor is turned off. This voltage that appears across the inductor can toast the transistor if it becomes high enough.

The diode shown here allows that current to loop back through the diode until the current is dissipated by the resistance of the coil windings. Hence the transistor doesn't see a thing and everyone stays happy.

If you use your circuit with a relay, you can switch heavier loads, AC loads (like a light bulb or an AC motor - or an even bigger relay, like a contactor) and so forth easily. This driver circuit can drive things besides buzzers, should some of your designs require it and so long as the current through the transistor is kept within its safe operating limits.

Here is the revised schematic:

Take care,
-e

Register to Reply
Active Contributor

Join Date: Sep 2007
Posts: 13
#27
In reply to #26

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/25/2007 9:13 PM

Hello Europium,

Thanks again didn't realised that you would come here again after solving my problem... Yet you come and help me further to make me able to use for other purposes :D im really impressed and grateful to have come across this great forum meeting people like you. TWO THUMBS UP FOR YOU!!!

Again thank you. Take care

Sign

Shiznitro

Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#28
In reply to #27

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/25/2007 9:54 PM

Thanks, Shiznitro.

God bless,
-e

Register to Reply
Active Contributor

Join Date: Sep 2007
Posts: 13
#29
In reply to #27

Re: Connecting A Buzzer To My Infrared Proximity Detector?

10/19/2007 3:09 AM

Hmm is there a way for me to reversed the process of detection whereby instead of it buzzing when there is an obstacles, it will buzz when there is nothing for eg... if i would open the door the buzzer will buzz and it will off when the door is close ?

Register to Reply
Guru
Engineering Fields - Electrical Engineering - New Member United States - Member - New Member

Join Date: Apr 2007
Location: Wichita, Kansas USA
Posts: 653
Good Answers: 30
#30
In reply to #29

Re: Connecting A Buzzer To My Infrared Proximity Detector?

10/19/2007 11:36 AM

Shiznitro, with my apologies to Europium for stealing his schematic, you can easily "reverse the logic" of the circuit by removing the first inversion. The red line is a new connection, and the black X's are what you need to disconnect.

Note to Europium: I think you need to change the word "Immortality" in your signature to "notoriety". I can think of many times that "spectacular error" has pointed out ones mortality.

Register to Reply
Active Contributor

Join Date: Sep 2007
Posts: 13
#31
In reply to #30

Re: Connecting A Buzzer To My Infrared Proximity Detector?

10/21/2007 11:18 PM

thanks tdesmit, i don't think he would mind :)

Register to Reply
Anonymous Poster
#11

Re: Connecting A Buzzer To My Infrared Proximity Detector?

09/19/2007 8:16 AM

I am not sure what functions your are looking for but I wanted to detect the motion of animals (Deer) in my yard at home.

I found a IR motion dector that works with a remote-wire-less reciever that sounds an alarm when motion is detected.

Try the following webpage where you can order it:

http://www.harborfreight.com/cpi/ctaf/displayitem.taf?Itemnumber=93068

I am an electronic engineer but I could not reinvent this wheel and build it any cheaper.

Hope this helps

Have fun and good luck

Register to Reply
Register to Reply 31 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Anonymous Poster (1); charsley99 (1); cnpower (3); Crabtree (1); Qqberci (1); shiznitro (12); tdesmit (1); user-deleted-13 (11)

Previous in Forum: transformer   Next in Forum: Overvoltage

Advertisement