Discussion in "8051 Discussion Forum" started by    kirangowle    Sep 20, 2014.
Sat Sep 20 2014, 10:05 am
#1
Hello All,
I want to connect normal speaker (as a siren) to 8051 thrugh relay, If Speaker wire is disconnected then controller should get an information about this. How can this be done.
Initially i thought of sending a short duration of test pulse and check the siren is working or not through a microphone. But this requires a ADC,
Is there any other way where i can get to know if the load is disconnected/short circuit to battery/short circuit to Gnd.

Thanks
Kiran
Thu Oct 02 2014, 03:00 am
#2
Sorry about the delay in replying,
the website had a bug stopping postings.

To test the whole system,a microphone may be the best option.
You don't need an ADC.
There are many simple sound operated switch circuits out there.

In this circuit you could replace T3 with an input to your micro.

 kirangowle like this.
Sat Oct 18 2014, 09:19 pm
#3
Thanks ExperimenterUK
Tue Oct 21 2014, 11:48 pm
#4
@ kirangowle
you have to set the microphone level according to environment it should not operate at surrounding noise like fan noise
i think better and better option is still a microphone it this way you will be able to know that speaker is not working not necessary that wire is braked other reasons can be

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am
utaletxcyw
Wed Apr 17 2024, 10:21 am
Anthonyvab
Wed Apr 17 2024, 08:48 am
RobertCix
Wed Apr 17 2024, 06:46 am