BSII as "Dead Air" detector?
Vern Graner
Posts: 337
Before I "reinvent the wheel" I wanted to know if anyone had created a "dead air" detector using the Basic Stamp?
For those of you not aware of this term, "dead air" refers to what happens when a radio station stops sending audio. For example if the DJ goes off to the restroom and the song finishes and there's no one there to kick off the commercials, talk or spin another disk, you get "dead air" which is anathama to radio stations.
I have a request to create a device that would monitor the audio output from the station and then perform a digital task if it detects dead air (i.e. send an email, or auto-trigger a CDplayer to play some music etc.). I was envisioning using a full-wave bridge rectifier to convert headphone audio output AC to DC, then using a small cap to smooth it out. Add a zener diode to clamp the voltage level to a reasonable level, then hooking that to a pin on the stamp and watching for the input to go to "zero" (i.e. dead air).
Anyone done this already, or does anyone have any comments on my design?
Vern
For those of you not aware of this term, "dead air" refers to what happens when a radio station stops sending audio. For example if the DJ goes off to the restroom and the song finishes and there's no one there to kick off the commercials, talk or spin another disk, you get "dead air" which is anathama to radio stations.
I have a request to create a device that would monitor the audio output from the station and then perform a digital task if it detects dead air (i.e. send an email, or auto-trigger a CDplayer to play some music etc.). I was envisioning using a full-wave bridge rectifier to convert headphone audio output AC to DC, then using a small cap to smooth it out. Add a zener diode to clamp the voltage level to a reasonable level, then hooking that to a pin on the stamp and watching for the input to go to "zero" (i.e. dead air).
Anyone done this already, or does anyone have any comments on my design?
Vern
Comments
I know the station I work for uses the Gentner Silence sensor Part Number 910074001.
That's my thought.
Paul
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
New Combo LCD Backpack
http://hometown.aol.com/newzed/index.html
·
write code as timer.. and use comparator input as timer reset.
if no any signal on time, alarm it..
abstract circuit, set sound sensitivity level by potentiometer at invert pin(+)
and audio input with RC lowpass filter to non-invert pin(-) and output to Stamp with 10k resistor pullup.. then apply some code..
Post Edited (Worapoht) : 10/29/2004 3:21:30 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Another idea uses a chip which I myself use for VU Meters, but which a member of the Yahoo Group (I don't know if he's on this forum) used to detect the end of a song in his Home-Brew Jukebox.· As I recall he used an LM3914 Dot/Bar Display Driver chip.· This chip will output a low on 10 different outputs indicating the level of music.· I believe he tested the lowest pin for low output, and if not low for a specified time, the song was over.
You can also half-wave rectify the signal and buffer it with a cap for better response.· Both ideas work best with Line Level audio (1V Peak to Peak).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·