Microphone to Receive Sound of Car Horn

Computer Nerd Kev wrote:

At the microphone, would a cone or something attached to the Electret mic
be an advantage to picking up the sound?

** Car horns are loud, picking up the sound at 20m should not be a problem.


.... Phil
 
On 11/07/2016 2:25 PM, Phil Allison wrote:
Trevor Wilson wrote:



**There are a large number of far better schemes which can be
employed, very inexpensively. AT the low end, you could buy a
movement sensor lamp assembly. These things are pretty much plug
and play.



** The OP has asked for a light switch system that works over a 20m
range and without necessarily a direct line of sight and preferably
only when he operates his car horn.

A PIR detector unit will fail on all counts - cos its lacks range and
the ability to see around corners plus triggers any time of day to
any moving object, like a tree blowing in the wind.

**Nonsense. PIRs can be sited remotely to lights. It costs a little
more, but not much. Depending on the PIR used, quite narrow, long ranges
can be managed. I use a PIR in my workshop, which switches a light on 6
Metres away. It would be a trivial exercise to site it 100 Metres away,
should I wish to do so.

His idea can work well, a car horn is a loud and distinctive sound
particularly in a rural environment.

**It is a dumb idea on so many counts. The idea of using a PIR is MUCH
easier, more reliable and cheap. Everything is available off the shelf.

This is another alternative, though not Solar powered:

http://www.ebay.com/itm/10W-20W-30W-50W-LED-Flood-Light-IP65-PIR-Motion-Sensor-Security-Spot-Lamp-Bulbs-/271860310597?var=&hash=item3f4c232245:m:mpsLnVMUtZ4xuA5wNtKLF5Q



But designing and building it will take a tad more engineering than
he presently imagines.

**Of course. It is a really dumb idea on so many levels.

--
Trevor Wilson
www.rageaudio.com.au

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
 
Phil Allison <pallison49@gmail.com> wrote:
Trevor Wilson wrote:

PIRs can be sited remotely to lights.

** That is a new suggestion.

So now the OP needs a PIR sensor with ambient light inhibit,
mounted where it can reliably sense his car approach at night
while driving backwards and then power a mains voltage supply
to a remote light which must stay on for a few minutes.

But it may still be difficult to avoid it triggering on
other nighttime movements. They've always seemed very
unreliable to me. Heck, even the automatic doors on
shops tend to ignore me unless I have the foresight to
wildly wave a limb at them (alright they're probably just
poorly set up, but I stubbornly dislike PIR sensors).

I think the light sensor would be better, of the options that
have me using a time delay, and I have no problem building it.
An LDR in the end of some poly pipe, connected in a voltage
divider on pin 2 of an NE555 IC in monostable configuration,
which drives a relay which turns on the light. Easy.

--
__ __
#_ < |\| |< _#
 
On 2016-07-10, Computer Nerd Kev <not@telling.you.invalid> wrote:
This leaves me with the problem of what kind of microphone I should
use to detect the sound of the car horn, and unfortunately this is
an area where I am not very knowledgeable.

Anyting suited to recording voice should give acceptable results.
if you've got any song birds around be aware that they learn to mimic
repeated sounds, dinner calls, crossing signals, ringtones, car alarms
, probably car horns too.

For those worried about me disturbing the peace of my
neighbours, the nearest other residence is over half a
Kilometer away!

Good to know.

--
This email has not been checked by half-arsed antivirus software
 
On 2016-07-10, Computer Nerd Kev <not@telling.you.invalid> wrote:
Sylvia Else <sylvia@not.at.this.address> wrote:
On 10/07/2016 6:19 PM, Computer Nerd Kev wrote:
Sylvia Else <sylvia@not.at.this.address> wrote:
On 10/07/2016 4:38 PM, Computer Nerd Kev wrote:
THE SHORT STORY:
^^^^^^^^^^^^^^^^
I want to know what sort of microphone would be suitable for
picking up the sound of a car horn from around 10-20m away.
It would be mounted outdoors and the signal used to detect
the sound of the horn and turn on/off an exterior light.

THE LONG STORY:
^^^^^^^^^^^^^^^
I'm hopefully soon to receive a new headlight to replace the
cracked one that's in my car currently, and I had the thought
yesterday that it might be handy to set it up inside a box. Then
locate it where it can illuminate a part of my driveway which
can be difficult to reverse down at night.

