r/DIY•
fishet

Question about an arduino:

Basic Research

[removed]

Posted Nov 27, 2018, 4:21 AM UTC

34
[deleted]•

[removed]

1
blimkat•

Get a 5v relay, use the Arduino 5v to trigger the relay. The relay has switches, NO or NC, normally closed or normally open. These can support much larger currents as well as AC, depending on the relay. Usually wherever they sell Arduinos, they also sell relay boards intended to be used with them.

You would connect a 24v Power supply, which could just be some AA battery harnesses to the relays NO switch would close and allow the current to pass to the LEDs when your Arduino triggers it. This means you need to tell the Arduino to apply the 5v to the relay the entire time you want the lights on.

1
chopsuweMODpro commenter•

Your submission has been removed for one or more of the following reason(s):

  • Your question might be answered with a few minutes of basic research of this subject.
  • Please do not use r/DIY as your first stop for questions - we are not Google.
  • Please check owners manuals (if applicable), Google, applicable tech support forums, contact the manufacturer, and search r/DIY to see if your question has been asked before (it probably has!)
     

This is not a judgement about your question being "too easy." The rules don't say "only hard questions." What we're looking for is evidence that you've attempted to research the problem yourself.

  • Have you already done some basic research and you're still stuck?
  • Please include what research you have done in your question so that others do not repeat your steps.
  • Consider posting your question in the sticky thread at the top of the subreddit.
  • Ask your question in our Discord server in the appropriate channel.

Please read our guidelines before resubmitting.

If you believe this was a mistake, please message the moderators.

###Do not respond to this comment - you will not receive a response.

1
[deleted]•

[deleted]

1
paw3000•

Solid state relay

0