First let say that I am a big fan this analyzer is beautiful. You sir are a genius. I have been working for the last three days to get this built and am still having some small problems. I went to your google drive page and copied all the files. Using the Arduino IDE version 1.8.1 I opened the sketch and it verified on the first try so I quickly downloaded it to an Arduino Uno hooked, up a .96 in blue oled and the display seemed to look perfect ,maybe a little off center. But when I try to wire it up according to your "amp-linein" diagram the display does not change and the sound cuts out. The moment I disconnect power from my uno the sound returns. I also tried to wire it according to this video and I get the same result even though there are different hookups in this video than in the "amp-linein" diagram. Any ideas what I may be doing wrong. Also I was curious if there were a way to get it to work on a slightly larger 1.3in blue oled? Thank you
Use multimeter to check if you have correct voltage changes on output of amplifier. You can use different OLED/LCD but probably you will need different library.
Thanks for getting back to me so fast. The audio signal I am using is coming out of a cheap ebay 5 watt amp, would that hurt anything? The diagram calls for a 0.1uf capacitor could that be any type like ceramic disk, or electrolytic, radial...?
You don't need additional amplifier. Just use regular linein signal and simple 1 transistor amplifier as shown on diagram. I suppose signal in your case is too strong.Check it using voltmeter.
Looks like I still have a little more work to do tomorrow. I figure I can change the display size myself after I get it working. I was just wondering if you had already tried that. Any way thank you for your help and I wont bother you any more tonight.
Ricardo Callejo Uploaded schematics and the code to my google drive: drive.google.com/open?id=0B_jncvz2HAYCfkVDd2taYlFrdnR1N0M2WUg5NC1sSS15ckJ6enJnXzk4YnNzZkw4ZHR0NTQ
Great project. I used a 0.96" display and it displays the numebers in top, but no graph or VU meter. It compiled fine on Arduino IDE 1.8.1 just fine, I wished I knew what those variables are so I can modify them for my display. Very impressive work Sir!
Hi can u pls tell me what changes to make to display this in 128 x 32 Oled module? I tried changing the 64 to 32 doesn’t seem to work!!! I get all white at left half of module!!! Edit: btw I’m doing this in nano 33 iot. I get a warning for the fix_fft.h
Stupid question but I bought an SSD1306 OLED screen that is YELLOW/WHITE and I can't get the Adafruit library to work on it. It has both I2C and SPI. www.waveshare.com/wiki/0.96inch_OLED_(B) This is the screen in question, did I fuck up and waste 10 euros?
Hi cbm80amiga, just thought I would let you know I found the problem it was a ground issue now it is working great. I am curious, I have never worked with this FFT stuff and I admit I don't know how although after seeing what it can do I plan on looking into it. I was wondering if there is a way to adjust the sensitivity, preferably with a potentiometer, so the vertical moving bars would fill more of the screen, or less depending on the volume.
I had some problem compiling your skatch with Arduino IDE 1.6.9. The problem was in the fix_fft library and the error was "prog_int8_t does not name a type". I fixed it: - in the fix_fft.h file, add the following rows at the beginning of the file: #ifndef prog_uint8_t #define prog_uint8_t const uint8_t #endif - in the fix_fft.ccp file, modify row 47 from: const prog_int8_t Sinewave[N_WAVE-N_WAVE/4] PROGMEM = ..... to const uint8_t Sinewave[N_WAVE-N_WAVE/4] PROGMEM = ..... For my I2C oled display, I modified the display.begin in your sketch from: display.begin(SSD1306_SWITCHCAPVCC); to display.begin(SSD1306_SWITCHCAPVCC, 0x3C); Now all is ok for Arduino IDE 1.6.9.
Using Arduino IDE 1.6.5 the code compiled with no problems. The only issue I am having is the spectrum on the display is too low off the screen. I can see the peaks of the response but not the base line. Also i seem to be getting a lot of noise around the middle frequency. I'll try filtering it out, it could be coming from my mic module. Thank you for your good work cbm80amiga.
Гениально чисто написан код, всё ясно и понятно, однако есть вопросы по поводу библиотеки fft, но с таким кодом будет просто разобраться) Спасибо огромное автору)
Congrats, very nice! Which is the library used to manage the OLED display? I am doing the same using Adafruit library but the display refresh is so low... Could you share some sketch? Thank you in advance.
The code and all resources are here: drive.google.com/drive/folders/0B_jncvz2HAYCfnhENzcxekxiTURWaGdxQzlaOV9qRE1IdTlWazNFSWJLYUFVZmt1THZQRmc?pageId=102377604871671942921
@@cbm80amigaHello! I'm trying to access to your link to see all resources and code but, it's says that I haven't access and I can't send a request to access. Can you help me, please? Nice your work! Greetings from Argentina. 🇦🇷
добрый вечер ! где можно посмотреть схему подключения дисплея к модулю ардуино ? и на какой пин подавать измеряемое напряжение с микрофона ? good evening ! Where can I see the display connection to the module Arduino? and which pin to apply the measured voltage from the microphone?
Thanks for replying. That's awesome! I wanted to do exactly the same thing to build into my power amp, but I didn't think Arduino has enough processing power to both do FFT and render complex geometry to display in real time.
Did you "overclock" the ADC to achieve higher sampling rate in order to fully cover the audible frequency range? Or did you just leave out the upper range (10-20 kHz sound components)?
I see. Thanks for the reply. So your spectrum only spans up to 6 kHz or so. I wonder if Arduino has enough juice to do the same thing but the right way, at 40-50 ksps. Guess I'll find out eventually :)
*Again, very impressive!*
*I am glad, that I found Your channel!*
Thank you for posting your code. I've been trying to build a similar setup with a Teensy, and your code help me a lot.
A0 is connect to the base of Bjt 2n3904 L, and not to the collector why?
simple and clear
First let say that I am a big fan this analyzer is beautiful. You sir are a genius. I have been working for the last three days to get this built and am still having some small problems. I went to your google drive page and copied all the files. Using the Arduino IDE version 1.8.1 I opened the sketch and it verified on the first try so I quickly downloaded it to an Arduino Uno hooked, up a .96 in blue oled and the display seemed to look perfect ,maybe a little off center. But when I try to wire it up according to your "amp-linein" diagram the display does not change and the sound cuts out. The moment I disconnect power from my uno the sound returns. I also tried to wire it according to this video and I get the same result even though there are different hookups in this video than in the "amp-linein" diagram. Any ideas what I may be doing wrong. Also I was curious if there were a way to get it to work on a slightly larger 1.3in blue oled? Thank you
Use multimeter to check if you have correct voltage changes on output of amplifier. You can use different OLED/LCD but probably you will need different library.
Thanks for getting back to me so fast. The audio signal I am using is coming out of a cheap ebay 5 watt amp, would that hurt anything? The diagram calls for a 0.1uf capacitor could that be any type like ceramic disk, or electrolytic, radial...?
You don't need additional amplifier. Just use regular linein signal and simple 1 transistor amplifier as shown on diagram. I suppose signal in your case is too strong.Check it using voltmeter.
Looks like I still have a little more work to do tomorrow. I figure I can change the display size myself after I get it working. I was just wondering if you had already tried that. Any way thank you for your help and I wont bother you any more tonight.
I LOVE depeche MOOOOOOOOOOOOOOOOOOOD
Show!!!!!!
are you using FFT in your code?
Yes
cbm80amiga can you email me your souce code? thank you :))
could you mail me the code? i would like to have something like this in a sterio :)
There's a link to the code in the description
Что за песни
+Артур Галлямов Depeche Mode - Master and servant
Can you share the schematics please?
Salva The schematics is easy, code is the problem
Ricardo Callejo
Uploaded schematics and the code to my google drive:
drive.google.com/open?id=0B_jncvz2HAYCfkVDd2taYlFrdnR1N0M2WUg5NC1sSS15ckJ6enJnXzk4YnNzZkw4ZHR0NTQ
Error 404
Try again: drive.google.com/open?id=0B_jncvz2HAYCfkVDd2taYlFrdnR1N0M2WUg5NC1sSS15ckJ6enJnXzk4YnNzZkw4ZHR0NTQ
Thx!
Great project. I used a 0.96" display and it displays the numebers in top, but no graph or VU meter. It compiled fine on Arduino IDE 1.8.1 just fine, I wished I knew what those variables are so I can modify them for my display. Very impressive work Sir!
Depeche Mode Exciter! sps
Hi can u pls tell me what changes to make to display this in 128 x 32 Oled module? I tried changing the 64 to 32 doesn’t seem to work!!! I get all white at left half of module!!!
Edit: btw I’m doing this in nano 33 iot. I get a warning for the fix_fft.h
Stupid question but I bought an SSD1306 OLED screen that is YELLOW/WHITE and I can't get the Adafruit library to work on it. It has both I2C and SPI. www.waveshare.com/wiki/0.96inch_OLED_(B) This is the screen in question, did I fuck up and waste 10 euros?
Great Job! There´s any way to add a second line of vumeter? reading A1? thanks
Where is the connections????????
I2C
Excellent video! Thank you for sharing. DIdn't know the SSD1306 did more than one color.
Hi cbm80amiga, just thought I would let you know I found the problem it was a ground issue now it is working great. I am curious, I have never worked with this FFT stuff and I admit I don't know how although after seeing what it can do I plan on looking into it. I was wondering if there is a way to adjust the sensitivity, preferably with a potentiometer, so the vertical moving bars would fill more of the screen, or less depending on the volume.
Nice work! Exactly what I was looking for!
I had some problem compiling your skatch with Arduino IDE 1.6.9.
The problem was in the fix_fft library and the error was "prog_int8_t does not name a type".
I fixed it:
- in the fix_fft.h file, add the following rows at the beginning of the file:
#ifndef prog_uint8_t
#define prog_uint8_t const uint8_t
#endif
- in the fix_fft.ccp file, modify row 47 from:
const prog_int8_t Sinewave[N_WAVE-N_WAVE/4] PROGMEM = .....
to
const uint8_t Sinewave[N_WAVE-N_WAVE/4] PROGMEM = .....
For my I2C oled display, I modified the display.begin in your sketch from:
display.begin(SSD1306_SWITCHCAPVCC);
to
display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
Now all is ok for Arduino IDE 1.6.9.
Ok. Good to know. It was 1.5y old project and I used probably very old Arduino IDE.
i could've donate you a speaker
Using Arduino IDE 1.6.5 the code compiled with no problems. The only issue I am having is the spectrum on the display is too low off the screen. I can see the peaks of the response but not the base line. Also i seem to be getting a lot of noise around the middle frequency. I'll try filtering it out, it could be coming from my mic module. Thank you for your good work cbm80amiga.
You are welcome.
i wish mp3 players all camewith this ..very impressive man thanks for the video i know its old ....dontmatter
hay man your code too fast we want something slow please upgrade you program 😽
A QUE PRECIO CONSIGUES ESE DISPLAY OLED?
Гениально чисто написан код, всё ясно и понятно, однако есть вопросы по поводу библиотеки fft, но с таким кодом будет просто разобраться)
Спасибо огромное автору)
Very cool : )
Awesome!
Is the Code available?
Dude, this is awesome! Great job on this!
Congrats, very nice!
Which is the library used to manage the OLED display?
I am doing the same using Adafruit library but the display refresh is so low...
Could you share some sketch?
Thank you in advance.
The code and all resources are here: drive.google.com/drive/folders/0B_jncvz2HAYCfnhENzcxekxiTURWaGdxQzlaOV9qRE1IdTlWazNFSWJLYUFVZmt1THZQRmc?pageId=102377604871671942921
Thank you very much, I appreciate!!!
You are welcome
@@cbm80amigaHello! I'm trying to access to your link to see all resources and code but, it's says that I haven't access and I can't send a request to access. Can you help me, please? Nice your work! Greetings from Argentina. 🇦🇷
добрый вечер ! где можно посмотреть схему подключения дисплея к модулю ардуино ? и на какой пин подавать измеряемое напряжение с микрофона ? good evening ! Where can I see the display connection to the module Arduino? and which pin to apply the measured voltage from the microphone?
Look at the code and schematics at my google drive
@@cbm80amiga спасибо! уже разобрался .thank! already figured out.
@@ЮрийГерасимов-л4э You are welcome
Can Sketch be installed at Nano or Uno?
Both are ok
@@cbm80amiga tanks
can i ask for your program?
Added link to the description
Do you calculate FFT on the Arduino, or do you use some external hardware? Do you use Atmel's built-in ADC for this?
FFT was calculated on the Arduino in realtime, built-in ACD was used here.
Thanks for replying. That's awesome! I wanted to do exactly the same thing to build into my power amp, but I didn't think Arduino has enough processing power to both do FFT and render complex geometry to display in real time.
Did you "overclock" the ADC to achieve higher sampling rate in order to fully cover the audible frequency range? Or did you just leave out the upper range (10-20 kHz sound components)?
No, I didn't change anything.
I see. Thanks for the reply. So your spectrum only spans up to 6 kHz or so. I wonder if Arduino has enough juice to do the same thing but the right way, at 40-50 ksps. Guess I'll find out eventually :)