That should be easy enough, though I will be assuming that halogen
car headlight bulbs work OK on 12VAC, unless someone here wishes to
advise me otherwise. The issue is having the light turn off once
I have reached the point of the drive where my car can be returned
to it's rightful forward orientation.

Not liking the horn solution, (though I note your comment about the
neighbour's distance), I'm wondering whether a sensor to detect your
headlights while you're reversing would do the job. While headlights
detected, illuminate driveway.

Nice idea, but unfortunately the driveway has a bend in it, which is
the main reason I would like the extra light to make sure I don't
find myself against the power pole that the bend is placed to avoid.

It's possible that my ignorance of microphone capabilities is the
reason I think the horn idea will work. Do you have any reason
to suggest it wouldn't?

Not really, but you'd need an amplifier and a filter to separate the
horn from other noises (unless spurious triggering doesn't bother you).
If you want to use the horn to turn it off, you'd also need to implement
a toggle.

The circuit from ETI should take the place of a filter, and be more
adjustable. It detects peaks in the sound wave and measures the period
between them to determine the frequency. If the frequency is within a
certain range, it produces a constant HIGH output.

You might find that it triggers in heavy rain (the noise of which has a
wide spectrum). If you're using the horn to turn off as well, then heavy
rain might cause spurious turn-offs. No doubt some effort could be
expended to detect the wide spectrum, and ignore it, but you'd then want
to make sure it still responds to the horn even in heavy rain - it all
starts to get rather complicated.

Yes, perhaps. I hadn't thought of rain, but one other issue will be
wind. There aren't many wind breaks around and, looking at the local
forcast, it would have to work in winds at (very) least up to 50Km/h.
You'd have both the wind noise and the effect of the wind blowing
away the sound of the horn (although it would be rare for a strong
wind to be blowing from the bearing directly behind the microphone).
I wouldn't be surprised if I had trouble myself hearing a car horn
15m away while standing in a 100+Km/h wind gust, and there are a lot
of other noises introduced by surrounding structures in those
conditions as well.

The wind, if it were to blow near parallel with the line between the
car and the microphone would also distort the frequency due to the
doppler effect. Well I think that's right anyway...

only when the wind changes speed will the frequency vary from the
source frequency (as this changes the length of the delay),
but the wind speed will modulate amplitude.

--
This email has not been checked by half-arsed antivirus software
 
Phil Allison <pallison49@gmail.com> wrote:
Computer Nerd Kev wrote:



At the microphone, would a cone or something attached to the Electret mic
be an advantage to picking up the sound?

** Car horns are loud, picking up the sound at 20m should not be a problem.

Great!

--
__ __
#_ < |\| |< _#
 
Jasen Betts <jasen@xnet.co.nz> wrote:
On 2016-07-10, Computer Nerd Kev <not@telling.you.invalid> wrote:

This leaves me with the problem of what kind of microphone I should
use to detect the sound of the car horn, and unfortunately this is
an area where I am not very knowledgeable.

Anyting suited to recording voice should give acceptable results.
if you've got any song birds around be aware that they learn to mimic
repeated sounds, dinner calls, crossing signals, ringtones, car alarms
, probably car horns too.

I haven't heard any such behaviour from the local birdlife so far.
If it were a problem, I could hopefully set the sound amplification
so that only the loud car horn could trigger the circuit.

--
__ __
#_ < |\| |< _#
 
Computer Nerd Kev <not@telling.you.invalid> wrote:
Phil Allison <pallison49@gmail.com> wrote:
Trevor Wilson wrote:

PIRs can be sited remotely to lights.

** That is a new suggestion.

So now the OP needs a PIR sensor with ambient light inhibit,
mounted where it can reliably sense his car approach at night
while driving backwards and then power a mains voltage supply
to a remote light which must stay on for a few minutes.

But it may still be difficult to avoid it triggering on
other nighttime movements. They've always seemed very
unreliable to me. Heck, even the automatic doors on
shops tend to ignore me unless I have the foresight to
wildly wave a limb at them (alright they're probably just
poorly set up, but I stubbornly dislike PIR sensors).

Although I don't really need any more reasons not to go
with a PIR sensor, it has occoured to me that the cold
rear of a car that's just been started wouldn't likely
be significantly visible in infrared compared to the cold
ground. The exhaust fumes would be warm, however I
imagine they would have quite a weak infrared signature,
and they would be easily affected by wind.

Turning up the sensitivity would much increase the
(already high) likelihood of false triggering.

I may want to spend some time in the car before setting
off, so triggering on my presence wouldn't be convenient.

--
__ __
#_ < |\| |< _#
 
Computer Nerd Kev wrote:

Although I don't really need any more reasons not to go
with a PIR sensor, it has occoured to me that the cold
rear of a car that's just been started wouldn't likely
be significantly visible in infrared compared to the cold
ground. The exhaust fumes would be warm, however I
imagine they would have quite a weak infrared signature,
and they would be easily affected by wind.

** Your tail and brake lights would be picked up though - long as they are not LEDs !


..... Phil
 
Phil Allison <pallison49@gmail.com> wrote:
Computer Nerd Kev wrote:


Although I don't really need any more reasons not to go
with a PIR sensor, it has occoured to me that the cold
rear of a car that's just been started wouldn't likely
be significantly visible in infrared compared to the cold
ground. The exhaust fumes would be warm, however I
imagine they would have quite a weak infrared signature,
and they would be easily affected by wind.


** Your tail and brake lights would be picked up though
- long as they are not LEDs !

Ah yes, I forgot about that, and they're not LEDs (yet).

--
__ __
#_ < |\| |< _#
 
Computer Nerd Kev wrote:
Computer Nerd Kev <not@telling.you.invalid> wrote:
Phil Allison <pallison49@gmail.com> wrote:
Trevor Wilson wrote:

PIRs can be sited remotely to lights.

** That is a new suggestion.

So now the OP needs a PIR sensor with ambient light inhibit,
mounted where it can reliably sense his car approach at night
while driving backwards and then power a mains voltage supply
to a remote light which must stay on for a few minutes.

But it may still be difficult to avoid it triggering on
other nighttime movements. They've always seemed very
unreliable to me. Heck, even the automatic doors on
shops tend to ignore me unless I have the foresight to
wildly wave a limb at them (alright they're probably just
poorly set up, but I stubbornly dislike PIR sensors).

Although I don't really need any more reasons not to go
with a PIR sensor, it has occoured to me that the cold
rear of a car that's just been started wouldn't likely
be significantly visible in infrared compared to the cold
ground. The exhaust fumes would be warm, however I
imagine they would have quite a weak infrared signature,
and they would be easily affected by wind.

Turning up the sensitivity would much increase the
(already high) likelihood of false triggering.

I may want to spend some time in the car before setting
off, so triggering on my presence wouldn't be convenient.
I don't know if it has been mentioned but an LDR in a long black tube
facing the car would probably do the trick with not much chance of false
triggering (triggered by headlights and with no noise, :) )
 
F Murtz <haggisz@hotmail.com> wrote:
Computer Nerd Kev wrote:
Computer Nerd Kev <not@telling.you.invalid> wrote:
Phil Allison <pallison49@gmail.com> wrote:
Trevor Wilson wrote:

PIRs can be sited remotely to lights.

** That is a new suggestion.

So now the OP needs a PIR sensor with ambient light inhibit,
mounted where it can reliably sense his car approach at night
while driving backwards and then power a mains voltage supply
to a remote light which must stay on for a few minutes.

But it may still be difficult to avoid it triggering on
other nighttime movements. They've always seemed very
unreliable to me. Heck, even the automatic doors on
shops tend to ignore me unless I have the foresight to
wildly wave a limb at them (alright they're probably just
poorly set up, but I stubbornly dislike PIR sensors).

Although I don't really need any more reasons not to go
with a PIR sensor, it has occoured to me that the cold
rear of a car that's just been started wouldn't likely
be significantly visible in infrared compared to the cold
ground. The exhaust fumes would be warm, however I
imagine they would have quite a weak infrared signature,
and they would be easily affected by wind.

Turning up the sensitivity would much increase the
(already high) likelihood of false triggering.

I may want to spend some time in the car before setting
off, so triggering on my presence wouldn't be convenient.

I don't know if it has been mentioned but an LDR in a long black tube
facing the car would probably do the trick with not much chance of false
triggering (triggered by headlights and with no noise, :) )

