element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Tech Connection
  • Learn
  • Learning Center
  • Tech Connection
  • More
  • Cancel
Tech Connection
Forum LED 4-Pin help needed
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Tech Connection to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 26 replies
  • Answers 15 answers
  • Subscribers 204 subscribers
  • Views 8563 views
  • Users 0 members are here
Related

LED 4-Pin help needed

hafcanadian
hafcanadian over 4 years ago

I could use some help choosing replacement 4-pin RGB lamps for my In Motion outdoor Xmas sets.  I have 20 twelve-lamp “C9” sets on the house, end to end, each with a control module.  They manage to stay in synch, so the modules must be absolutely identical electronically.  Color combinations and solids rotate in sequence and can be steady or flash, etc.  The colors include white, purple, orange, etc., not just RGB, so the controllers apparently mix RGB with varying current I assume.

 

When new I had sets that acted up, with sections of 3 or 4 lights staying solid white, or occasionally groups of lamps entirely out.  The mfr. ultimately sent me more than 20 new sets, so usually now I just replace an entire faulty string with one of those, and later try to fix the original.  But that’s a nightmare, and I now have 7 or 8 sets from years past clogging my workbench.  Sometimes just juggling lamp positions works, but usually it’s a bugger ferreting out what’s wrong.  It’s easy to suspect the controllers, but sometimes just replacing just the right lamp with a spare does the trick.  But because there are 4 wires instead of just 2, I have a devil of a time finding the faulty lamp;  my yellow LED Xmas gun isn’t useful on controlled 4 pin lamp sets.

 

Since there only 2 spare lamps in holders with each set (and some sets had no spares), I’d like to get spare 4-pin bulbs.  If I just replace lamps one at a time until a set works, since they fail in straight groups of 3, that may be easiest.   The pins are too long and often need trimming a bit to fit the holder or they jam going into the sockets.  Problem is I’m not sure which lamp to order.  Maybe you can assist.  The tag on each cord says to replace with 3v fuses, and 4v. 0.25 w lamps.  That’s it.  In searching online I see options on Amazon (Chanzon), but they are clear lenses and mine are diffused.  The ones at Amazon say 3v.  More concerning is they come either common anode or common cathode, and I don’t know how to tell which that mine are.  They are domed 5mm.  I looked at Mouser.com but was still left with uncertainty.

 

Can you advise?  I’d sure like to clear these 7 or 8 sets off my garage workbench, and for once have room for other projects as they come up!

Thanks,

Joel

Clackamas, Oregon

  • Sign in to reply
  • Cancel

