If you connect a Bluetooth audio receiver as an input into the Arduino, can it read the frequency of the incoming signal without a microphone?
Which "it" are you referring to? What is the connection from and to? What frequency are you referring to? Certainly not the RF frequency of the Bluetooth device? Is there something being received by the Bluetooth receiver? Give us a bit of clue, please. What is without a microphone and why introduce a microphone into the connection you just described?
I’m trying to make a Bluetooth speaker but I want the Arduino to read the frequency of the incoming music to turn on a magnet whenever the bass hits, or snare hits, or treble, etc.
The music I am accustomed to has multiple frequencies, so, what you ask is too ambiguous for an answer. If you send a single tone, then an Arduino could be programmed to look for an analog input with that wavelength/frequency.
What is the actual output of your Bluetooth device? Is it regular audio, which is AC or is it a stream of digital values?
Regular audio
Ok, then what frequency are you looking for? Will it last long enough to be measured?
The frequency of a bass hitting in a song. 60 to 250 Hz. So I’d also need to find a way for the Arduino to cut out the higher frequencies or is that possible since there’s so many different sounds taking place during a song at once?
Solution is to use a digital low pass filter and an esp32 which does not need a separate Bluetooth module.
Once you have filtered the data,
You can take the absolute value of the signal and threshold it at some level to turn on or off your magnet
The Bluetooth and filtering is covered here
Thank you this helps alot! If I can make this thing I'll be sure you guys get to see it!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.