How to make an LED VU-meter using ARDUINO UNO

Sdílet
Vložit
  • čas přidán 24. 02. 2019
  • Find electronic components on www.utsource.net/
    Utsource is a proffesional elelctronice supplier with more than 2 million product, lower price with free shipping.
    Hey everyone,hope you are doing fine.
    In one my previous videos I had shown you to how to make an LED vu meter using LM3914...In this video I am going to show you to how to make an LED vu meter using Arduino.
    Here I have used Arduino UNO as the brain of the circuit ,which can provide only 12 digital outputs.that means we can use only 12 number of LEDs max. .If you want to increase the number of LEDs, then you can use arduino mega instead of arduino UNO/nano.
    Things needed to make this LED vu meter using arduino:-
    1) 1x breadboard
    2) 12x 5mm LEDs(bit.ly/2JjjKLp)
    3) 12x 100 ohm resistors(bit.ly/2SrhtRc)
    4) 1x Arduino UNO/nano(bit.ly/2yGHnt7)
    5) 1x 3.5mm headphone jack(bit.ly/2PuY7gs)
    6) 1x 10k potentiometer(bit.ly/2z9gygD)
    7) 1x audio splitter (optional)(bit.ly/2SZPRI4)
    8) breadboard connectors(bit.ly/2Vk8fYR
    arduino code --- drive.google.com/open?id=1-0w...
    Subscribe to my channel
    / creativestuff
    my best video:-
    • how to make wireless s...
    faceebook - / creativestuff101
    MAKE YOUR OWN 7 SEGMENT DISPLAY
    • MAKE YOUR OWN 7 SEGMEN...
    how to make WIRELESS SCROLLING DISPLAY BOARD
    • how to make wireless s...
    How to make an ELECTRIC SCREWDRIVER
    • How to make an Electri...
    How to Control a LOT of LEDs with Arduino & 74hc595
    • How to Control a LOT o...
  • Věda a technologie

Komentáře • 47

  • @ACUECTHEJASHWINIM
    @ACUECTHEJASHWINIM Před 5 lety +4

    Great work sir 😇

  • @comattepicnessofgaming2557

    Very creative 😊

  • @panosstam3539
    @panosstam3539 Před rokem

    nice!! worked perfectly.. does someone know how can i put the second channel and make it stereo? i m trying to write a code and i don t manage to!

  • @cesarguzman7754
    @cesarguzman7754 Před 7 dny

    ¿Puedo usar 3 filas de LEDs de 6 LEDs cada una?

  • @bruhhhhbruhhhh
    @bruhhhhbruhhhh Před 4 lety +1

    I have 2 questions.The first audio input is for the headphone jack,but what exactly is the purpose of the second audio input?And how can i improvise a headphone jack with wires that can be connected to my arduino pins?

  • @jjgamezz6763
    @jjgamezz6763 Před 3 lety

    Dear
    I build this project and it works fine! Thank you
    Just i have a question, when i connect this on the phone outpu i do not have sound through my speakers, how i connect this to the line outs/speakers? Is there a seperate code for this please
    Grtz Jessy

    • @TLOUG
      @TLOUG Před 2 lety

      Use lesser switch 😂

  • @dr.rahulkumar3721
    @dr.rahulkumar3721 Před 4 lety +3

    I am getting error while uploading code exit status 1
    Kindly help admin

  • @electroniquepassion
    @electroniquepassion Před 5 lety +1

    👍

  • @jazu_tv
    @jazu_tv Před 4 lety +5

    int musica = A0;
    int output,a;
    int pot=A1;
    int number_of_led[12] = { 2,3,4,5,6,7,8,9,10,11,12,13}; // Assign the pins for the leds
    void setup()
    {
    for (a = 0; a < 12; a++)
    pinMode(number_of_led[a], OUTPUT);
    }
    void loop()
    {
    pot=analogRead(A1);
    output = analogRead(music);
    pot=map (potval,0,1024,5,40);
    output = output/potval;
    if (output == 0)
    {
    for(a = 0; a < 12; a++)
    {
    digitalWrite(number_of_led[a], LOW);
    }
    }

    else
    {
    for (a = 0; a < output; a++)
    {
    digitalWrite(number_of_led[a], HIGH);
    }

    for(a = a; a < 12; a++)
    {
    digitalWrite(number_of_led[a], LOW);

    }
    }
    }

    • @nanxhu
      @nanxhu Před 4 lety

      "potval is not declared in this scope"?

    • @bgdy4ever
      @bgdy4ever Před 4 lety

      @@nanxhu change pot to potval everywhere and it works

  • @manuelaquinorolon5861
    @manuelaquinorolon5861 Před 3 lety

    I don't understand what function does the potentiometer. Can you explain me?

    • @AdriangAMERX1
      @AdriangAMERX1 Před 3 lety

      The leds are suppose to power on based on the voltage at the potentiometer... the louder your music gets the more leds light up because the voltage on the potentiometer is higher. Thats why it's really important to test the vu meter as your music plays in order to adjust it right. The red ones should only light up at really high volumes. Hope it helped :)

  • @bablukarmakar9415
    @bablukarmakar9415 Před 4 lety

    Sir ye linke Android mobile phone se download hoga sir plz cement kar k bataya.

  • @KeijiJohnLibadisos
    @KeijiJohnLibadisos Před 5 lety

    can i use electret microphone?

  • @akashthakur7714
    @akashthakur7714 Před 5 lety +2

    Downloaded the code but it says "could not create the sketch" and "failed to open sketch".
    Can you send the code in notepad format?

    • @0xRamadan
      @0xRamadan Před 4 lety

      can you send the code if you have it

    • @OvidiuPop70
      @OvidiuPop70 Před 4 lety +5

      You have to rename the file without spaces. For example: LedVuMeter.ino

    • @jazu_tv
      @jazu_tv Před 4 lety +1

      int musica = A0;
      int output,a;
      int pot=A1;
      int number_of_led[12] = { 2,3,4,5,6,7,8,9,10,11,12,13}; // Assign the pins for the leds
      void setup()
      {
      for (a = 0; a < 12; a++)
      pinMode(number_of_led[a], OUTPUT);
      }
      void loop()
      {
      pot=analogRead(A1);
      output = analogRead(music);
      pot=map (potval,0,1024,5,40);
      output = output/potval;
      if (output == 0)
      {
      for(a = 0; a < 12; a++)
      {
      digitalWrite(number_of_led[a], LOW);
      }
      }

      else
      {
      for (a = 0; a < output; a++)
      {
      digitalWrite(number_of_led[a], HIGH);
      }

      for(a = a; a < 12; a++)
      {
      digitalWrite(number_of_led[a], LOW);

      }
      }
      }

  • @pieterjancousserier9900
    @pieterjancousserier9900 Před 4 lety +1

    The code in the description failes to open, could you send it to me?

    • @jazu_tv
      @jazu_tv Před 4 lety

      int musica = A0;
      int output,a;
      int pot=A1;
      int number_of_led[12] = { 2,3,4,5,6,7,8,9,10,11,12,13}; // Assign the pins for the leds
      void setup()
      {
      for (a = 0; a < 12; a++)
      pinMode(number_of_led[a], OUTPUT);
      }
      void loop()
      {
      pot=analogRead(A1);
      output = analogRead(music);
      pot=map (potval,0,1024,5,40);
      output = output/potval;
      if (output == 0)
      {
      for(a = 0; a < 12; a++)
      {
      digitalWrite(number_of_led[a], LOW);
      }
      }

      else
      {
      for (a = 0; a < output; a++)
      {
      digitalWrite(number_of_led[a], HIGH);
      }

      for(a = a; a < 12; a++)
      {
      digitalWrite(number_of_led[a], LOW);

      }
      }
      }

    • @pieterjancousserier9900
      @pieterjancousserier9900 Před 4 lety

      Jazu thank you very much!!

  • @djalex5413
    @djalex5413 Před 4 lety +1

    I need your program
    Can you give it to me?

  • @jameskidd7906
    @jameskidd7906 Před 3 lety

    Plz what is the role of the POT

    • @lolgamerslol5248
      @lolgamerslol5248 Před 2 lety

      For the sensitivity if your pot is on max and the music plays the LEDs will instead of staying in green it will go to red which means the music is very loud

  • @damp11113
    @damp11113 Před 3 lety

    exit status 1
    Error compiling for board Arduino Uno.

  • @marinaartandcraft8662
    @marinaartandcraft8662 Před 5 lety +3

    Where is arduino code and circuit diagram

    • @CreativeStuff
      @CreativeStuff  Před 5 lety +1

      Added code to the description...circuit diagram will be uploaded..thanx for watching

    • @puchu9507
      @puchu9507 Před 3 lety

      In description

  • @blackz06
    @blackz06 Před 3 lety

    I didn't know Arduinos would accept AC voltage of music?

  • @arlyncbillarmino
    @arlyncbillarmino Před 5 lety +2

    where's the code?

  • @janigielski6748
    @janigielski6748 Před 4 lety

    Can u give me a program ?

  • @scropiandoom997
    @scropiandoom997 Před 4 lety +3

    Use mega for more leds 😂😂😂😂
    Ever heard of shift register lol

    • @CreativeStuff
      @CreativeStuff  Před 4 lety +1

      No sir.I haven't heard of shift register
      czcams.com/video/hqVpxCPFaQk/video.html

  • @virenderdalal8754
    @virenderdalal8754 Před 5 lety +2

    Sir aapki Instagram fb ya phone number de do kuch puchna h

  • @JKnight89
    @JKnight89 Před 3 lety

    Just made this and all i get it all leds on, no flashing at all.

  • @Karl_Levine
    @Karl_Levine Před 3 lety

    The code you linked is a joke.
    You know that right? Ffs.

    • @CreativeStuff
      @CreativeStuff  Před 3 lety

      Nope...I don't know.. Would you let me know why you said that?