Pages: 1 [2]   Go Down
Author Topic: Time Fountain  (Read 2342 times)
0 Members and 1 Guest are viewing this topic.
Texas
Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
then control it with the Arduino? (Which still I don't know how I'd do that).
Look at the blink LED sketch that comes with the Arduino IDE

Sorry, I worded that sentence wrong. I know how to do the Arduino programming. I didn't know how to get the AC to power and control the lights.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 634
Posts: 34547
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The arduino controls the lights not the AC power.
To get AC power to power the LEDs you have to convert it into DC power with a wall wart.
Logged

Texas
Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks everybody
Ok, maybe another simple solution but I would prefer to just plug in 1 plug, not 2 (one for the lights and one for the seperate AC pump unit that just has to be on with no controlling.) How would I do that?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 634
Posts: 34547
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You could design your own power supply but I suspect you are not up to that.
You could wire the two units together in a box and have one lead comming out.
But basically you need AC and DC and these are two different things.
Logged

Texas
Offline Offline
Newbie
*
Karma: 0
Posts: 28
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You could design your own power supply but I suspect you are not up to that.
You could wire the two units together in a box and have one lead comming out.
But basically you need AC and DC and these are two different things.

No not up to designing my own power supply haha smiley I just will wire the two units together in the box as you said and have one cord for the wall. Thanks a lot!
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 638
Posts: 50300
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Look at the blink without delay LED sketch that comes with the Arduino IDE
There. That's better. Start off not using delay(), then you won't have to figure out later how not to.
Logged

Pages: 1 [2]   Go Up
Jump to: