Thanks for the video. Small improvement. To avoid parasitic noise at the start I add a sequence "0, 6, 14, 22, 30, 38, 46, 54, 60, 68, 74, 82, 90, 98, 106, 114, 122," at the start of "const unsigned char sample0 [] PROGMEM". As a precaution, perhaps it is better to attack the transistor with a 150 Ohms connected to the base.
Nice project and good inspiration. Also thank you a lot for the files, I was just looking to download the apps until I read your description and downloaded them from there. Keep up the good work
NOOO! I had two speakers like that years ago and now I have no idea what happened to them. Oh well, I have two more but much bigger and they're a little to good to goof around with if "bad luck" strikes haha! No matter what ... great video! :D
Tx Ahmed and Roland Jolivet, now I know how to do this. I just got this idea today to make a countdown timer for a girl with cerebral palsy that can not speak, however you can use a technique called voice cloning to synthesize a similar sounding voice based on her utterances, that is the sound she can still make. And so when that works I put it all on a microcontroller with sound samples from "Ten" to "Zero" and then she will have her own countdown timer with her own voice to for example 🔥 🚀 Or just listen to herself speaking.
Amazing tutorial, thank you! could I ask a question? there is a way for an outside button/trigger instead of that on the motherboard? for example in a BLASTER, this will perfect to get the sound clicking the trigger, the only problem is that in your video I can see some LAG from the trigger to the sound, maybe a lightweight sound will be more rapid.
its good, I tried and it worked the way your showed.. Thanks for the code and the files, thats a cool job. Only thing about this project, is that it takes away 82% of the board space, otherwise cool one.
Wow, it looks so easy. Can we save the voice in this arduino and get another power supply for activate the arduino and the speaker? How much the voltage ?
Hello, I have been following this video an I've noticed the Encode Audio app you have , I've been searching an I can't seem to locate it. can you please tell me where I can find it or one like it that I can use .
Every BJT NPN transistor NEED a resistor bevor the base! Realy! Or it will destroy the transistor shortly. use a 470R resistor. The loudspeeker is inductive. You need a 1n4148 parallel to the loudspeaker, pointing the ring to positive.
I don't understand what Jen's is saying. Need a 470 resistor before the transistor where? No clue what the last sentence means either. First time attempting audio with an Arduino so trying to learn all I can
Thank you so much, the video is really helpful. I just have one questions , when I tried it, it played only the first second only not all the audio how can I fix it to stay longer
Just wondering can you use something else as a substitution for BC547? or like would it be okay to use op amp for a substitution. Is BC547 working as an amplifier ?
I can't use your library, is it normal? My arduino says that it did not find the library please help me I need help. I'm desperate I finally found the perfect tuto but I can't use it !!
Simple but nice video , that audio ecoder app is pretty cool. Is it possible to use it and get perhaps 16 bit output instead of the 8 bit ? Im planning to use an esp32 pwm with perhaps 10 or 12 bit resolution with a simple r/c circuit or DAC chip
Hello. Im trying to get some higher sound because that is not enough so i bought an lm386 audio amplifier module and im connecting the speaker to the output pins, and the 5v arduino to the vcc and the transistor instead of connecting to the gnd speaker pin im connecting to the module's gnd pin, but when i play the sound it makes only some noise. Can you help me? Is there any other way to get some higher sound?
try this amplifier - www.electronics.com.bd/pam8403-super-mini-digital-amplifier-board-2-3w-parts-ic-module-sensor-arduino-transistor-resistor-capacitor-robotics-project-electronics?search=amplifier&description=true&page=5
Can I connect 8 ohm speaker with this configuration and will the same transistor be enough for amplification? I am concerned because I don't want my circuit to be damaged.
Hi there i am looking to do add this to my RC Plane project, but I don't want it to be connected to the laptop. Would it be possible to power this through a battery? Help would be appreciated. Thanks
You may shred your speaker depending on the security mechanisms your aux has - check the input voltage and aux/line in impedance. en.wikipedia.org/wiki/Line_level So definetly NO. (There is a reason why he didn't added the music at the end with the big audio amplifier, because the sound is crap due to the 8k sampling rate. This project is a "playing with a speaker" project. This is what you are looking for: www.pjrc.com/store/teensy3_audio.html and not too expensive.
@@ElectronicsBd You mean this link :) ruclips.net/video/BPR6nsGQ1Mc/видео.html The voltage input signal is still too high, if you watch your audio curve diagram you will see what I mean. When the aux input voltage is too high for the input your stereo system cuts off the edges but not every system might has this protection.
first thanks for this project but it work as a repeating message only the flame neither detect nor not the message is playing can you edit the part to make the flame detect then the message play?
Can you program led light to It and find different audio files I plan on making a dashboard figurine of bumble the abominable snowman from Rudolph the red nosed reindeer
Its really nice, but is it possible so it can play only when, for example a correct coin is inserted into a coin acceptor? i would want to learn the code from it 😊
@@ElectronicsBd OK that's cool Thinking about using a similar technique to make a digital music box, what's the longest clip you can get in there? Wanting to loop about 30 seconds worth
How come when I try to add the PCM.h library to a sketch that contains the Servo.h library do I get this error? "Error compiling for board Arduino Mega"
I read thru the pcm.h and chances are you are having a timer clash with the two libraries since they both use the timer1. I'm not sure how to fix it tho , try using another timer for one of the libraries.
Hi Can you help me to amplifier my voice by arduino? My voice >>to>>microphone>>to>>arduino (convert to digital+ amplifier+convert to analog)>>to>>loudspeaker Thanks
Instead of doing this, You can use a microphone amplifier circuit for this process. www.aliexpress.com/item/4000010613588.html?spm=a2g0o.detail.1000014.13.43c273bcBdEZdu&gps-id=pcDetailBottomMoreOtherSeller&scm=1007.33416.213724.0&scm_id=1007.33416.213724.0&scm-url=1007.33416.213724.0&pvid=a1203509-9fc6-422d-9d36-db6ff1e7a891&_t=gps-id:pcDetailBottomMoreOtherSeller,scm-url:1007.33416.213724.0,pvid:a1203509-9fc6-422d-9d36-db6ff1e7a891,tpp_buckets:668%230%23131923%2391_668%23888%233325%2315_23416%230%23213724%230_23416%234721%2321967%23623_23416%234722%2321972%238_668%232846%238116%232002_668%232717%237558%23129_668%231000022185%231000066059%230_668%233422%2315392%2350_4452%230%23214000%230_4452%233474%2315675%23490_4452%234862%2324463%2398_4452%233098%239599%23283_4452%235106%2323440%23139_4452%233564%2316062%23525
I get the error: avrdude: stk500_recv(): programmer is not responding... and The ports and everything, the pins, arduino code is fine! he wont just upload, instead giving me this stupid error
Thanks for the video.
Small improvement.
To avoid parasitic noise at the start I add a sequence "0, 6, 14, 22, 30, 38, 46, 54, 60, 68, 74, 82, 90, 98, 106, 114, 122," at the start of "const unsigned char sample0 [] PROGMEM".
As a precaution, perhaps it is better to attack the transistor with a 150 Ohms connected to the base.
4:58 this is what I came for. Thanx a lot!
Glad, It helped.
@@ElectronicsBd bro can you please tell me the name of this application please
or can you send me the link
@@ramshripandi9473 it's available in the link he provided
@@vonshirco7473 the link doesnt work
i did not knew electronics bd had a channel, i bought many things from them
Thanks for staying with us
@@ElectronicsBd @ElectronicsBd Can you share those files again, please??? I couldn't find.
Nice project and good inspiration. Also thank you a lot for the files, I was just looking to download the apps until I read your description and downloaded them from there. Keep up the good work
Can you share those files, please... I couldn't get it.
Glad I could help
@@ElectronicsBd Can you share those files again, please??? I couldn't find.
NOOO! I had two speakers like that years ago and now I have no idea what happened to them. Oh well, I have two more but much bigger and they're a little to good to goof around with if "bad luck" strikes haha!
No matter what ... great video! :D
Tx Ahmed and Roland Jolivet, now I know how to do this. I just got this idea today to make a countdown timer for a girl with cerebral palsy that can not speak, however you can use a technique called voice cloning to synthesize a similar sounding voice based on her utterances, that is the sound she can still make. And so when that works I put it all on a microcontroller with sound samples from "Ten" to "Zero" and then she will have her own countdown timer with her own voice to for example 🔥 🚀 Or just listen to herself speaking.
Thank you for this tutorial. Looks easyer than I thought.
Amazing tutorial, thank you! could I ask a question? there is a way for an outside button/trigger instead of that on the motherboard? for example in a BLASTER, this will perfect to get the sound clicking the trigger, the only problem is that in your video I can see some LAG from the trigger to the sound, maybe a lightweight sound will be more rapid.
doc1429 thank you 😊, I’ll try it
Ya; just connect it with a PIR motion sensor
Heyy really nice vid but where do i find the encode audio software and where can i download it????
its good, I tried and it worked the way your showed.. Thanks for the code and the files, thats a cool job. Only thing about this project, is that it takes away 82% of the board space, otherwise cool one.
Have you found any way to include multiple sounds? And the reduction of memory utilization. I am trying to do it. If you can help it would be great.
Any chance you could share the files? The link appears to be dead. TIA
Wow, it looks so easy. Can we save the voice in this arduino and get another power supply for activate the arduino and the speaker? How much the voltage ?
it think 5 volts
Arduino nano can be powered by 12v max using the raw pin
“ATTENTION FIRE HAS BEEN REPORTED IN THE BUILDING!”
*Kid music plays*
I compress my audio (2 second clip) down to 4kb and still when i tried to upload the sketch it takes up too much memory. Any tips?
Try to store it in arduino's flash memory
PROGMEM atrribute in variable declaration
Hello, I have been following this video an I've noticed the Encode Audio app you have , I've been searching an I can't seem to locate it.
can you please tell me where I can find it or one like it that I can use .
Thank you from Algeria you are the best
Welcome 🤗
Every BJT NPN transistor NEED a resistor bevor the base! Realy! Or it will destroy the transistor shortly. use a 470R resistor. The loudspeeker is inductive. You need a 1n4148 parallel to the loudspeaker, pointing the ring to positive.
yes,
Thank you for your concern dear
I don't understand what Jen's is saying. Need a 470 resistor before the transistor where? No clue what the last sentence means either. First time attempting audio with an Arduino so trying to learn all I can
@@zero2583 He's saying to add a 470 Ohm resistor to the base pin of the transistor.
Thank you so much, the video is really helpful. I just have one questions , when I tried it, it played only the first second only not all the audio how can I fix it to stay longer
You can ran more lengthy audio, if you add an SD card.
thanks for the video. Helped me a lot 😁
Thanks for the video
Can you make audio plays on car’s speakers whenever you startup engine?
@ElectronicsBd Can you share those files again, please??? I couldn't find.
Would be possible to use this lib on esp32 C3 mini? what changes would be needed (if any) in pins and config?
Just wondering can you use something else as a substitution for BC547? or like would it be okay to use op amp for a substitution. Is BC547 working as an amplifier ?
yes, BC547 is working as an amplifier.
You can add your own Amplifier circuit if you want,.
@@ElectronicsBdIn Greece, the only amplifier I can find is the BC547B, will it work the same?
I just did this project with a 2N2222A transistor and it worked fine.
Where do you specify in the code the port you attached the speaker to?
PCM documentation say pin 11
Really helpful, thank!
Glad it was helpful!
Nice video and good explanation but i can't open the audio encoder do you know what to do?
This is very helpful video because I am making a robot and not knowing how to make amplifier thanks 😎🥰
Glad it was helpful!
@@ElectronicsBd Yes can we use this amplifier for talkie library
@@TechNerdPrash I don't know much about talkie library, you have to try dear.
@@ElectronicsBd Thanks
@@TechNerdPrash Welcome
Hi, can I know the specifications to the speakers please?
Hello, the speaker is a 4ohm speaker.
What is the max audio file size you can upload it to the arduino?
Wow its nice project thank you but i have a question can we use wemos D1 R2 or NODMCU ESP8266 micro controller instead of Arduino nano?
yes
Thank you
@@elisabethandarge1194you're welcome.
Could I drive the speaker from the 3v3 pin and what adjustments would i need to make
Why it is necessary to connect + to D11? It works on 11 but doesn't on other PWM inputs
yeah, it works on other PWM pins
I can't use your library, is it normal? My arduino says that it did not find the library please help me I need help. I'm desperate I finally found the perfect tuto but I can't use it !!
Thanks for the video!
Do you have data of the speaker? Which speakers are suitable for the Arduino?
thanks in advise, manu
Holy volume instability! Was someone playing with the sound knob during production?
Simple but nice video , that audio ecoder app is pretty cool. Is it possible to use it and get perhaps 16 bit output instead of the 8 bit ? Im planning to use an esp32 pwm with perhaps 10 or 12 bit resolution with a simple r/c circuit or DAC chip
Wht typa software he use to convert the audio to code
It doesnt work on my arduino mega. i can play simple tones, but if i upload the example "playback". nothing comes out of the speaker.
but what speaker do you use? how would i use a speaker without amp transistor?
Hey! Nice video!
The link to the files is not working anymore. Could you send me the files?
Thanks :)
How many seconds of audio can we fit into a stock arduino nano?? nice tutorial thank you!!
I depends on the file size, I recommend you use an SD card with arduino.
@@ElectronicsBd can we interface external eeprom and put files there
Thank you so much for details ... 👍
This is awesome! Thanks for the video!
Can you provide the EncodeAudio programe to convert wav to code?
I have a problem to star the program for encoding 😀
Where did you get Program from?@@martinbednarsky578
Hello. Im trying to get some higher sound because that is not enough so i bought an lm386 audio amplifier module and im connecting the speaker to the output pins, and the 5v arduino to the vcc and the transistor instead of connecting to the gnd speaker pin im connecting to the module's gnd pin, but when i play the sound it makes only some noise. Can you help me? Is there any other way to get some higher sound?
try this amplifier - www.electronics.com.bd/pam8403-super-mini-digital-amplifier-board-2-3w-parts-ic-module-sensor-arduino-transistor-resistor-capacitor-robotics-project-electronics?search=amplifier&description=true&page=5
@@ElectronicsBd Can you share those files again, please??? I couldn't find.
Can we connect it to different ports like to d4 instead of d11 and to any other than 5v port
It works 👍🏼
Good to hear
Please, how can I program that the sound doesn't show up until the second click?
Can you tell me how can do this instead of button and use it with ultrasonic sensor
Nice video! Thank you for sharing your knowledge.
Welcome, Glad it helped
Can I connect 8 ohm speaker with this configuration and will the same transistor be enough for amplification? I am concerned because I don't want my circuit to be damaged.
been 8 months but I'm using it just fine although I am using a different transistor
What is the speaker you use?
Which software you used for encoding link please
plz tell me how can I change the pin number instead of D11 to Digital 3 on Arduino UNO
I faced a problem while trying to download the audio encoder. Even if I tried to download java from the java w fix folder, I couldn't get it to work.
Ya did you found how to rectify it because i am also facing the same problem..
Hi there i am looking to do add this to my RC Plane project, but I don't want it to be connected to the laptop. Would it be possible to power this through a battery? Help would be appreciated. Thanks
Awesome.
Just what I was looking for.
Quick question if I may, can I connect to the AUX input on a stereo instead of a speaker, to get higher volume?
if you plug it in an amplified speaekr, it will work, otherwise no
Yes you can!
You may shred your speaker depending on the security mechanisms your aux has - check the input voltage and aux/line in impedance. en.wikipedia.org/wiki/Line_level
So definetly NO. (There is a reason why he didn't added the music at the end with the big audio amplifier, because the sound is crap due to the 8k sampling rate.
This project is a "playing with a speaker" project. This is what you are looking for: www.pjrc.com/store/teensy3_audio.html
and not too expensive.
yes.
studio.ruclips.net/user/videoBPR6nsGQ1Mc/edit/basic
@@ElectronicsBd You mean this link :) ruclips.net/video/BPR6nsGQ1Mc/видео.html The voltage input signal is still too high, if you watch your audio curve diagram you will see what I mean. When the aux input voltage is too high for the input your stereo system cuts off the edges but not every system might has this protection.
can we put 2 audio at the same time ? i mean 1 for alarm and another one is welcome
Yes
the library installs, but it won't open. What's going on?
Why is the text microscopic?
Equalizing the sound volume with music volume is nice too.
I got a couple of speakers from a broken radio and they work!
I tried to download the encode audio link (Files.rar) but it doesn't open on my computer????? How do I open it?
Try this link... highlowtech.org/wp-content/uploads/2011/12/EncodeAudio-windows.zip
bro,
you need java installed
From where did you find the speaker, plz provide the link.....
first thanks for this project but it work as a repeating message only the flame neither detect nor not the message is playing can you edit the part to make the flame detect then the message play?
how much program memory does this code use? there were nine words. Please reply ASAP. great video, thanx.
This saved me during midterms
@Fabian Leopold your comment has me in stitches
Congratulations
will it still work without the bc547 transistor?
Can you program led light to It and find different audio files I plan on making a dashboard figurine of bumble the abominable snowman from Rudolph the red nosed reindeer
AFTER UPLOADING THIS CODE I MUST BURN BOATLOADER!!!!!!!!!!!!!!
Its really nice, but is it possible so it can play only when, for example a correct coin is inserted into a coin acceptor? i would want to learn the code from it 😊
add a motion sensor so that it sees when the coin passes, and then use "if then"
Can this also be done with an Arduinl UNO?
Yup, with the same steps
Is there away to make it play when powered up?
wow,how did yoy download encoding softwear ?
Should you not be putting a resistor between pin 11 and the base of the transistor?
Not necessary for this projects.
No need to limit the amount of current
@@ElectronicsBd
OK that's cool
Thinking about using a similar technique to make a digital music box, what's the longest clip you can get in there? Wanting to loop about 30 seconds worth
Bro which software using for encoding audio can you send this software link
where do i download the encode audio??
Damn music is irritating
we won't use such music again
Yeah, I though it was terrible too. Worse than advertising music.
@@pow9606 We use batter musics now.
just watch our recent videos.
ruclips.net/video/uVqDQH3sc_I/видео.html
How come when I try to add the PCM.h library to a sketch that contains the Servo.h library do I get this error?
"Error compiling for board Arduino Mega"
You have to find the main reason by your self for this types of error!!
For mega use pin 10 instead of 11 for the pinspeak
I read thru the pcm.h and chances are you are having a timer clash with the two libraries since they both use the timer1. I'm not sure how to fix it tho , try using another timer for one of the libraries.
I have an audio amplifier insted of the transistor can i use the audio amplifier instead?
Did it work?
@hashem elhwary thank you for your helpful reply
yes, why not.
@@ElectronicsBd thank you for your help
Where did you get this "encoder audio" software from?
Link is available in the description
@@ElectronicsBd sry....Sir, I also can´t find the link to the "encode audio" software
@@thorstenpapendorff77 try again, www.mediafire.com/file/ini6bplej2eaekr/Files.rar/file
Try this link.... highlowtech.org/wp-content/uploads/2011/12/EncodeAudio-windows.zip
Thank you for this video😊
My pleasure 😊
thank you very much!
May i ask a question?, in my compile is error, it said avr/interrupt.h no such file or directory, may you can help me with that problem
Arduino Nano ke cable ki jagah pe redmi 4 ke charger ki pin chaleti he ?
Does it always has to be 8kHz or can it be 16kHz?
can u help. my one not working. I used BC550. Is that the issue?
It works with out the transistor.
The transistor was used to just amplify the sound a bit.
Helpful tutorial
Glad to hear that
Hi
Can you help me to amplifier my voice by arduino?
My voice >>to>>microphone>>to>>arduino (convert to digital+ amplifier+convert to analog)>>to>>loudspeaker
Thanks
Instead of doing this, You can use a microphone amplifier circuit for this process.
www.aliexpress.com/item/4000010613588.html?spm=a2g0o.detail.1000014.13.43c273bcBdEZdu&gps-id=pcDetailBottomMoreOtherSeller&scm=1007.33416.213724.0&scm_id=1007.33416.213724.0&scm-url=1007.33416.213724.0&pvid=a1203509-9fc6-422d-9d36-db6ff1e7a891&_t=gps-id:pcDetailBottomMoreOtherSeller,scm-url:1007.33416.213724.0,pvid:a1203509-9fc6-422d-9d36-db6ff1e7a891,tpp_buckets:668%230%23131923%2391_668%23888%233325%2315_23416%230%23213724%230_23416%234721%2321967%23623_23416%234722%2321972%238_668%232846%238116%232002_668%232717%237558%23129_668%231000022185%231000066059%230_668%233422%2315392%2350_4452%230%23214000%230_4452%233474%2315675%23490_4452%234862%2324463%2398_4452%233098%239599%23283_4452%235106%2323440%23139_4452%233564%2316062%23525
I will try
Thank you
My problem is
I can't pass my voice to arduino then to loudspeaker directly
Realtime
Can you explain it to me?
Thanks
Can this be done without the bread board
can i do this simulation inside the proteus?
cause now not yet have any hardware part
It's your wish
Would it be possible to configure the sound to loop as the button is pressed, and end when it's released?
yes
You could split the audio sample array into many smaller arrays and then have a loop play each smaller sample while you hold down the button :D
@@BenStoneking can you show me code?
Hey, the EncodeAudio application is not working...
I get the error: avrdude: stk500_recv(): programmer is not responding... and The ports and everything, the pins, arduino code is fine! he wont just upload, instead giving me this stupid error
Hello!! I seldom leave commnt but for this, THANK SOOO MUCH!!!. Btw, can I know why need to decrease the frequency to 8Hz?
Its to save on file size.
where to download Encode Audio software?
Can we do that without transistor
yes.
@@ElectronicsBd what the deference between with or without transistor
Sorry to bother, the files drive is down. Maybe you still have it?
Plz give me the link of audio encoder
Please respond to this, but how could i play sound files from my pc on that
Super Thanks
Thank you too!
How did it work without defining Pin number in code?. It isnt working on my arduino UNO
Is it possible to make a wifi audio reciever/transmitter with arduino