Yes that was Sylvia's suggestion and I'll be going with it,
at least for starters. I've already gathered up an LDR
and some very small black pipe from a garden irrigation
system, which will hopefully make it directional. I'll
probably try to rig up the sensor on the weekend and
look at the readings using my multimeter to determine
whether I'll need another sensor to disable it
during daylight.

--
__ __
#_ < |\| |< _#
 
On 12/07/2016 8:43 AM, Computer Nerd Kev wrote:
Jasen Betts <jasen@xnet.co.nz> wrote:
On 2016-07-10, Computer Nerd Kev <not@telling.you.invalid> wrote:

This leaves me with the problem of what kind of microphone I should
use to detect the sound of the car horn, and unfortunately this is
an area where I am not very knowledgeable.

Anyting suited to recording voice should give acceptable results.
if you've got any song birds around be aware that they learn to mimic
repeated sounds, dinner calls, crossing signals, ringtones, car alarms
, probably car horns too.

I haven't heard any such behaviour from the local birdlife so far.
If it were a problem, I could hopefully set the sound amplification
so that only the loud car horn could trigger the circuit.

Australia wildlife can be pretty loud.

But I doubt it will be a problem, unless you have a flock of lyrebirds
living nearby.

Sylvia.
 
keithr0 <user@account.invalid> wrote:
http://www.banggood.com/12V-4CH-Channel-433Mhz-Wireless-Remote-Control-Switch-With-2-Transimitter-p-1012323.html

