Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: DIY Blinking LED's

  1. #1
    iShot the Sheriff jdbnsn's Avatar
    Join Date
    Jan 2006
    Location
    Normal
    Posts
    8,241

    Default DIY Blinking LED's

    This tutorial is the work of Daniel Andrade and copied here with his permsission. For more great projects visit http://www.danielandrade.net


    Listening to music on my pc (proudly using WINAMP), I was wondering how would be to have some leds blinking with the sound that came out from the P2 connector, so I decided to make a simple circuit to do that. It worked pretty fine, so I decided to write a HowTo telling step-by-step how to do it. Hope you enjoy it!



    Material and Equipment:

    1. 4 LEDs (any collor)
    2. P2 plug
    3. 2 position switch
    4. TIP31 component
    5. Box to put all the stuff (if you want)
    6. Soldering iron and accessories
    7. Cable



    This project will work this way, you connect 4 leds in the +12V from your computer, they are soldered to a 2 position switch that will connect to a component called TIP31, this component gets the intensity transmitted by the P2 connector, and with that, makes the leds blink with the music.



    You can follow this scheme:


    For this project, I decided to install everything inside a small black box I had here, so I made 6 holes on it. Four in the top for leds and one in each side for the switcher and cables. You can follow by the pictures:






    With the box ready, its time to connect everything. I started with the leds, soldering one small cable connecting each one, so would be easier to arrange them inside the box after.


    After connecting all leds, you must connect the cable coming from the leds to the center pin of the switcher. One side of the switcher goes to the middle pin of the Tip31 component, and the other one goes to ground cable.



    Now it’s time to make the P2 connector. You can see that the P2 connector have 3 pins, they are, left channel, right channel and ground. So you have to decide to get the left or right channel and connect with the left pin from the Tip31. Remember that if you connect the P2 using the left channel, if only the right is enabled on the computer, this circuit won’t work. Usually the ground pin is the bigger one, and the other are small and similar. You have to connect the ground from P2 connector to the right pin of the Tip31 (right pin from Tip31 is ground)



    On the other pin from the switcher, you must connect to the ground from Tip31. If the switcher if closing circuit with the Tip31, the leds will only blink if there is any signal coming from the P2 connector, and if it’s in the other direction, the leds will be always ON.

    Now it’s time to put everything together in the box, as you can see in this picture, it’s not very organized, but after closing the box, it’ll look much better.



    Job is done!!





    I’ve recorded one video with my first test doing this blinking leds, you can find here.
    Obs: In this video, I made just with one led to see if it would really work.



    You can download the video of the final job HERE.


    I dont know if I was clear enought in this HowTo, I will re-check this sometime.
    If you liked this, have any correction or advice, please leave a comment!
    And would be great too if you could suport me by clicking on the ads on the site.
    Thanks for reading!


    This tutorial is the work of Daniel Andrade and copied here with his permsission. For more great projects visit http://www.danielandrade.net
    Last edited by jdbnsn; 12-09-2008 at 11:07 AM.
    "At the midpoint on the journey of life, I found myself in a dark forest, for the clear path was lost..." -Dante Alighieri

  2. #2
    Resident 100HP water-cannon operator SXRguyinMA's Avatar
    Join Date
    Jun 2008
    Location
    MA
    Posts
    5,862

    Default Re: DIY Blinking LED's

    thats neat, I may just have to make one

  3. #3
    Ceann na Drochaide Bige! XcOM's Avatar
    Join Date
    Mar 2006
    Location
    Sheffield (UK)
    Posts
    2,990

    Default Re: DIY Blinking LED's

    MUST MAKE one!!!!!!!


    Mary had a little lamb. It bumped into a pylon. Ten thousand volts went up its arse and turned its wool to nylon!

  4. #4
    High-tech Redneck crazybillybob's Avatar
    Join Date
    Jun 2005
    Location
    Currently Homeless
    Posts
    1,028

    Default Re: DIY Blinking LED's

    Nice Circuit!

    One small thing you could do would be replace the TIP31 with an opto-relay that way if something went wrong your sound card would be protected. With this one if the TIP31 shorts you may damage your sound card.

    Other variations could include a low pass filter on the Audio line, this way the LEDs only light when the bass hits. Make two for a variable light show!!

    This circuit could be the basis for several very cool light effects, Very cool!!
    Thanks for sharing it!!!

  5. #5
    Fresh Paint
    Join Date
    Jun 2008
    Location
    Adelaide
    Posts
    29

    Default Re: DIY Blinking LED's

    I made this, works great. I changed the circuit slightly (no switch, different transistor, battery not PSU). And I also didn't put it it into a fancy little box.

    I might re do this later but using super bright blue LED's with a molex plug to get power and a microphone instead of 3.5mm jack. And use a fancy little box

  6. #6
    Banned Eclecticos's Avatar
    Join Date
    Apr 2007
    Location
    Florida
    Posts
    3,137

    Default Re: DIY Blinking LED's

    Sound activated LEDs! Excellent! +Rep
    Looks alot better than the sound activated CCFLs.
    I imagine you could experiment with different color LEDs,
    For a cool effect, that would match your theme.

  7. #7
    ATX Mental Case Killa_Ape's Avatar
    Join Date
    May 2007
    Location
    Whitecourt
    Posts
    142

    Default Re: DIY Blinking LED's

    Built this circuit recently (pics after I get unlazy with camera) and it works well, I suggest replacing the tip31 with a tip41, can handle more power and seems to gate better.

  8. #8
    Banned Eclecticos's Avatar
    Join Date
    Apr 2007
    Location
    Florida
    Posts
    3,137

    Default Re: DIY Blinking LED's

    And that is how you do that.

  9. #9
    Resident 100HP water-cannon operator SXRguyinMA's Avatar
    Join Date
    Jun 2008
    Location
    MA
    Posts
    5,862

    Default Re: DIY Blinking LED's

    video is no longer up

  10. #10
    High-tech Redneck crazybillybob's Avatar
    Join Date
    Jun 2005
    Location
    Currently Homeless
    Posts
    1,028

    Default Re: DIY Blinking LED's

    the link to download it still works even if the youtube one has been pulled.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •