ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Easy diy sound to light leds a.k.a music leds

Updated on March 20, 2010

My first hub

Hey there folks, this is my first hub. To begin with, i've selected a topic or rather tutorial that is of my speciality. Being a student of electronics engineering i have a knack for transistors and their applications and adding to that i love to play around with leds and try to décor my home, room, car, bike etc using leds.

Well, this tutorial deals with how to make leds dance(blink) to music from ur pc, i pod, walkman, tv, or any other audio source.

This is the very first diy project of mine and it is utterly easy and can be made by anyone. It doesn't require much electrical knowledge, just some basic skills!!!

So here we go!!!

The parts required

TIP31 (a,b or c) (will discuss what this is later)- 2 nos.

leds (whatever color u prefer, i suggest blue)- depends on u

3.5 mm-3.5 mm audio cable-1 nos.

a general purpose pcb or project board

a sheet of acrylic-a4 size

pls refer to images to see how these parts look

3.5 mm jack splitter-1 nos


these pins are looking at the tip from front the steel part is at the back.
these pins are looking at the tip from front the steel part is at the back.
these are connections on both ends of wire
these are connections on both ends of wire
the longer end is negative. this is the actual size compared to my first finger.
the longer end is negative. this is the actual size compared to my first finger.

Parts description

The tip 31 is a power amplifier which means it can withstand very high voltages like 50-100 volts without burning. Its amplification is low but it suits our purpose.

leds i.e light emmiting diodes emit light when a certain amount of voltage and current is applied (typically more than 2v and 20 milli amps)

3.5mm audio jack is a standard audio cable. if u have any other connectivity please let me know and i'll guide u through.

general purpose project board-is used to solder components together.

acrylic is used for finishing and decorative purposes which is left up to u i'll discuss my ideas at a later stage.

so this was a quick overview of the parts if u want any additional info pls let me know.

Here comes the pain!!!

Just kidding.... there's no pain in this project.

here's the circuit diagram showing the connections.

and here i am explaining the connections.

1. the 3.5 mm jack- how to find out which one is left , right and ground.

 strip any one side of jack and u'll find three wires (see the image!!)

now fetch a digital multimeter(aka dmm)(image pls!!) and follow these steps

  •  select the continuity mode in dmm
  • hold one probe against any one wire and the other on the tip, ring or sleeve of jack(refer image)
  • u should here a beep confirming that the wire and the part of the jack are connected.

now moving on.the left or right channel goes to the base of tip31, the ground goes to the emitter.

the wire from collector goes to the negative of the first led.

now for the leds pls read this carelully

  • there are 2 ways of connecting leds viz. series or parallel
  • series connection is the one shown in circuit i.e the positive of first goes to the negative of second and the +ve of 2nd goes to the -ve of 3rd and so on till the last +ve is connected to the positive of the battery.
  • we do not prefer this connection because it consumes more voltage i.e 3 v for each led i.e 12 v for 4 leds.
  • now the parallel connection- the wire from collector goes to the -ve of all leds simultaneously whereas the positive from battery goes to the +ve of all leds simultaeously.
  • the major advantage is that it consumes only 3 volts (min) and even 5 volts can be used to drive as many as 20 leds simultaneously.
  • now this modification was required because of the USB yeah right USB gives 5v output and can be used to drive the circuit or also a single 9 volt battery can be used (image) which makes it compact compared to 12v battery and the number of leds connected can be increased to our requirement.

Now there might be a confusion that leds can take a maximum of 3.5-4 volts after which they sort of burn off so can i apply 9 volts to all simultaneously....this is the reason why a power amplifier is used to handle higher voltages.

here comes the pain

the circuit
the circuit
jack stripped at one end
jack stripped at one end
the DMM
the DMM
pls zoom to see the continuity mode(the pointer is pointing at it)
pls zoom to see the continuity mode(the pointer is pointing at it)
9 v battery
9 v battery
battery connector
battery connector
description of jack
description of jack


now connect the jack that u have connected to the circuit as well to a splitter(image)

in the other hole connect the pc speaker cable/ or any speaker and put the splitter into the pc output.

so that u can listen to the music and see the leds dance to it simultaneously.

i have uploaded a video pls watch it.


so far this project can only blink leds to the music frm left or right channel from the jack.

my next hub will be about how to make a circuit that causes the leds to dance to left and right and believe me its awesome i've made it and its still under test... my next hub will have a video of the left right effect and a completely finished project.

So behold the led jukebox 2000.

the video(unfinished)


    0 of 8192 characters used
    Post Comment
    • profile image


      6 years ago

      You can strip the thin wires with a small flame, the coating will receed.

      But you may still have to solder to them rather than a twist connection.

    • profile image


      7 years ago

      My jack wires are green red, and blue?

    • profile image


      7 years ago

      where can I find that type of audio cable? I've read that any pair of headphones should work but I cut a pair of thin earphones and there were just three different colored wires that were much too thin to strip. where can i find a jack that has thick enough wires to strip?

    • profile imageAUTHOR


      7 years ago

      alright everyone its been quite a while but here are your answers!!

      1. if u are not getting enough luminition or brightness then u can pass the audio to tip 31 through an amplifier! laptops usually have low power output! just look up on common emmiter amplifier on Google u should get enough info.

      2. the tip is a very common amplifier u should get it anywhere! in Mumbai u will get it at lamington road!!

    • profile image


      8 years ago

      where i can get the tip31 ?

    • profile image


      8 years ago


      i have connected 8 blue leds in-parallel to the 5 volts directly from PC power supply...

      also did not find tip31 between some old electronic boards...but found the tip121 and it works fine...

      i mounted the 8 leds to my PC is cool

      see the image..

      how can i make the light more sensitive for lower sound volume ?

    • profile image


      8 years ago

      Its awesome!!!

      but iam facing a little problem.I use a laptop and when I connect this circuit and headphones the blub's wont glow to full brightness and its actually depending on sound.How ever when I only use the circuit with out any speakers or headphones everything goes..What should I do so that I could use both headphones and the circuit.

      I am using 3 LED's and a 9 volt source


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)