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 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
Power & Energy
  • Technologies
  • More
Power & Energy
Forum Beginner question: 12V wall wart to power both a msp430 microcontroller and an LED strip
  • Blog
  • Forum
  • Quiz
  • Documents
  • Polls
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 4 replies
  • Answers 2 answers
  • Subscribers 287 subscribers
  • Views 525 views
  • Users 0 members are here
Related

Beginner question: 12V wall wart to power both a msp430 microcontroller and an LED strip

Former Member
Former Member over 11 years ago

Hi all

 

I wish to make a circuit, where I control an LED strip  from a msp430 microcontroller (a MSP430G2231 that came with the MSP430 Launchpad). It needs 1.8-3.6V. The LED strip needs 12V. And yes, this IS for gaudy christmas lights :-)

 

I think I have figured out to control the LED strip through a MOSFET.

 

So the question is all about the power supply.

I figure that the easiest option would be to run the LED strip of a separate 3V coin cell battery as the msp430 doesn't use much power.

 

But if I wanted to avoid batteries, what would easiest and cheapest way to convert the 12V from a salvaged small wall wart to ~3V?

This is what I have been looking into:

 

  • 7805 (5V) ICs seem to be readily available, but I have not seen a 7803. Could you drop the final 2v, maybe by using a diode of some sort?
  • Other option is equally available LM317 and hardwired adjustment resistors.

 

These are linear options, right? I guess that during to the low current draw of the msp430, heat is not a huge worry?

 

Am I way off?

  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 11 years ago in reply to jvdberg@ieee.org +1
    Thank you for a helpful answer. As far as my novice reading of the datasheet, the lm138 is able to carry more current than a lm317, but similar in function, right? My local electronics guy has the lm317…
  • shabaz
    0 shabaz over 11 years ago

    Hi Niels,

     

    There are some 7805-like devices for 3.3V, perhaps that would meet your need. This one is in a large SMD package (D-PAK) so it can still be soldered by hand very easily, and would be fine to run from 12V directly, for a low power board. If the current is of the order of a few tens of mA, then there is no heatsinking concern for your application. I think it would be the best option all-round. There are some small switched-mode modules too which are more expensive but are not necessary here.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jvdberg@ieee.org
    0 jvdberg@ieee.org over 11 years ago

    You can use the LM138 regulator. This regulator has 3 pins, like the 7805, but the voltage can be set using two resistors. The minimum Voltage is 1.25 Volt.

    This regulator is also available in TO3 version, that can handle more power.

    See the datasheet at

    http://pdf.datasheetcatalog.com/datasheet/nationalsemiconductor/DS009060.PDF

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to jvdberg@ieee.org

    Thank you for a helpful answer.

     

    As far as my novice reading of the datasheet, the lm138 is able to carry more current than a lm317, but similar in function, right? My local electronics guy has the lm317 on stock, and since my microcontroller uses power in the micro-amp range, I think the lm317 is right for my use.

     

    Datasheet: http://pdf.datasheetcatalog.com/datasheet/nationalsemiconductor/DS009063.PDF

     

    Or am I missing something?

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

    Thank you, shabaz. This time, I think I will stick to the lm317, but I will definitely look into something like your linked product at a later point - it makes the pcb less crowded.

    • 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