Discussion in "New Ideas regarding projects" started by    ankitbajaj01    Nov 11, 2014.
Tue Nov 11 2014, 12:30 PM
#1
Hello All,
Can any one guide me how to interface the 8051 with 8 ohm speaker?
I want to generate tone as following:
Ping...Ping...Ping...Ping...Ping...Ping...Ping...Ping

Please guide me.
Thu Nov 13 2014, 01:11 AM
#2
An 8 ohm speaker is not a good choice, 16 or 64 ohms is better.
Better still use a piezo sounder.
With a small 8 ohm speaker add a 220 ohm resistor in series with the speaker
and use a transistor to switch the current.
Experiment with smaller resistors to get a louder sound without damaging the speaker !

To make a tone, turn the transistor on and off a 1000 times a second.
To make beeps, turn the transistor on and off 1000 times a second, for a second,
then off for a second, then repeat as often as you like.




[ Edited Thu Nov 13 2014, 01:17 AM ]
Fri Nov 14 2014, 05:07 AM
#3
For generating music from 8051, take a look at our musical library with demo tones.. Test it and let us know how it sounds.
http://www.8051projects.net/download-d231-musical-tone-library-for-8051.html
Wed Nov 19 2014, 01:49 PM
#4
Thanks for the prompt response,
I will try it out suggestions of both of you.
Once done, I will update here.
Regards...

Get Social

Information

Powered by e107 Forum System

Conversation

Fri Dec 15 2017, 12:18 PM
mehari
can not find dhtxx.md file in proteus 8.0 can anybody help me please?
sahar7478
Fri Dec 08 2017, 12:47 PM
can i get gsm a6 library? can anybody help? tia
Faiqa
Sat Nov 25 2017, 08:32 AM
Can i get the code of Monitering and controlling of green house effect? ... Can anyone help me ?
Wed Nov 08 2017, 01:35 PM
Anirudh jain
I want to burn code in atmel 89s51 24pc 0329 but cannot get the connection with the burner. Can somebody provide me with the circuit diagram for connecting controller to burner. I'm using usb burner
Thu Nov 02 2017, 11:44 AM
karpal
write a program to exchange the content of b register with external RAM address 02CFH help me
Wed Nov 01 2017, 05:47 PM
sanae
i am using the DHT11 but i'm getting some errors in the simulate the programe in proteus 8 professional,: 1)cannot find model file 'DHTXX.MDF'.2)simulation failed due to netlist linker error(s).
Fri Sep 29 2017, 02:45 AM
Maaz
i am doing the same project on verilog please contact me [email protected]
Wed Sep 20 2017, 12:36 AM
Ted
In a missing pulse detector using a 555 timer connected as a monostable vibrator with a PNP transistor,how does the positve input pulse turn on the PNP transistor?
Sun Sep 03 2017, 02:29 PM
martymarty
How do I connect an <NOKIA 1100 LCD > to an atmega328P ?
poojab51296
Sun Aug 20 2017, 10:23 AM
i am intending to interface sd card with STM32F4 and want to write a file in sd card using SPI protocol but using HAL only. Can anyone help me PLEASE!!!!

Downloads

Comments

johaneras
Fri Dec 15 2017, 08:58 AM
roopay
Wed Dec 13 2017, 07:11 AM
janvimandeep
Mon Dec 11 2017, 01:05 PM
fernanmonroy2
Mon Dec 11 2017, 08:33 AM
sahar7478
Fri Dec 08 2017, 12:34 PM
zhudao
Tue Dec 05 2017, 06:14 AM
chetan6379
Sat Dec 02 2017, 03:42 PM
HaloSpartanOdst
Fri Dec 01 2017, 12:05 PM

Online

Guests: 74, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 37929
Newest member: johaneras
Forum Activity
johaneras Avatar
Posted By johaneras
Fri Dec 15 2017, 09:08 AM
Good day Rikckey's WorldI have a huge project wher...
fernanmonroy2 Avatar
Posted By fernanmonroy2
Mon Dec 11 2017, 08:40 AM
Que significa que el contador de programa abordar...
zhudao Avatar
Posted By zhudao
Wed Dec 06 2017, 03:08 AM
I think either your 120 - 5 volt adapter, or the L...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Dec 05 2017, 08:12 PM
I think either your 120 - 5 volt adapter, or the L...
zhudao Avatar
Posted By zhudao
Tue Dec 05 2017, 06:41 AM
Hi to all, in the period time I'm doing an project...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Nov 20 2017, 10:18 PM
Here is a version of the tutorial that reads a key...
Ansh12 Avatar
Posted By Ansh12
Mon Nov 20 2017, 02:15 AM
As a starting point, can you tell us how much of t...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Nov 19 2017, 08:35 PM
As a starting point, can you tell us how much of t...
Ansh12 Avatar
Posted By Ansh12
Fri Nov 17 2017, 04:07 AM
I am looking keypad interfacing program. I was rea...
JardCrocker Avatar
Posted By JardCrocker
Wed Nov 08 2017, 05:29 PM
Hi...i am a new user here. I was also facing the s...