Yes, I was considering the radio solution when I thought of
the horn detector. I don't really like having one of those
little control transmitters clattering around the car. Yes
I know I'm being terribly fussy, I reserve that right.

I was actually considering building the transmitter control
into the car interior somewhere, and it was along that train
of thought that I realised using the horn would perhaps be
easier than trying to neatly modify a part of the interior.

--
__ __
#_ < |\| |< _#
 
http://www.banggood.com/12V-4CH-Channel-433Mhz-Wireless-Remote-Control-Switch-With-2-Transimitter-p-1012323.html
 
Computer Nerd Kev <not@telling.you.invalid> wrote:
Sylvia Else <sylvia@not.at.this.address> wrote:
On 10/07/2016 9:26 PM, Computer Nerd Kev wrote:
Sylvia Else <sylvia@not.at.this.address> wrote:
On 10/07/2016 6:19 PM, Computer Nerd Kev wrote:

I might stay with the horn idea for the moment unless someone
educates on why it won't work. My worry with the light sensor is
that I'd have to fiddle with it to make sure light from the house
and reflected light from the driveway light itself didn't trigger
it. It would probably also mean that I couldn't leave the carport
light on for when I got back, if desired.

Putting the sensor inside a tube (painted matt black inside) pointed
down the driveway should eliminate spurious operation - headlights are
pretty bright, so the sensor need not be so sensitive. You may even find
that you don't need daytime suppression.

The problem is that the drive isn't very level (it's gravel), so
the headlight beam will move vertically as pot-holes and pot-hole
repairs are encountered. There should be a middle ground where a
tube or box will allow enough light in, I just fear it might take
a fair bit of tinkering in the dark of night.

From what I gathered, this solution requires a delay timer anyway, to
deal with the bend in the driveway. Just be sure that it gets reset
every time the sensor detects the headlights. Then as long as the sensor
is not outside the beam for a very extended period, it will work.

Yes, that's true. I'll probably set a decent time of three minutes or
so as there's no great rush to turn the light off, so it should be
fine even if it's only triggered when the vehicle first takes off.

OK, I'll go with this solution unless someone convinces me that most
of your and my worries about the microphone are false.

Well I built this headlight sensor design, and so far it seems to be
working well.

I used a 200mm length of 4mm ID black tubing, cable-tied to length of
stiff wire to keep it straight, in an attempt to avoid having to use
an ambient light sensor, and it seems to work very well. So far I've
only seen resistance readings below Megaohms when the headlights are
on, or a torch is shone directly down the tube.

I built the control circuit that I described elsewhere in the thread,
and it works well. It is currently set to trigger on any LDR resistance
below about 500K, though a trimpot will allow me to adjust this
threshold lower if required. So far the only remaining case where I
may have to do this is if the light of the sunrise reflecting from
the headlight is enough to trigger the circuit, unfortunately I
messed up my test this morning to see whether this was a problem.

Obtaining the replacement headlight has turned into a bit of a saga
in itself, so it will be another week until I can set up the driveway
light anyway. In the mean time the circuit is connected up to a buzzer
to let me know of any false triggers.

Thanks for this suggestion. Time will tell whether I will also give
my original horn detector idea a go after the driveway light is
set up.

--
__ __
#_ < |\| |< _#
 

Welcome to EDABoard.com

Sponsor

Back
Top