Это видео недоступно.
Сожалеем об этом.

How to Play audio with Arduino

Поделиться
HTML-код
  • Опубликовано: 3 окт 2019
  • Files - drive.google.c...
    Buy Arduino nano - www.electronic...
    Buy jumper wires - www.electronic...
    Buy breadboard - www.electronic...
    Buy BC547 transistor - www.electronic...
    Buy best products at best price from-
    www.electronic...
    এখান থেকে সেরা মূল্যে সেরা পণ্য কিনুন.

Комментарии • 480

  • @roro78roro
    @roro78roro 3 года назад +60

    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.

  • @mdhabibahsanmahin3046
    @mdhabibahsanmahin3046 4 месяца назад +2

    ​ @ElectronicsBd Can you share those files again, please??? I couldn't find.

  • @snooozzi
    @snooozzi Год назад +7

    Heyy really nice vid but where do i find the encode audio software and where can i download it????

  • @KrautigerKauz
    @KrautigerKauz 3 года назад +10

    4:58 this is what I came for. Thanx a lot!

    • @ElectronicsBd
      @ElectronicsBd  3 года назад

      Glad, It helped.

    • @ramshripandi9473
      @ramshripandi9473 2 года назад

      @@ElectronicsBd bro can you please tell me the name of this application please

    • @ramshripandi9473
      @ramshripandi9473 2 года назад

      or can you send me the link

    • @vonshirco7473
      @vonshirco7473 2 года назад

      @@ramshripandi9473 it's available in the link he provided

    • @theroboticcraftr
      @theroboticcraftr Год назад

      @@vonshirco7473 the link doesnt work

  • @wahid6497
    @wahid6497 3 года назад +1

    i did not knew electronics bd had a channel, i bought many things from them

    • @ElectronicsBd
      @ElectronicsBd  3 года назад

      Thanks for staying with us

    • @mdhabibahsanmahin3046
      @mdhabibahsanmahin3046 4 месяца назад

      @@ElectronicsBd ​ @ElectronicsBd Can you share those files again, please??? I couldn't find.

  • @N3mArtist
    @N3mArtist 4 года назад +14

    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.

    • @N3mArtist
      @N3mArtist 4 года назад

      doc1429 thank you 😊, I’ll try it

    • @chrismyers2490
      @chrismyers2490 9 месяцев назад

      Ya; just connect it with a PIR motion sensor

  • @vladbosoc1431
    @vladbosoc1431 4 года назад +17

    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

    • @abhinandpk120
      @abhinandpk120 4 года назад +1

      Can you share those files, please... I couldn't get it.

    • @ElectronicsBd
      @ElectronicsBd  4 года назад +1

      Glad I could help

    • @mdhabibahsanmahin3046
      @mdhabibahsanmahin3046 4 месяца назад

      ​@@ElectronicsBd Can you share those files again, please??? I couldn't find.

  • @rizkast
    @rizkast 4 года назад +12

    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 ?

    • @Lithumadhikari
      @Lithumadhikari 4 года назад +2

      it think 5 volts

    • @ElectronicsBd
      @ElectronicsBd  3 года назад

      Arduino nano can be powered by 12v max using the raw pin

  • @derguutebabobauer
    @derguutebabobauer Год назад +1

    Thank you for this tutorial. Looks easyer than I thought.

  • @magicdealer7820
    @magicdealer7820 2 года назад +6

    Where do you specify in the code the port you attached the speaker to?

    • @gscortez
      @gscortez 4 месяца назад

      PCM documentation say pin 11

  • @OndrejPopp
    @OndrejPopp Год назад

    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.

  • @Oxyene
    @Oxyene 2 года назад +4

    Nice video and good explanation but i can't open the audio encoder do you know what to do?

  • @davidkelemen3305
    @davidkelemen3305 3 года назад +2

    Why it is necessary to connect + to D11? It works on 11 but doesn't on other PWM inputs

  • @JulesNV
    @JulesNV 2 года назад

    “ATTENTION FIRE HAS BEEN REPORTED IN THE BUILDING!”
    *Kid music plays*

  • @TheBeardedGamerReviews
    @TheBeardedGamerReviews 2 года назад +3

    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?

  • @nightkill6916
    @nightkill6916 2 года назад +1

    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 !!

  • @bennibelle2378
    @bennibelle2378 3 года назад +4

    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 ?

    • @ElectronicsBd
      @ElectronicsBd  3 года назад

      yes, BC547 is working as an amplifier.
      You can add your own Amplifier circuit if you want,.

    • @prosamgg2177
      @prosamgg2177 2 года назад

      ​@@ElectronicsBdIn Greece, the only amplifier I can find is the BC547B, will it work the same?

    • @crazycarl00
      @crazycarl00 2 года назад +1

      I just did this project with a 2N2222A transistor and it worked fine.

  • @TechNerdPrash
    @TechNerdPrash 4 года назад +2

    This is very helpful video because I am making a robot and not knowing how to make amplifier thanks 😎🥰

    • @ElectronicsBd
      @ElectronicsBd  4 года назад

      Glad it was helpful!

    • @TechNerdPrash
      @TechNerdPrash 4 года назад

      @@ElectronicsBd Yes can we use this amplifier for talkie library

    • @ElectronicsBd
      @ElectronicsBd  4 года назад

      @@TechNerdPrash I don't know much about talkie library, you have to try dear.

    • @TechNerdPrash
      @TechNerdPrash 3 года назад +1

      @@ElectronicsBd Thanks

    • @ElectronicsBd
      @ElectronicsBd  3 года назад +1

      @@TechNerdPrash Welcome

  • @pinkponyofprey1965
    @pinkponyofprey1965 3 года назад +3

    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

  • @BadrulAmeen
    @BadrulAmeen 2 года назад +10

    Hi, can I know the specifications to the speakers please?

    • @flame5226
      @flame5226 Год назад

      Hello, the speaker is a 4ohm speaker.

  • @prosamgg2177
    @prosamgg2177 2 года назад +1

    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.

    • @dattaramesh7047
      @dattaramesh7047 Год назад

      Ya did you found how to rectify it because i am also facing the same problem..

  • @hiiiiiiii3853
    @hiiiiiiii3853 Год назад +1

    Please, how can I program that the sound doesn't show up until the second click?

  • @ricardodasilva3194
    @ricardodasilva3194 3 года назад +1

    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?

    • @ElectronicsBd
      @ElectronicsBd  3 года назад

      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

    • @mdhabibahsanmahin3046
      @mdhabibahsanmahin3046 4 месяца назад

      @@ElectronicsBd ​ Can you share those files again, please??? I couldn't find.

  • @halahaleidi8830
    @halahaleidi8830 3 года назад +4

    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

    • @ElectronicsBd
      @ElectronicsBd  3 года назад +3

      You can ran more lengthy audio, if you add an SD card.

  • @StormagedonBOD
    @StormagedonBOD 2 года назад +1

    Could I drive the speaker from the 3v3 pin and what adjustments would i need to make

  • @cadillacescalade5428
    @cadillacescalade5428 2 года назад +1

    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 .

  • @ravtejsohal2639
    @ravtejsohal2639 2 года назад

    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

  • @lefloyd9974
    @lefloyd9974 3 года назад +9

    where do i download the encode audio??

  • @entoorvlog3784
    @entoorvlog3784 Год назад

    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.

    • @AshrafulHussainKhan
      @AshrafulHussainKhan Год назад

      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.

    • @TooZsChannel
      @TooZsChannel Год назад

      Any chance you could share the files? The link appears to be dead. TIA

  • @jensschroder8214
    @jensschroder8214 4 года назад +2

    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.

    • @ElectronicsBd
      @ElectronicsBd  4 года назад +1

      yes,
      Thank you for your concern dear

    • @zero2583
      @zero2583 4 года назад +2

      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

    • @ElectronicsBd
      @ElectronicsBd  4 года назад +3

      @@zero2583 He's saying to add a 470 Ohm resistor to the base pin of the transistor.

  • @elzeschers1496
    @elzeschers1496 Год назад +3

    Hey! Nice video!
    The link to the files is not working anymore. Could you send me the files?
    Thanks :)

  • @mahmoudsaid5995
    @mahmoudsaid5995 Год назад

    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?

  • @Amiramemoire
    @Amiramemoire 3 года назад +1

    Thank you from Algeria you are the best

  • @radeonblue1816
    @radeonblue1816 2 года назад +1

    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.

    • @victorius2975
      @victorius2975 Год назад

      been 8 months but I'm using it just fine although I am using a different transistor

  • @joenunya8449
    @joenunya8449 Год назад

    Holy volume instability! Was someone playing with the sound knob during production?

  • @danielyudha5960
    @danielyudha5960 4 года назад

    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

  • @saharazen
    @saharazen 4 года назад +62

    Damn music is irritating

    • @ElectronicsBd
      @ElectronicsBd  3 года назад +11

      we won't use such music again

    • @pow9606
      @pow9606 3 года назад +4

      Yeah, I though it was terrible too. Worse than advertising music.

    • @ElectronicsBd
      @ElectronicsBd  3 года назад +3

      @@pow9606 We use batter musics now.
      just watch our recent videos.
      ruclips.net/video/uVqDQH3sc_I/видео.html

  • @kallinikos100
    @kallinikos100 Год назад

    but what speaker do you use? how would i use a speaker without amp transistor?

  • @vipintiwari8466
    @vipintiwari8466 6 месяцев назад +1

    Can you tell me how can do this instead of button and use it with ultrasonic sensor

  • @diegocusido2432
    @diegocusido2432 3 года назад +14

    How would you make it so it would play when it receives power and not when the button is pressed?

    • @puggster
      @puggster 2 года назад +4

      You can easily modify the code to allow the voice to be triggered via button press or sensor for example, The default code will play the voice when power is connected or when reset is pressed.

    • @JaggikPramanick
      @JaggikPramanick 2 года назад

      @@puggster how can I modify the code like
      @Diego Cusido said

    • @puggster
      @puggster 2 года назад

      @@JaggikPramanick Best place to start is look at the included sample code on your arduino software, like if you want to add a button, open up button sketch, see how the code works, all you would need to do is add the voice playback code into the button press part.

    • @JaggikPramanick
      @JaggikPramanick 2 года назад

      @@puggster Thanks

    • @rawexploiterp6951
      @rawexploiterp6951 Год назад +2

      Powering on = pressing button. Obsolete question

  • @vijayakumarikarthikeyan1162
    @vijayakumarikarthikeyan1162 3 года назад +1

    Which software you used for encoding link please

  • @beckymetcalfe4968
    @beckymetcalfe4968 4 года назад +3

    I tried to download the encode audio link (Files.rar) but it doesn't open on my computer????? How do I open it?

    • @champarcadesminiatures4638
      @champarcadesminiatures4638 4 года назад +1

      Try this link... highlowtech.org/wp-content/uploads/2011/12/EncodeAudio-windows.zip

    • @badobada4541
      @badobada4541 4 года назад

      bro,
      you need java installed

  • @addydiesel6627
    @addydiesel6627 3 года назад +2

    What is the max audio file size you can upload it to the arduino?

  • @RoshDroz
    @RoshDroz 2 года назад

    "attention please, fiya in the building"

  • @Reznerface
    @Reznerface 4 года назад +1

    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"

    • @ElectronicsBd
      @ElectronicsBd  4 года назад +1

      You have to find the main reason by your self for this types of error!!

    • @vonshirco7473
      @vonshirco7473 2 года назад

      For mega use pin 10 instead of 11 for the pinspeak

    • @orange_tweleve
      @orange_tweleve 9 месяцев назад

      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.

  • @anfanger4
    @anfanger4 3 года назад

    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.

  • @raharditowicaksono1056
    @raharditowicaksono1056 Год назад

    Sorry, when I cilcked on PCM and then playback, nothing happened on my Arduino IDE. Anyone know how to fix this? Thanks in advance.

  • @elisabethandarge1194
    @elisabethandarge1194 3 года назад +2

    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?

  • @DjordjeKostic
    @DjordjeKostic 2 года назад +3

    AFTER UPLOADING THIS CODE I MUST BURN BOATLOADER!!!!!!!!!!!!!!

  • @mayankkukreja1013
    @mayankkukreja1013 Год назад

    Can we connect it to different ports like to d4 instead of d11 and to any other than 5v port

  • @X.C.11
    @X.C.11 3 года назад +1

    I got a couple of speakers from a broken radio and they work!

  • @benwaleed
    @benwaleed 2 года назад +1

    Thanks for the video
    Can you make audio plays on car’s speakers whenever you startup engine?

  • @arielcriollo9343
    @arielcriollo9343 4 месяца назад

    Sorry to bother, the files drive is down. Maybe you still have it?

  • @photographywithalex5449
    @photographywithalex5449 3 года назад +1

    Is there a way for it to automatically play the audio (and put like 3 or more audios instead of just one?)

    • @ElectronicsBd
      @ElectronicsBd  3 года назад +4

      You can, but you've to use a memory card.

  • @bobreyes7997
    @bobreyes7997 Год назад +2

    where to download Encode Audio software?

  • @indika2n
    @indika2n 3 года назад +1

    can u help. my one not working. I used BC550. Is that the issue?

    • @ElectronicsBd
      @ElectronicsBd  3 года назад

      It works with out the transistor.
      The transistor was used to just amplify the sound a bit.

  • @kbssaprodussoes
    @kbssaprodussoes 3 года назад +2

    How many seconds of audio can we fit into a stock arduino nano?? nice tutorial thank you!!

    • @ElectronicsBd
      @ElectronicsBd  3 года назад +1

      I depends on the file size, I recommend you use an SD card with arduino.

    • @alokcom
      @alokcom 3 года назад

      @@ElectronicsBd can we interface external eeprom and put files there

  • @thaliahvs
    @thaliahvs 2 года назад

    will it still work without the bc547 transistor?

  • @loretta.w9507
    @loretta.w9507 3 года назад +2

    can we put 2 audio at the same time ? i mean 1 for alarm and another one is welcome

  • @artisticyeti22
    @artisticyeti22 Год назад

    How did it work without defining Pin number in code?. It isnt working on my arduino UNO

  • @manuprakash8456
    @manuprakash8456 4 года назад +10

    Really helpful, thank!

  • @SonuKumar-ps5rh
    @SonuKumar-ps5rh Год назад +2

    Plz give me the link of audio encoder

  • @GolDRoger-ih3rf
    @GolDRoger-ih3rf 11 месяцев назад

    From where did you find the speaker, plz provide the link.....

  • @milespeterson5049
    @milespeterson5049 Год назад +2

    HELP HELP! It not work! Can you tell me how to encode the audio?

    • @RayRayfrfr
      @RayRayfrfr Год назад +1

      Yeah the app doesn’t work, I’m having the same issue

  • @zoomingh
    @zoomingh 3 года назад +1

    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

    • @ElectronicsBd
      @ElectronicsBd  3 года назад

      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

    • @zoomingh
      @zoomingh 3 года назад

      I will try
      Thank you

    • @zoomingh
      @zoomingh 3 года назад

      My problem is
      I can't pass my voice to arduino then to loudspeaker directly
      Realtime
      Can you explain it to me?
      Thanks

  • @danirabinowitz5049
    @danirabinowitz5049 4 года назад +1

    Would it be possible to configure the sound to loop as the button is pressed, and end when it's released?

    • @ElectronicsBd
      @ElectronicsBd  4 года назад

      yes

    • @BenStoneking
      @BenStoneking 3 года назад

      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

    • @lashasaralidze646
      @lashasaralidze646 Год назад

      @@BenStoneking can you show me code?

  • @fatinliyana7088
    @fatinliyana7088 3 года назад +1

    can i do this simulation inside the proteus?
    cause now not yet have any hardware part

  • @tharushaperera9077
    @tharushaperera9077 4 года назад +2

    wow,how did yoy download encoding softwear ?

  • @manuelkaufmann9680
    @manuelkaufmann9680 10 месяцев назад

    Thanks for the video!
    Do you have data of the speaker? Which speakers are suitable for the Arduino?
    thanks in advise, manu

  • @joenunya8449
    @joenunya8449 Год назад

    Why is the text microscopic?
    Equalizing the sound volume with music volume is nice too.

  • @aryankeluskar6
    @aryankeluskar6 4 года назад +5

    It works 👍🏼

  • @tonysicily2687
    @tonysicily2687 4 года назад +4

    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?

    • @bencerizmayer3164
      @bencerizmayer3164 4 года назад +1

      if you plug it in an amplified speaekr, it will work, otherwise no

    • @ElectronicsBd
      @ElectronicsBd  4 года назад

      Yes you can!

    • @IngoMich
      @IngoMich 3 года назад +1

      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
      @ElectronicsBd  3 года назад +1

      yes.
      studio.ruclips.net/user/videoBPR6nsGQ1Mc/edit/basic

    • @IngoMich
      @IngoMich 3 года назад +1

      @@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.

  • @yutikpatel1300
    @yutikpatel1300 Год назад +1

    Hey, the EncodeAudio application is not working...

  • @MaxCarponera
    @MaxCarponera 3 года назад +2

    Why do you save the recording as MP3 and then let the "audio2code" reconvert it to PCM samples? You can save it as raw samples (WAV) in Audacity instead of MP3, then convert to code. This way less quality is loss

    • @cadillacescalade5428
      @cadillacescalade5428 2 года назад

      Hi looking to try this I wanna do a Crossing Sound for railroad bells.
      How can I just get the code instead of doing mp3 style ?

  • @simonferner-ortner8773
    @simonferner-ortner8773 4 года назад +2

    Where did you get this "encoder audio" software from?

    • @ElectronicsBd
      @ElectronicsBd  4 года назад

      Link is available in the description

    • @thorstenpapendorff77
      @thorstenpapendorff77 4 года назад +1

      @@ElectronicsBd sry....Sir, I also can´t find the link to the "encode audio" software

    • @ElectronicsBd
      @ElectronicsBd  4 года назад

      @@thorstenpapendorff77 try again, www.mediafire.com/file/ini6bplej2eaekr/Files.rar/file

    • @champarcadesminiatures4638
      @champarcadesminiatures4638 4 года назад

      Try this link.... highlowtech.org/wp-content/uploads/2011/12/EncodeAudio-windows.zip

  • @orange_tweleve
    @orange_tweleve 9 месяцев назад

    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

    • @myra8806
      @myra8806 9 месяцев назад

      Wht typa software he use to convert the audio to code

  • @juanpabloguitarra
    @juanpabloguitarra 2 года назад +1

    Can this also be done with an Arduinl UNO?

  • @ahmetselim1166
    @ahmetselim1166 3 года назад +1

    what is the less memory way it uses more than %40 of arduino memory

  • @antonio889
    @antonio889 3 года назад +1

    its a byte array? i can do a software by my self. that convert wav to bytearray and send to arduino is possible? this cause i cant download encodeaudio i have mac...

    • @FlorinBuda
      @FlorinBuda 2 года назад

      Hey, did you found a solution? I'm searching this too.

  • @pranavchandra6807
    @pranavchandra6807 4 года назад

    Hi! One more question, I tried to use the same but with arduino mega, but the speaker remain silent. I don't know why? All the connections are same!

    • @ElectronicsBd
      @ElectronicsBd  4 года назад

      use PWM pin as output

    • @pranavchandra6807
      @pranavchandra6807 4 года назад

      @@ElectronicsBd I have used the same pin 11 as in uno. It still doesn't work, I don't know why?

    • @TheVikyes
      @TheVikyes 4 года назад

      @@pranavchandra6807 use pin 10

    • @shahafyehuda472
      @shahafyehuda472 4 года назад

      @@pranavchandra6807 hello did you manage to find a fix? thanks

    • @ravinduwijayantha8245
      @ravinduwijayantha8245 4 года назад

      @@shahafyehuda472 worked for me when using pin 10

  • @AZNLiLPiNAY
    @AZNLiLPiNAY 3 года назад

    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

  • @susheelkumarpippera7877
    @susheelkumarpippera7877 2 года назад

    how much program memory does this code use? there were nine words. Please reply ASAP. great video, thanx.

  • @terrebistro9944
    @terrebistro9944 3 года назад +2

    Hello!! I seldom leave commnt but for this, THANK SOOO MUCH!!!. Btw, can I know why need to decrease the frequency to 8Hz?

  • @Jondoesntlikecoffee
    @Jondoesntlikecoffee Год назад

    Please respond to this, but how could i play sound files from my pc on that

  • @Awsometurtle20
    @Awsometurtle20 2 года назад

    Is there away to make it play when powered up?

  • @euvo_sound
    @euvo_sound 3 года назад +1

    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 😊

    • @pablodelgado5385
      @pablodelgado5385 2 года назад

      add a motion sensor so that it sees when the coin passes, and then use "if then"

  • @sanjitkumarpattanayak3647
    @sanjitkumarpattanayak3647 2 года назад

    Thank you so much for details ... 👍

  • @yeranosyann6052
    @yeranosyann6052 11 месяцев назад

    hi, can you help me please, my encode audio didn't work

  • @devendrasuthar5530
    @devendrasuthar5530 2 года назад

    how many such commands we can add in memory of arduino so it doesn't exceed the full capacity.

  • @burgersnchips
    @burgersnchips 4 года назад

    Should you not be putting a resistor between pin 11 and the base of the transistor?

    • @ElectronicsBd
      @ElectronicsBd  4 года назад

      Not necessary for this projects.
      No need to limit the amount of current

    • @burgersnchips
      @burgersnchips 4 года назад

      @@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

  • @zeynepfenercioglu8631
    @zeynepfenercioglu8631 8 месяцев назад

    I can't open the drive file. Can you share the file again?

  • @techburied
    @techburied 2 года назад

    plz tell me how can I change the pin number instead of D11 to Digital 3 on Arduino UNO

  • @girishdoni8380
    @girishdoni8380 3 года назад +2

    Can we do that without transistor

    • @ElectronicsBd
      @ElectronicsBd  3 года назад

      yes.

    • @m.elnwishy
      @m.elnwishy 3 года назад

      @@ElectronicsBd what the deference between with or without transistor

  • @keirranadams8821
    @keirranadams8821 2 года назад

    Can this be done without the bread board

  • @renan7399
    @renan7399 2 года назад

    This is awesome! Thanks for the video!

  • @javlontursunov6527
    @javlontursunov6527 2 года назад +2

    Is it possible to change the volume of the audio ?

    • @orange_tweleve
      @orange_tweleve 9 месяцев назад

      Yeah use a transistor with a higher hfe , perhaps it's easier to use a simple pam8403 amplifier chip.

  • @devonthechristmashalloween1141
    @devonthechristmashalloween1141 2 года назад

    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

  • @crypleman
    @crypleman 3 года назад

    connected to piezo speaker, sound output more quiter....any suggestion sir help? ^_^

  • @Mike-xd8ip
    @Mike-xd8ip 8 месяцев назад

    can anyone maybe send a link to the Audio encoder? i cant find it

  • @sennabullet
    @sennabullet 3 года назад +1

    Nice video! Thank you for sharing your knowledge.