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
1 Meter of Pi
  • Challenges & Projects
  • Design Challenges
  • 1 Meter of Pi
  • More
  • Cancel
1 Meter of Pi
Forum Some advice please?
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 10 replies
  • Answers 5 answers
  • Subscribers 7 subscribers
  • Views 1789 views
  • Users 0 members are here
Related

Some advice please?

hugohu
hugohu over 4 years ago

I’m a challenger for 1 Meter of Pi, I’ve been designing a lightning system for the plants, however, I realize that the LEDs would require 5A total of current, so I split them into 5 parts, for 1A per section. This still is too much for an arduino pin to handle- at most they can handle one or two, while each had 5.

I’ve considered using multiple pins and boards but my friend says that would likely overload the regulators and fry the chip, or damage.

He said using buck converters, and MOSFETs, would be an ideal solution.

can someone please eleaborate on this part, like a bit of conceptual explanation, and/or other ideas? Thanks!

  • Sign in to reply
  • Cancel

Top Replies

  • gam3t3ch
    gam3t3ch over 4 years ago +2 suggested
    I would need to know more about the lights setup to give you my opinion but off the top of my head using a simple relay would allow you to do that then you can use the appropriate power output and use…
  • milosrasic98
    milosrasic98 over 4 years ago +2 suggested
    Hi! You can either use a relay to turn on/off the lights, which will work good, or you can go the route of using MOSFETs where you can also control how bright the LEDs are using PWM. Here is a project…
  • colporteur
    colporteur over 4 years ago +2 suggested
    A buck (reduce)/boost (increase) board enables you to move the output voltage up or down in relation to the input. I use them extensively in my personal projects. I have base 12VDC power supply that is…
Parents
  • hugohu
    0 hugohu over 4 years ago

    Thanks everyone-

    Im doing a 5x5 5530/5730 array, I was originally going to use a DAC to control voltage.

    From what I understand, the relay acts as a barrier?

    I’ll look into that.

    Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • parasquid
    0 parasquid over 4 years ago in reply to hugohu

    A relay is like a switch that you can trigger with a signal.

     

    You would usually have two connections: Normally Closed or Normally Open. When you send a signal via the Arduino for example, the relay would "switch" to the reverse. For example, if you connect your external circuit to the Normally Open terminals, that circuit would be "open" (no electricity flowing) until you trigger the relay, which would then close the circuit and allow electricity to flow.

     

    A relay is great when you want to isolate sensitive equipment (like your Arduino) from a circuit that is either high current (like the LEDs you have) or high voltage (like mains). The only downside with relays is that they are slow, so you can't do PWM on the LEDs to lower their brightness for example.

     

    But for regular turn on/off scenarios, a relay is perfect and really simple to use.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • hugohu
    0 hugohu over 4 years ago in reply to parasquid

    Thanks! I've heard that they have voltage spikes though?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • parasquid
    0 parasquid over 4 years ago in reply to hugohu

    I think you're referring to https://resources.altium.com/p/using-flyback-diodes-relays-prevents-electrical-noise-your-circuits

     

    They cause damage to the relay, yes. But if you use something like a breakout board for a relay like the ones found in Arduino kits, they usually already have the flyback diode integrated (and they have indicator LEDs too which help a lot with troubleshooting).

     

    Unless you know what you're doing, I'd recommend staying away from the bare relays. They are cheaper, but relays usually need have a few extra passives added for best performance.

     

    But if you really want to use a bare relay, there are many tutorials around on how to setup the flyback diode.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • parasquid
    0 parasquid over 4 years ago in reply to hugohu

    I think you're referring to https://resources.altium.com/p/using-flyback-diodes-relays-prevents-electrical-noise-your-circuits

     

    They cause damage to the relay, yes. But if you use something like a breakout board for a relay like the ones found in Arduino kits, they usually already have the flyback diode integrated (and they have indicator LEDs too which help a lot with troubleshooting).

     

    Unless you know what you're doing, I'd recommend staying away from the bare relays. They are cheaper, but relays usually need have a few extra passives added for best performance.

     

    But if you really want to use a bare relay, there are many tutorials around on how to setup the flyback diode.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • hugohu
    0 hugohu over 4 years ago in reply to parasquid

    I do have a relay module for Arduino that I got in an Arduino kit or something when I first started.

     

    I'll probably use that...

    • 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