Skip to main content
Arduino

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Required fields*

Making a 7-hour timer-based relay

I want to make a very small 7-hour timer circuit that can turn on a relay after 7 hours. I am trying to make the first prototype with an Arduino Nano but I can't understand how to program it for such purpose. So please help me out.

Once I make a prototype in Arduino then I was thinking to make a small one using an ATtiny13. Can I use an ATtiny13 for such purpose?

Answer*

Draft saved
Draft discarded
Cancel
3
  • You wrote: "Configure a hardware timer(32 or 16 bit)": there is no such thing in the ATtiny13. Commented Jul 3, 2017 at 9:48
  • @EdgarBonet, I am not aware if ATiny13 has any inbuilt hardware timers as I haven't used it. However, until today whichever MCU's I have used had at least one hardware timer. For example, the esp8266ex has one 32 bit hardware timer, similarly the TICC3200 has four 32 bit hardware timers. Commented Jul 3, 2017 at 9:53
  • Just did a Google search and found a few examples as well where they are flashing an LED using the timer interrupts. And between, just got to know its an 8 bit controller, hence edited my answer. Commented Jul 3, 2017 at 10:14

AltStyle によって変換されたページ (->オリジナル) /