Using Arduino as a Logic Switch

Click For Summary
To control long strands of LEDs and motors using an Arduino, an external power source such as a battery pack or wall outlet is necessary. The Arduino can act as a switch to turn these devices on and off, potentially using logic gates for more complex control. However, simpler electric switches may suffice for basic operations. While programming the Arduino is required for more advanced functionality, it can also be integrated with sensors for additional control. Future plans include using a Raspberry Pi and expanding the project to power various devices beyond just LEDs. Adafruit is mentioned as a resource for electronic components, including LED ribbons suitable for costumes.
RaulTheUCSCSlug
Gold Member
Messages
179
Reaction score
28
I want to supply some LED's and a motor from an outside source of electricity (i.e. a battery pack, wall outlet, batteries in series, etc.) and want to use the Arduino to be able to "switch" on and off these sources so that I am able to control long strands of LED's with the Arduino (for like a steam punk costume for example and stuff), how would I do that?

Would I use a logic gate, if so, I'm pretty new to circuits, how would I use it? What amps, or voltage or what I am so confused :H

Or is there something way easier like electric switches or something?
 
Computer science news on Phys.org
There's a website called www.adafruit.com that supplies these kinds of electronics parts included LED ribbons for clothing...

You might not need an Arduino which would entail some programming work.
 
jedishrfu said:
You might not need an Arduino which would entail some programming work.

I like working with the Arduino though, and really want to use the Arduino as a logic gate as I still want some of the sensors through it to control a matrix I have hooked up to it. I am going to later get a raspberry pi but I want to see the potential that Arduino has, also I want to later use it to power things besides LED's like electric motors which will require juice coming from an outside source.

Know what I mean?
 
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

  • · Replies 13 ·
Replies
13
Views
2K
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
2K
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
6K
Replies
3
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 32 ·
2
Replies
32
Views
4K