Comments 15

  • Happy Birthday Melody on Arduino Nano with 3-Way Polyphony 1 day ago

    Great idea!

    Nice to put in a gift package, perhaps building a version with a stand-alone ATMega 328, a photoresistor to start playback and powering everything with a 9V battery. :)

    Thanks for sharing.

  • HID-Compliant UPS with Arduino about 1 month ago

    Thanks for the very quick reply abratchik, you are very kind and patient with a beginners like me! :)

    I know little about the Linux filesystem, I tried, by logging in from Windows PoweShell as root to manually edit the NUT .conf files located in
    /usr/syno/etc/ups, and then running 'upsd -c reload' or rebooting the system, but of course nothing has changed. Without first copying the new driver.
    I saw that the usbhid-ups driver on the NAS is located in usr/bin/
    (167172 Mar 12 04:57 usbhid-ups). Where can I find the new driver?

    I found the modification of the Arduino configuration file very interesting to remove all device descriptors except HID proposed on GitHub by shadow578.

    I will follow the developments of the integration of Arduino support in NUT on GitHub.

    In the meantime, I'm trying to turn your great work into a home-made mini UPS dedicated to my NAS (when it will finally be able to recognize Arduino). This is just a first draft but since the Synology is powered by 12V I really like the idea of ​​avoiding double AC-DC/DC-AC conversion as with standard UPSs.

    Thanks again, I appreciate your work and your suggestions.

    (Finally, sorry for my bad english but I used google translator).

  • HID-Compliant UPS with Arduino about 1 month ago

    Great project, thanks for sharing.
    Connected to PC Works perfectly.
    I am trying to make it work connected to a Synology NAS (DS214 Play with DSM7) but in fact the NAS does not recognize Arduino Pro Micro (Sparkfun Pro Micro clone) as a USB NAS.
    Unfortunately I don't have the necessary skills to configure NUT on the NAS.

    Can you give me some indication on how to do it?

    I attach (link to my Dropbox) the assembly diagram on breadboard that if you want you can insert in your project.

  • RGB 32-Band Audio Spectrum Visualizer 3 months ago

    Write in English please.

  • RGB 32-Band Audio Spectrum Visualizer 3 months ago

    Sorry for the huge delay.

    I don't think you can use a 32x64 matrix that is 2048 led.
    Arduino does not have the amount of memory needed to create the arrays needed by the FFT library for sampling. You should port to an STM32 Blue Pill which has a lot more ram.
    I leave the fun of trying it to you. :)

  • JX Wave Generator 8 months ago

    Thank you for appreciation.
    No need to use Visual Studio which costs as much as my car! :)
    This project is for fun only.
    The important thing is that it can be compiled into the Arduino IDE.

  • Low cost vitals monitoring wearable for frontline workers 8 months ago

    Great job, but the code?

    OK, I found it :)

  • JX Wave Generator 8 months ago

    You're absolutely right, I thought I put it on the parts list. But only now do I realize that it is not there. I'll add it right away.

  • FHT Audio Spectrum Visualizer 10 months ago

    Hi gusemugisch,

    Define FHT_N 128, defines (as the name implies) the number of samples that will be used by the sampling process.

    After each sampling cycle the FHT library returns, in this case, 64 values (FHT_N/2) obtained from the sampling and saves them in the fht_input[ ] array.
    But since we only have 32 columns (64/2), the samples are added two by two, so as not to lose information.

    7 columns is a strange number, usually led arrays are multiples of 2, however, with so few columns you would have to change all the sampling and arrangement code.
    I suggest you look for a project designed for a smaller matrix, there are several around, search on youtube.


  • FHT Audio Spectrum Visualizer 10 months ago

    Hi macximo204,

    the original version of Shajeeb was based on the MAX72xx led matrix this has specific commands to drive rows and columns. Implementing these functions via code is not easy and at the end of the game there is the possibility that the code is too long to fit in Arduino's memory. I leave the thankless task of trying to others.


  • FHT Audio Spectrum Visualizer 10 months ago

    Hi Mauro,
    sorry if I answer you very late.

    The voltages are quite correct, but I suggest you still check the connections and especially the values of the resistors by measuring them with a hommeter because the VREF is better to be accurate. Arduino works great even with 4.2 Volts so I suggest you leave the diode where it is. 0.8V voltage drop seems to me too much for a silicon diode, did you connect the 1000µF capacitor? Are you powering everything with a power supply capable of supplying at least 1 or 2 Amps?

    You are probably using the wrong library, below you will find the link to the OpenMusicLab site from which to download the correct one.
    The file is called "" about 25Kb.

  • FHT Audio Spectrum Visualizer about 1 year ago

    Hi Mauro,

    Just change #define yres 8 to #define yres 16, that's it.

    The two pairs R1-C1 and R2-C2 are intended to avoid putting the left and right audio channels directly in parallel and avoid losing the stereo effect in the audio source.

    If you remove R1 and C1 the circuit uses the audio information from only one channel, there will be no problem but the represented audio spectrum will be incomplete.

    A trimmer instead of R2 only changes the input impedance, if you want to add an input volume adjustment you can insert a 0.1 µF capacitor and a 50K trimmer between the jack and C2. Connect the signal from the jack to one side of the new capacitor, the other side of this capacitor to one side of the trimmer, the other side of the trimmer to ground and the central pin to the side of C2 that in the diagram is connected to the jack.

    Analog input A0 is set by the instruction: ADMUX = 0b00000000

    If you want to read up on the use of ADC registers you can visit this page

  • FHT Audio Spectrum Visualizer about 1 year ago

    The division by 8 is not essential, it has the purpose of compressing the amplitude of the sampled signal, subsequently in the code this is further reduced to adapt the sampled peaks to a scale from 0 to 7 (for matrices with 8 LEDs per column). You can experiment by changing the value from 8 using multiples of 2 if you have signal amplitude problems.

    You don't find this in the examples of the FHT library because those are generic and have one purpose: to illustrate the functions of the library. The use of the data obtained after sampling must be adapted to the purpose of the specific project.

    Personally to solve this problem in some cases I used one of these (I bought 5 for 10 € on Amazon).

    Even if they are equipped with a trimmer to adjust the volume and we apply a high impedance load to the output, in some cases the output signal may still be too wide. However to reduce the gain from 200 to 20 just remove the resistance named R1 or the capacitor named C1 (they are in series) with a touch of the soldering iron.


  • RGB 32-Band Audio Spectrum Visualizer about 1 year ago

    Hi Franck, thanks for the appreciation of my project.
    Look at my other project called "FHT Audio Spectrum Visualizer" as well as changing the code to greatly speed up the responsiveness of the LEDs I added a button to adjust the brightness and the function that saves the settings in the Arduino EEPROM.

    Unfortunately it is not possible to use a potentiometer to adjust the brightness because during the sampling the reading of the analog pins is disabled.

    To make conversations comprehensible to everyone, it is preferable to write in English on this site. You can use Google Translate like I do. :)


  • FHT Audio Spectrum Visualizer about 1 year ago

    Resistance R3 is critical and must be around 5K, it is calculated to supply the AREF Pin from the internal 3.3V of Arduino, with very different values the sampling works badly. Measure the voltage on the AREF Pin, there must be approximately 2.75 Volts. Use two 10K in parallel.

    If you cannot get all the LEDs on but only the first two at the bottom of each column, it means that the input signal has a too low level, use the values suggested for R1 and R2. Try connecting the circuit to your computer's audio output so you can test it by turning up the volume.

    If you cannot increase the amplitude of the input signal in any other way you can try using a small additional 5 Volt powered amplifier such as those based on the LM386 that you find on Amazon.

Add projectSign up / Login