Top Replies

  • fmilburn
    fmilburn over 4 years ago +4 suggested
    Hi Joel, it is difficult to answer your question with the information provided. By the way, you need only post it once. Posting a photo of the lamps could be helpful. I Suggest starting with some simple…
  • ralphjy
    ralphjy over 4 years ago in reply to hafcanadian +4 suggested
    I think that this tutorial should help you. It explains the pinout and different methods of controlling the colors. https://www.circuitbread.com/tutorials/how-rgb-leds-work-and-how-to-control-color Ra…
  • fmilburn
    fmilburn over 4 years ago in reply to hafcanadian +4 suggested
    The video that Ralph linked appears to go into more depth and will provide useful information. The language on the tag is confusing. The LEDs don't really work at 4V or for that matter 3V. Depending on…
  • fmilburn
    0 fmilburn over 4 years ago in reply to fmilburn

    Here is what I know now....

     

    I hooked up an Arduino Uno using 5V as power and the Adafruit Neopixel library.  I tested it on a known good WS2812 to make sure it worked.  The APA-106 is supposed to use the same protocol as the WS2812.  Then I hooked up one of Joel's LEDs using the pinout of the APA-106.  It wasn't lit so I jiggled it around with my finger and lo and behold it lit extremely brightly.  When I pulled my finger away it turned off.  So I put my finger back on and held it a second or two but it started smoking.  Obviously there was no current limiting / PWM.  One down, one more to go :-).  I stuck the other one in and it didn't light.  So I jiggled it with my finger and it lit.  I immediately pulled my finger away and it turned off.  Put it back on and it lit, immediately pulled away. I entertained myself that way a couple more times and stopped while it was still working.  Next time I will put a resistor in series.

     

    image

     

    I could have it wrong but I have double checked the wiring and believe it to be correct for an APA-106.  I am going to put it aside for the evening and think about it some more.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • hafcanadian
    0 hafcanadian over 4 years ago in reply to fmilburn

    Sounds like you fellows are zeroing in on the right lamp.  The parameters I read for the APA-106 was darned close to what the light set’s instruction sheet calls for as replacements.  0.24 watt, 4 volts.  The APA-106 specs I saw are 0.24 w, 4.5-6 v.  Don’t know how critical that 4 volts specification is.

     

    I sure appreciate your effort and capabilities.  So the dark shadow inside the diffused “lens” is a tiny built-in controller c.b.?  I didn’t know there was such an animal.  The TY-16F must have the resistor? 

     

    I believe I’d earlier mentioned that I’d thought the mfr. had trimmed the pins to fit their holder, so when bent over their tips didn’t overlap the holder and jamb when inserted in the socket.  But I note the lamps have 2 long and 2 short pins, unlike regular ones.  The pins in mine probably weren’t trimmed after all.

     

    Joel

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • fmilburn
    0 fmilburn over 4 years ago in reply to hafcanadian

    Assuming the lamps are APA-106, then the TY-16F is a controller that sends signals to the individual lamps.  It would not have a resistor because the microcontroller in the individual lamps will use pulse width modulation (PWM) to turn the lamps on and off quickly so that the averaged current appears to dim the LEDs to our eyes (we don't see the flicker) and also keeps them from burning out.  It is useful to know that the LEDs in your possession have two long and two short pins like the APA-106.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • fmilburn
    0 fmilburn over 4 years ago

    I am going to speculate a bit here.

     

    The LEDs have the following characteristics:

    • They don't behave like a traditional "dumb" RGB LED
    • They have the same length leads as an APA-106 and the same flat edge on the side
    • From my testing the GND pin and VDD seem to be the same as an APA-106
    • Adafruit sell something similar that is said to work with their NeoPixel library
    • The Adafruit NeoPixel library for the WS2812 doesn't quite work with these LEDs

     

    I remember reading about a change to the WS2812 and found this May 2017 post which references WorldSemi:  Heads up – WS2812B NeoPixels are about to change! – Particle Blog.  In the 2017 article they state that:

     

    According to WorldSemi, the new WS2812B NeoPixels have a longer required reset interval, up to 280us from 50us.

    They go on to say that their product would not light the WS2812Bs as a result.  What may be happening is that Joel's LEDs use the old reset interval of 50 us and the NeoPixel library uses the newer interval.  When I hold my finger just so (it doesn't always work) I may be changing the capacitance or something that changes the reset duration and allows it to turn on but they still don't function properly.  I have the Arduino in a loop sending a new signal each pass and it turns off when I pull my finger away.

     

    Some years ago I wrote a driver for the WS2812 and a MSP430 microcontroller.  I suppose I could dig out that code and modify it as necessary to change the reset period and test a lamp or we could use a logic analyzer or oscilloscope to determine what the reset period coming out of the TY-16F is and whether it matches the APA-106 protocol.  But I am not sure how much good that would do if the older lamps are obsolete and can't be found.

     

    Assuming these are old APA-106 with a shorter reset duration I am running out of ideas other than ordering some new APA-106 and seeing if they work with the controller.  Small quantities are available on Tindie and probably elsewhere.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • hafcanadian
    0 hafcanadian over 4 years ago

    The buyers at the seller’s main offices finally got a response from the vendor of the light sets.  They passed the job through 4 of them before one got it done, but got back to me in less than a day.

     

    It would seem the company, I believe Toyo or their associated entity Roundtripping, have a patent on the lamp such that only they can supply it - it isn’t available in the US market.  That’s why Frank couldn’t identify it with his tests. 

     

    They told the buyer they would “make up” 15 or 20” lamps for me.  When the vendor contacts me I will try to buy more than that, as I was hoping to get a package of 50 or 100, which is commonly available in other similar models, and because sometimes a set must have all 12 lamps replaced to work.  With 40+ sets, I need some good backup into future seasons.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • hafcanadian
    0 hafcanadian over 4 years ago in reply to hafcanadian

    Toyo/Roundtripping offered 15-20 lamps at first, but ultimately put together 50 at no charge.  They shipped from China through Hong Kong and arrived yesterday.  They were good enough to airfreight them DHL.  The only delays were through several stages of customs holds.  They did have some confusion over my address, somehow getting my house number confused with the zip code;  fortunately my contact there was aware enough to catch it was destined to Indiana or Massachusetts or somewhere, not Oregon.  Postal address configurations in China are apparently much different than in the U.S.

     

    Along with the good faith offer was a note that if a set has lamps go out I should go buy a replacement set rather than try to replace the lamps, and that these sets are meant to last only 7-8 years at best, maybe only 2 if left outside very long - that they are sensitive to ravages of weather and handling.  My sets are on the house usually about 6 weeks, Thanksgiving to a week or two after New Years, whenever my Grandson can get over to put them up and take them down off the roof ridges that my disabilities prevent me from accessing.  I do the gutters and fascia reachable by ladder.  The lights I already have should be adequate for many years yet, but I still want to maximize that by addressing faults in sets where I can.

     

    It hadn't dawned on me that a specific patent was involved, such that the LED bulbs are not attainable except through one manufacturer, especially one like Toyo that's big enough to effectively dominate the holiday lighting industry, a monopoly of sorts.  But it's been over 7 years, so the patent would be expired;  maybe it's different in China.  It would still be good to know the lamp's specifics, but tracking the patent may involve more aggressive research than its worth.

     

    I'd like to take this opportunity to thank Sean, Ralph, Doug, John, and most especially Frank for your input and attempts to help me solve my problem.  I regret that I could've saved Frank's time had I earlier endeavored to contact the manufacturer through the retailer's buyer system, as I ultimately did when Frank came to an impasse.  Seven years ago that was the only way to get a response out of Toyo.  And they didn't respond this time either until the buyers got involved... money talks with large companies.  That all said, I cannot disregard all that I learned about these LEDs in the process.  That's due to the commentary each of you threw into the mix... it was all very enlightening.  And very, very much appreciated!

     

    Joel

    image

    Photo doesn't do the "in motion show" aspect justice, as the lights move and change colors in synch

    There are 20 sets of 12 lamps each.  You can see if one lamp gets finicky, a group of 4 usually goes all

    white, which screws up the "show".  If it's up on the Ridgeline I have to wait for my Grandson to get

    away from his National Guard duties to come switch out the set with a new one.  Then the faulty set

    sits on my workbench until the Holidays allow time to juggle lamps or try to sort out what's wrong.

    Sometimes I've gotten lucky and replacing one lamp does it (if I can find the right one), switching bulbs

    around works on occasion, or I have to replace all 12 lamps when only 4 of them light at all, and usually

    3 of a group of 4 with another one by itself much further down the string.  Weird.  And frustrating.  Toyo

    would just as soon I go buy another set, of course.  Hopefully that won't be necessary anytime soon.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube