Super simple timer circuit

Story
-I have fairy lights

  • I want to use a momentary switch and a pro mini (one I already have) to have the lights…the entire strand… stay on for 3ish minutes

Timing doesn’t have to be exact.

I figured it’s got to be easy as lighting up a single bulb, but somehow I’m confused.

Show you us your existing code and wiring diagram (not a Frizzy please)

Posting a real annotated schematic, not a frizzy picture as you have wired it will help as will links to "Technical" information on the hardware. Be sure to show all power connections and supplies.

Post the technical specification

I think it is not. What are we talking about here an incandescent bulb or some LEDs?

Why do you need an Arduino to do this?

I would imagine you just need an NE555 one shot monostable and and output FET would do it.

1 Like

My husband has dozens of them lying around. So they are free

555 timer module ....4 bucks ....almost free ..... :grinning:

https://www.ebay.com.au/itm/295026007586

void setup() {
pinMode(13, OUTPUT);
digitalWrite(13, HIGH);
delay(3UL * 60 * 1000);
digitalWrite(13, LOW);
}

void loop() { }

Is that less confusing?

To me, "fairy lights" indicates a short string of LED lights with a "battery box" with a few AA or AAA sized batteries and a mode control. Modes may include things like light intensity settings and/or blink modes. The modes are typically selected by a push button wherein the mode control sequences (e.g. ... on high -> on low -> blink -> off -> ...). So fairy lights also have infrared remote control.

As such the problem comes down to simulating button pushes on the battery box. This is a common problem in Arduino projects interfacing with off-the-shelf electronics, but the particular solution comes down to electrical characteristics of the particular button. Thus one may have to experiment to figure out a suitable way to "push the button" and that's the hard bit. Timing itself is trivial, interfacing to some undocumented piece of electronics may not be trivial.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.