element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum RasPi and PWM controlled LED strip
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 26 replies
  • Answers 1 answer
  • Subscribers 677 subscribers
  • Views 3825 views
  • Users 0 members are here
  • raspberrypi
Related

RasPi and PWM controlled LED strip

freddyfred5
freddyfred5 over 11 years ago

Hello there people, I am currently working on a casemod, and I would like to use a RasPi as the controller for some LED strips (12v, pulling about 700ma each).

 

The RasPi will act as a webserver hosting a website for remotely controlling the strips, as well as viewing some information about the system (temp sensors, fan speed. don't care about these, they are up and running). But it will also control 2 12v LED strips, and these strips pull too much for the RasPi to control directly.

 

Now, I do have some TIP120's here, and as far as I can see they should work, but I am unsure of how to connect them.

 

Could someone here please help me with getting everything set up properly?

 

Parts:

PSU: Corsair CX

RasPi: Rev 1, model B

Lights: 12v, pulling around 700ma each

 

Wanted outcome:

PWM control on one LED strip

Normal (on, off) on the other

A living RasPi

 

Questions:

Could you help me set this up in a way that does not any part?

Do I need a capacitor in front of the RasPi to ensure no harm is done under startup? (Will 4700 microfarads do?)

Should I use a fuse, or is it unnecessary?

Am I asking too many questions?

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 11 years ago

    Could you tell us more about the lighting strips you are using (e.g. weblink or data sheet)? 

     

    700mA seems like a lot. LED arrays are often driven from a constant current source, as you need current limiting (I think Peter said that), and at high currents putting a resistor in series you need quite a high heat dissipation (=high wattage resistor).  An ATX power supply has plenty of current and can drive LEDs, but using a purpose built constant current source might be simpler.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 11 years ago

    Could you tell us more about the lighting strips you are using (e.g. weblink or data sheet)? 

     

    700mA seems like a lot. LED arrays are often driven from a constant current source, as you need current limiting (I think Peter said that), and at high currents putting a resistor in series you need quite a high heat dissipation (=high wattage resistor).  An ATX power supply has plenty of current and can drive LEDs, but using a purpose built constant current source might be simpler.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • freddyfred5
    0 freddyfred5 over 11 years ago in reply to Former Member

    I could not find a datasheet (no real information/brand name, just a generic ebay cool white LED strip, and a smaller, yellow strip.

     

    Just realized: It is 700mA TOGETHER, NOT SEPARATELY, both strips pull around the same per meter. (according to the documents, and also after measuring, using a multimeter)

     

    I have (in total) 3.5m LED-strip. 1000mA/5m*3,5m=700mA.

     

    I have no brand names on them, and the listing is gone, but if you search on ebay "cool white led strip" and "yellow led strip", they are identical to pretty much every listing in both of those search terms.

     

    Anyway, the table prototype is working w.o. any issue atm, so I am happy.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to freddyfred5

    As long as it works, that's the main thing!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify 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