Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Home Electronics Project

Home Electronics Project

Scheduled Pinned Locked Moved The Lounge
hardwareadobeai-modelsalgorithmsquestion
10 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kyudos
    wrote on last edited by
    #1

    So, something seasonable. As you do this time of year, I'm sorting out the Christmas lights and I find a string of 100 LEDs with a broken transformer/controller. I wonder if I can rig a new controller with customisable flash patterns etc. using something like an Arduino or Raspberry Pi. The old set-up ran at 24V / 2500 mA, and a cursory glance shows the controllers might not be up to the job directly. Yes, the cost of such a project will be far more than the cost of a new set of lights (11 NZD!), but what the heck. Anyone have any experience with said kit? Or other suggestions? Cheers

    OriginalGriffO D D Mike HankeyM 4 Replies Last reply
    0
    • K Kyudos

      So, something seasonable. As you do this time of year, I'm sorting out the Christmas lights and I find a string of 100 LEDs with a broken transformer/controller. I wonder if I can rig a new controller with customisable flash patterns etc. using something like an Arduino or Raspberry Pi. The old set-up ran at 24V / 2500 mA, and a cursory glance shows the controllers might not be up to the job directly. Yes, the cost of such a project will be far more than the cost of a new set of lights (11 NZD!), but what the heck. Anyone have any experience with said kit? Or other suggestions? Cheers

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      This might give you a few ideas: http://arduinodiy.wordpress.com/2012/05/02/using-mosfets-with-ttl-levels/[^] Using MOSFETs means you provide a "normal" TTL signal, and the mosfet switches on/off the higher voltage/current circuit. They're pretty cheap (but it's gonna cost more than the lights did! :laugh: ) - remember to look for 24V & 2.5A switching, and check the heat dissipation - it should be trivial, but you may need a chunk of ally as a heatsink.

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • K Kyudos

        So, something seasonable. As you do this time of year, I'm sorting out the Christmas lights and I find a string of 100 LEDs with a broken transformer/controller. I wonder if I can rig a new controller with customisable flash patterns etc. using something like an Arduino or Raspberry Pi. The old set-up ran at 24V / 2500 mA, and a cursory glance shows the controllers might not be up to the job directly. Yes, the cost of such a project will be far more than the cost of a new set of lights (11 NZD!), but what the heck. Anyone have any experience with said kit? Or other suggestions? Cheers

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        It also depends on how the LEDs are wired up. You may only get to flash the entire string at once, not individually address each LED. But, it's a start anyway. Good Luck!

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak

        K 1 Reply Last reply
        0
        • K Kyudos

          So, something seasonable. As you do this time of year, I'm sorting out the Christmas lights and I find a string of 100 LEDs with a broken transformer/controller. I wonder if I can rig a new controller with customisable flash patterns etc. using something like an Arduino or Raspberry Pi. The old set-up ran at 24V / 2500 mA, and a cursory glance shows the controllers might not be up to the job directly. Yes, the cost of such a project will be far more than the cost of a new set of lights (11 NZD!), but what the heck. Anyone have any experience with said kit? Or other suggestions? Cheers

          D Offline
          D Offline
          DanielSheets
          wrote on last edited by
          #4

          You can get an integrated circuit chip that you toss an integer into and it activates x amount of outputs (depending on the binary representation of the integer). I dont recall the part number though. I think you can get them with up to 64 outputs so you'd have to use two of them. If you're interested I can get the part number of the ones we use. However, like Dave said, I'd imagine that the LED's are wired in parallel and not individually addressable.

          OriginalGriffO 1 Reply Last reply
          0
          • D DanielSheets

            You can get an integrated circuit chip that you toss an integer into and it activates x amount of outputs (depending on the binary representation of the integer). I dont recall the part number though. I think you can get them with up to 64 outputs so you'd have to use two of them. If you're interested I can get the part number of the ones we use. However, like Dave said, I'd imagine that the LED's are wired in parallel and not individually addressable.

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #5

            Be careful! That is probably a TTL level driver, so it isn't going to be too happy with 24V on it's outputs!

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            D 1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              Be careful! That is probably a TTL level driver, so it isn't going to be too happy with 24V on it's outputs!

              D Offline
              D Offline
              DanielSheets
              wrote on last edited by
              #6

              Good point. You're exactly right. The 24V part slipped my mind. We use 5V LED's so I guess, in my mind, I associated "LED" with "5V". Could set up a bank of switching circuits but that may be a lot of trouble for Christmas lights.

              1 Reply Last reply
              0
              • K Kyudos

                So, something seasonable. As you do this time of year, I'm sorting out the Christmas lights and I find a string of 100 LEDs with a broken transformer/controller. I wonder if I can rig a new controller with customisable flash patterns etc. using something like an Arduino or Raspberry Pi. The old set-up ran at 24V / 2500 mA, and a cursory glance shows the controllers might not be up to the job directly. Yes, the cost of such a project will be far more than the cost of a new set of lights (11 NZD!), but what the heck. Anyone have any experience with said kit? Or other suggestions? Cheers

                Mike HankeyM Offline
                Mike HankeyM Offline
                Mike Hankey
                wrote on last edited by
                #7

                A relay board [^] can be activated using a Arduino, RaPi or any other type processor.

                VS2010/Atmel Studio 6.1 ToDo Manager Extension Relax...We're all crazy it's not a competition!

                K 1 Reply Last reply
                0
                • D Dave Kreskowiak

                  It also depends on how the LEDs are wired up. You may only get to flash the entire string at once, not individually address each LED. But, it's a start anyway. Good Luck!

                  A guide to posting questions on CodeProject[^]
                  Dave Kreskowiak

                  K Offline
                  K Offline
                  Kyudos
                  wrote on last edited by
                  #8

                  The string has three wires (guessing L, L N) and the original controller had modes like: 1. Combination / 2. In Waves / 3. Sequential / 4. SLO-GLO / 5. Chasing/Flashing / 6. Slow Fade / 7. Twinkle/Flashing / 8. Steady On I think half the LEDs will be in parallel on one L, the other half in parallel on the other L with a shared N. It's times like this I wish I had a Labpack like we used to use in physics class...

                  1 Reply Last reply
                  0
                  • Mike HankeyM Mike Hankey

                    A relay board [^] can be activated using a Arduino, RaPi or any other type processor.

                    VS2010/Atmel Studio 6.1 ToDo Manager Extension Relax...We're all crazy it's not a competition!

                    K Offline
                    K Offline
                    Kyudos
                    wrote on last edited by
                    #9

                    Indeed, thanks! I also found this: Arduino Christmas Light Controller[^] a bit OTT for my application, but it might give me some ideas / pointers.

                    Mike HankeyM 1 Reply Last reply
                    0
                    • K Kyudos

                      Indeed, thanks! I also found this: Arduino Christmas Light Controller[^] a bit OTT for my application, but it might give me some ideas / pointers.

                      Mike HankeyM Offline
                      Mike HankeyM Offline
                      Mike Hankey
                      wrote on last edited by
                      #10

                      There's a lot of articles concerning control using relays, there was a real good DIY but can't remember where it was but here are some more links that might be useful; http://www.instructables.com/id/A-Remotely-Programable-Relay-Controller-Christmas/[^] http://computerchristmas.com/christmas/link-how_to/HowToId-92/Light_Control_Basics[^] http://computerchristmas.com/christmas/link-how_to/HowToId-92/Light_Control_Basics[^] http://www.neonsquirt.com/arduinoxmas/Arduino_based_8_Channel_Christmas_Light_Controller/ArduXmas.html[^] A few Chrismases ago I did a Arduino based project to control lights and still have all the gear so if you run into any problems let me know I'll see if I can help.

                      VS2010/Atmel Studio 6.1 ToDo Manager Extension Relax...We're all crazy it's not a competition!

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups