This is a great demo, thank you! you could consider doing an analog write to the LEDs so their brightness isn't binary, but rather can have brightness values between completely on and completely off, for a more granular view of the audio information
Yes, we have a separate tutorial earlier in this playlist on LED dimming with analogWrite. You can mix and match pretty much any combination of inputs and outputs (e.g. you could also use the microphone to control a motor).
Hey Mr, just got your same Hantek osciloscope but it is either detecting lot of noise and not detecting my sounds or if channel is in 1.0V there’s no signal detected, I’ve tried a sensor which I had to solder and an already soldered sensor, same result. Any idea on what could be happening? Thanks.
Hi - setting up an oscilloscope properly can be tricky if you don't have experience using one, so there's a chance your hardware is actually fine but the oscilloscope settings are wrong. I would recommend using analogRead with the Arduino to see if you're getting any voltage out of the microphone, in which case the oscilloscope is probably not set up properly. If you don't get a reading from the Arduino either, then something might be wrong with the microphone or how it is wired.
@@Science.Buddies Hi! It is definitely tricky tricky, I am connecting the arduino board with the sensor connected and I’m getting lectures, so my next question is that in case I can’t configure the osciloscope can I use the data plotter and sampling the sound to substitute the osciloscope ?
The Arduino serial plotter is not as full-featured as an oscilloscope (it is hard to adjust the scaling) but yes it can function as a basic oscilloscope.
What oscilloscope are you using in this video I can see that it is the Hantek 2d42 oscilloscope but is it the 3 in 1 or just the normal one? Also good job you made this in a very comprehensive way! also is that an Arduino uno?
It's a Hantek 2D42 with oscilloscope, multimeter, and function generator capabilities: hantek.com/products/detail/13174, and yes that's an Arduino UNO R3.
Hi Sir, thanks for the video, quick question: If I want to filter the frequencies of the sensor from a recording, can I use a software to do so ? I am thinking on that as a budget option to avoid the osciloscope, would that be possible and precise ?
Hi - if you Google things like "Arduino digital filter" or "Arduino low pass filter" it looks like there are some options out there, but we have not tested any of them. Another option would be to design a hardware filter using resistors and capacitors.
Im am building the sound following robot and the code is confusing im using the sample code but i dont know what to put for the put your own algorithm here and there is no instructions on how to do it
Hi - this is a more advanced project and while we provide code to get you started, writing an algorithm for your robot to navigate based on sound is up to you. You may find the playlist for our self-driving car project helpful, particularly the last video about designing an algorithm: ua-cam.com/play/PLlBVuTSjOrckzVWHWOYAkyKoQZhmoqH1S.html&si=gNi5u2sG76Af2eIU. That project uses different sensors (not microphones) but the same concepts apply. If you find the code confusing, we recommend going back and starting with the basics in our Arduino tutorial playlist instead of jumping right to using a microphone: ua-cam.com/play/PLlBVuTSjOrclb0iCMSRpS_H1lSrlSVeEm.html&si=agNaKx8BUkgo1aSZ
Hi - all our tutorials are for the UNO so you will need to look up a separate tutorial on using the nano, however we have this project about making a voice controlled lamp which you could also apply to a motor: ua-cam.com/video/C0IAQzxgQa8/v-deo.htmlsi=3P0MoP-Cd2oWCWbn
Thanks for the reply but i have already watched the video but the problem is i don't have a voice recognition module and thats too expensive here so i am finding an alternative and i got to connect a mic directly to arduino tell me if you can help
Hi - we can't provide individual help with projects like this, you may be able to get help on the official Arduino forums or other forums like Stackexchange or Reddit. You can also ask an AI program like ChatGPT but the results may vary (they do not always give working code but they may give you an idea of how to get started).
We need to test the microphone before we begin to the sound tracking robot in oscilloscope like your example? Or we can proceed to creating the sound following robot?
Greetings, can the MAX4466 microphone amplifier module be connected to the phone? [To record sound] (because the microphone path is far, you should use the MAX4466 module) [Of course, with a separate 5V power supply] Thank you 🙏
Hi - you would need to check this microphone's documentation to see if you can connect it to a phone, but if you just need to record sound with a phone (and not use an Arduino) it would probably be easier just to buy a microphone/headset with a headphone plug.
Thank you 🙏 What kind of microphone amplification (preamplifier) should I use?? (the path is 15 meters and only with a condenser microphone it has hissing and jamming sound) Thank you very much 🙏
Thanks 🙏, what kind of microphone amplifier should I use? (The route is 2 meters high and with only capacitive microphone (secret microphone) with a scratch and noise)🙏
Hi - we're unable to provide direct support for electronics projects like this, but there are forums online like Reddit or Stackexchange where you may be able to find help.
It seems fairly straight forward except I cannot get mine to work. I have what I think is a mic "Module min sound sensor" is this the same thing as a mic? Looking at the serial readout, there is no fluctuation in the reading, about 337 which is the baseline. Cannot get any fluctuation in the leds. Why does the analog pin A1 not get a mention as an INPUT ? Thank you., Ben
Hi - you may have more luck getting an answer for a question like this in the official Arduino forums where you can post your code and pictures of your circuit, we are unable to do much troubleshooting in UA-cam comments.
The Arduino's analog to digital converter (ADC) is 10-bit, meaning it can have 2^10 different possible values. 2^10 is 1024, but it starts counting at 0, so the maximum value is 1023. Since the ADC accepts analog voltages between 0-5V, a physical value of 5 volts will correspond to an ADC value of 1023.
Hi - we can't provide help for individual projects, but we'd recommend starting with our Arduino tutorial playlist at the beginning to get more familiar with different topics: ua-cam.com/play/PLlBVuTSjOrclb0iCMSRpS_H1lSrlSVeEm.html&si=Y7NdShl__lHQ7EaJ
Hi ! I am trying to send data thru one arduino to another, but using two handys, Baofeng BF999-s, it can transmit up to 10 km. so, I need to convert data from arduino to handy mic and in the other site receive data from handy speaker and through arduino turn it into data again, like Rattlegram, but I need to control for example a relay, with Rattlegram I can`t do that, can you help me ?
Hi - we don't have our own speaker tutorial yet, but if you look at our Arduino playlist (linked in the description) we have a tutorial about buzzers that you can use to play basic sounds: ua-cam.com/video/gj-H_agfd6U/v-deo.htmlsi=dHOFnc9yvSO4kRMP
Hi - we don't have the code and diagram available separately for all our tutorial videos, you just have to pause the video to see the diagram or copy over the code.
Hello, I want to create an audio recorder circuit with Arduino Uno. I will use Max4466. However, I'm getting the following error. I've done a lot of research but haven't found any solution. Do you have any advice on this? C:\Users\Armagan\Documents\Arduino\test-ayse\test-ayse.ino: In function 'void loop()': C:\Users\Armagan\Documents\Arduino\test-ayse\test-ayse.ino:62:9: error: 'class TMRpcm' has no member named 'startRecording' audio.startRecording(file_name, sample_rate, mic_pin); ^~~~~~~~~~~~~~ C:\Users\Armagan\Documents\Arduino\test-ayse\test-ayse.ino:69:9: error: 'class TMRpcm' has no member named 'stopRecording' audio.stopRecording(file_name); ^~~~~~~~~~~~~ Multiple libraries were found for "SD.h" Used: C:\Users\Armagan\Documents\Arduino\libraries\SD Not used: C:\Users\Armagan\AppData\Local\Arduino15\libraries\SD exit status 1 Compilation error: 'class TMRpcm' has no member named 'startRecording'
to avoid the angle bracket restriction you can put in a placeholder alternative ascii, then have users do a find & replace!
FINALLY YOU ARE BACK I LOVE YOUR VIDEOS THX alot for your content keep it up man
you didnt upload the code? What a pain..
This is a great demo, thank you! you could consider doing an analog write to the LEDs so their brightness isn't binary, but rather can have brightness values between completely on and completely off, for a more granular view of the audio information
Yes, we have a separate tutorial earlier in this playlist on LED dimming with analogWrite. You can mix and match pretty much any combination of inputs and outputs (e.g. you could also use the microphone to control a motor).
Hey Mr, just got your same Hantek osciloscope but it is either detecting lot of noise and not detecting my sounds or if channel is in 1.0V there’s no signal detected, I’ve tried a sensor which I had to solder and an already soldered sensor, same result.
Any idea on what could be happening?
Thanks.
Hi - setting up an oscilloscope properly can be tricky if you don't have experience using one, so there's a chance your hardware is actually fine but the oscilloscope settings are wrong. I would recommend using analogRead with the Arduino to see if you're getting any voltage out of the microphone, in which case the oscilloscope is probably not set up properly. If you don't get a reading from the Arduino either, then something might be wrong with the microphone or how it is wired.
@@Science.Buddies Hi!
It is definitely tricky tricky, I am connecting the arduino board with the sensor connected and I’m getting lectures, so my next question is that in case I can’t configure the osciloscope can I use the data plotter and sampling the sound to substitute the osciloscope ?
The Arduino serial plotter is not as full-featured as an oscilloscope (it is hard to adjust the scaling) but yes it can function as a basic oscilloscope.
What oscilloscope are you using in this video I can see that it is the Hantek 2d42 oscilloscope but is it the 3 in 1 or just the normal one? Also good job you made this in a very comprehensive way! also is that an Arduino uno?
It's a Hantek 2D42 with oscilloscope, multimeter, and function generator capabilities: hantek.com/products/detail/13174, and yes that's an Arduino UNO R3.
@@Science.Buddies Thank you very much. Have an amazing day!
Hi there, thanks for the video. Do you have other videos where you do the sampling or determining the frequency content of the sound?
Unfortunately we don't have our own video on this, but you should be able to find other tutorials covering that online.
Hi Sir, thanks for the video, quick question:
If I want to filter the frequencies of the sensor from a recording, can I use a software to do so ? I am thinking on that as a budget option to avoid the osciloscope, would that be possible and precise ?
Hi - if you Google things like "Arduino digital filter" or "Arduino low pass filter" it looks like there are some options out there, but we have not tested any of them. Another option would be to design a hardware filter using resistors and capacitors.
Im am building the sound following robot and the code is confusing im using the sample code but i dont know what to put for the put your own algorithm here and there is no instructions on how to do it
Hi - this is a more advanced project and while we provide code to get you started, writing an algorithm for your robot to navigate based on sound is up to you. You may find the playlist for our self-driving car project helpful, particularly the last video about designing an algorithm: ua-cam.com/play/PLlBVuTSjOrckzVWHWOYAkyKoQZhmoqH1S.html&si=gNi5u2sG76Af2eIU. That project uses different sensors (not microphones) but the same concepts apply. If you find the code confusing, we recommend going back and starting with the basics in our Arduino tutorial playlist instead of jumping right to using a microphone: ua-cam.com/play/PLlBVuTSjOrclb0iCMSRpS_H1lSrlSVeEm.html&si=agNaKx8BUkgo1aSZ
I have arduino nano can you tell me how to connect it and i want that when a specific word is said the motor stats
Hi - all our tutorials are for the UNO so you will need to look up a separate tutorial on using the nano, however we have this project about making a voice controlled lamp which you could also apply to a motor: ua-cam.com/video/C0IAQzxgQa8/v-deo.htmlsi=3P0MoP-Cd2oWCWbn
Thanks for the reply but i have already watched the video but the problem is i don't have a voice recognition module and thats too expensive here so i am finding an alternative and i got to connect a mic directly to arduino tell me if you can help
So i can use arduino Uno also but tell me how can i connect a motor and use this in my project
Hi - we can't provide individual help with projects like this, you may be able to get help on the official Arduino forums or other forums like Stackexchange or Reddit. You can also ask an AI program like ChatGPT but the results may vary (they do not always give working code but they may give you an idea of how to get started).
We need to test the microphone before we begin to the sound tracking robot in oscilloscope like your example? Or we can proceed to creating the sound following robot?
Without testing it?
The oscilloscope in this video is just a demonstration about how the microphone works, you do not need an oscilloscope to do the project.
Thanks for the great video!
Greetings, can the MAX4466 microphone amplifier module be connected to the phone? [To record sound] (because the microphone path is far, you should use the MAX4466 module) [Of course, with a separate 5V power supply] Thank you 🙏
Hi - you would need to check this microphone's documentation to see if you can connect it to a phone, but if you just need to record sound with a phone (and not use an Arduino) it would probably be easier just to buy a microphone/headset with a headphone plug.
Thank you 🙏 What kind of microphone amplification (preamplifier) should I use?? (the path is 15 meters and only with a condenser microphone it has hissing and jamming sound) Thank you very much 🙏
Thanks 🙏, what kind of microphone amplifier should I use? (The route is 2 meters high and with only capacitive microphone (secret microphone) with a scratch and noise)🙏
Hi - we're unable to provide direct support for electronics projects like this, but there are forums online like Reddit or Stackexchange where you may be able to find help.
Thank you very much for your guidance🙏🌹😊👍
It seems fairly straight forward except I cannot get mine to work. I have what I think is a mic "Module min sound sensor" is this the same thing as a mic? Looking at the serial readout, there is no fluctuation in the reading, about 337 which is the baseline. Cannot get any fluctuation in the leds. Why does the analog pin A1 not get a mention as an INPUT ?
Thank you., Ben
Hi - you may have more luck getting an answer for a question like this in the official Arduino forums where you can post your code and pictures of your circuit, we are unable to do much troubleshooting in UA-cam comments.
Can you explain what is the 1023 in the code? and where did you get it from?
The Arduino's analog to digital converter (ADC) is 10-bit, meaning it can have 2^10 different possible values. 2^10 is 1024, but it starts counting at 0, so the maximum value is 1023. Since the ADC accepts analog voltages between 0-5V, a physical value of 5 volts will correspond to an ADC value of 1023.
I need your help to teach me how to connect a sound module to a dc motor by having at play music and run the motor at the same time.
Hi - we can't provide help for individual projects, but we'd recommend starting with our Arduino tutorial playlist at the beginning to get more familiar with different topics: ua-cam.com/play/PLlBVuTSjOrclb0iCMSRpS_H1lSrlSVeEm.html&si=Y7NdShl__lHQ7EaJ
Hi ! I am trying to send data thru one arduino to another, but using two handys, Baofeng BF999-s, it can transmit up to 10 km. so, I need to convert data from arduino to handy mic and in the other site receive data from handy speaker and through arduino turn it into data again, like Rattlegram, but I need to control for example a relay, with Rattlegram I can`t do that, can you help me ?
Hi - you will probably have more luck asking this question on the official Arduino forums.
@@Science.Buddies NAAAAAAAAA.........
have you found a solution?
@@Science.Buddies Probably, no, couldn`t find an answer there.........
How can I use a speaker instead of lamps to hear the sound through the microphone?
Hi - we don't have our own speaker tutorial yet, but if you look at our Arduino playlist (linked in the description) we have a tutorial about buzzers that you can use to play basic sounds: ua-cam.com/video/gj-H_agfd6U/v-deo.htmlsi=dHOFnc9yvSO4kRMP
What resistors were used?
my microphone said dc offset: 1.25v.... code?
whats the name of module
where to find the diagram and code please?
Hi - we don't have the code and diagram available separately for all our tutorial videos, you just have to pause the video to see the diagram or copy over the code.
what does delta mean?
thanks bro
how are you avoiding white noise
With this simple setup we aren't doing any filtering.
very cool video thanks bro
im laying i dont like that shit at all
Hello,
I want to create an audio recorder circuit with Arduino Uno. I will use Max4466. However, I'm getting the following error. I've done a lot of research but haven't found any solution. Do you have any advice on this?
C:\Users\Armagan\Documents\Arduino\test-ayse\test-ayse.ino: In function 'void loop()':
C:\Users\Armagan\Documents\Arduino\test-ayse\test-ayse.ino:62:9: error: 'class TMRpcm' has no member named 'startRecording'
audio.startRecording(file_name, sample_rate, mic_pin);
^~~~~~~~~~~~~~
C:\Users\Armagan\Documents\Arduino\test-ayse\test-ayse.ino:69:9: error: 'class TMRpcm' has no member named 'stopRecording'
audio.stopRecording(file_name);
^~~~~~~~~~~~~
Multiple libraries were found for "SD.h"
Used: C:\Users\Armagan\Documents\Arduino\libraries\SD
Not used: C:\Users\Armagan\AppData\Local\Arduino15\libraries\SD
exit status 1
Compilation error: 'class TMRpcm' has no member named 'startRecording'
Hi - you may have more luck asking this question on the official Arduino forums.