# Hello, I'm a new to Arduino and this forum

**URL:** <https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490>\
**Category:** General Guidance\
**Created:** [November 10, 2025, 6:33pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490 "2025-11-10T18:33:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauror58](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mauror58/32/1126438_2.png) [@mauror58](https://forum.arduino.cc/u/mauror58)\
**Post date:** [November 10, 2025, 6:33pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/1 "2025-11-10T18:33:15Z")

</div>

Hello, I would like to make a 2 relay sequence with the Arduino nano. Here's the logic: only one input goes high, relay 1 goes on for as long as the input lasts then relay 1 goes off. As soon as relay 1 goes off, a 10 second timer is started if during the 10 seconds the input goes high again the relay 2 this time will go on for as long as the input lasts then relay 2 goes off, if the 10 seconds expire without a new input, sequence can start from the begining. I would appreciate if someone can give me the scripts for programming the Arduino nano. Thanks in advance. Mauror58

Thank you for your answer, maybe I misunderstood the forum. I'm a newbie and it's the first time I'm approaching the programming. Therefore I do not have any script. I want to buy the Arduino nano to make what I posted and would like to know how to program and what to program.

Kind regards  
Mauror58

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [November 10, 2025, 6:34pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/2 "2025-11-10T18:34:19Z")

</div>

Welcome to the forum

You started a topic in the **Uncategorised** category of the forum when its description explicitly tells you not to

Your topic has been moved to a relevant category. Please be careful in future when deciding where to start new topics

---

<div class="post-metadata">

**Author:** ![mauror58](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mauror58/32/1126438_2.png) [@mauror58](https://forum.arduino.cc/u/mauror58)\
**Post date:** [November 10, 2025, 6:36pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/3 "2025-11-10T18:36:53Z")

</div>

Thank you so much...

---

<div class="post-metadata">

**Author:** ![Railroader](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/railroader/32/274550_2.png) [@Railroader](https://forum.arduino.cc/u/Railroader)\
**Post date:** [November 10, 2025, 6:52pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/4 "2025-11-10T18:52:10Z")

</div>

> [@mauror58](#):
>
> give me the scripts for programming

Forum is not a free give away shop. Show what You have done and forum will help You fault finding.

---

<div class="post-metadata">

**Author:** ![sonofcy](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sonofcy/32/1283617_2.png) [@sonofcy](https://forum.arduino.cc/u/sonofcy)\
**Post date:** [November 10, 2025, 8:30pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/5 "2025-11-10T20:30:44Z")

</div>

Once you make a drawing by hand of where the wires are connected and show us all your code in code tags we can start to help. Pretty much a guessing game until then.

---

<div class="post-metadata">

**Author:** ![mauror58](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mauror58/32/1126438_2.png) [@mauror58](https://forum.arduino.cc/u/mauror58)\
**Post date:** [November 10, 2025, 9:29pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/6 "2025-11-10T21:29:31Z")

</div>

Thank you for your answer, maybe I misunderstood the forum. I'm a newbie and it's the first time I'm approaching the programming. Therefore I do not have any script. I want to buy the Arduino nano to make what I posted and would like to know how to program and what to program.

Kind regards  
Mauror58

---

<div class="post-metadata">

**Author:** ![mauror58](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mauror58/32/1126438_2.png) [@mauror58](https://forum.arduino.cc/u/mauror58)\
**Post date:** [November 10, 2025, 9:35pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/7 "2025-11-10T21:35:19Z")

</div>

Ok, thank you for your help. I'll make a drawing of what I need but I have to admit that I have never programmed Arduino because I'm new and it's the first time of approaching. If I am on the wrong forum please feel free to tell me and maybe you can suggest where I can find what I'm looking for.

Kind regards  
Mauror58

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [November 10, 2025, 9:42pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/8 "2025-11-10T21:42:05Z")

</div>

You can learn and practice coding here:

> **[Relay Demonstration - Wokwi ESP32, STM32, Arduino Simulator](https://wokwi.com/projects/398166790321189889)**
>
> Run IoT and embedded projects in your browser: ESP32, STM32, Arduino, Pi Pico, and more. No installation required!

---

<div class="post-metadata">

**Author:** ![alto777](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/alto777/32/317385_2.png) [@alto777](https://forum.arduino.cc/u/alto777)\
**Post date:** [November 10, 2025, 9:43pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/9 "2025-11-10T21:43:48Z")

</div>

> [@mauror58](#):
>
> I want to buy the Arduino nano to make what I posted and would like to know how to program and what to program.

What made you select the Nano? Which of the many boards having Nano in their name are you talking about?

I'm curious about the application for this simple button/relay/timing problem; your description seems unambiguous but it might be clearer if you said what the deployment scenario is.

Any Arduino board like the UNO or the Nano (old original) can handle this. You could experiment and learn the basic coding skills necessary with just the Arduino board and a few pushbuttons, LEDs and resistors.

There are many places to start. The IDE makes available example sketches starting from scratch.

You might like to play for free. This simulator is quite good, and with a problem this siml,e you could get the software nearly perfect before you bought anything:

> **[Wokwi - World's most advanced ESP32 Simulator](https://wokwi.com/)**
>
> IoT and Embedded System Simulator: ESP32, STM32, Arduino, Raspberry Pi Pico, displays, sensors, motors and WiFi simulation.

HTH

a7

---

<div class="post-metadata">

**Author:** ![b707](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/b707/32/854321_2.png) [@b707](https://forum.arduino.cc/u/b707)\
**Post date:** [November 10, 2025, 9:48pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/10 "2025-11-10T21:48:48Z")

</div>

> [@mauror58](#):
>
> maybe you can suggest where I can find what I'm looking for.

That's the wrong question. There's no single place where the code for every project is stored. You have write the code for your own project yourself.

---

<div class="post-metadata">

**Author:** ![Railroader](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/railroader/32/274550_2.png) [@Railroader](https://forum.arduino.cc/u/Railroader)\
**Post date:** [November 10, 2025, 10:02pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/11 "2025-11-10T22:02:47Z")

</div>

> [@mauror58](#):
>
> I misunderstood the forum

Yes, You did, a bit, but You’re not the first member doing that.

---

<div class="post-metadata">

**Author:** ![mauror58](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mauror58/32/1126438_2.png) [@mauror58](https://forum.arduino.cc/u/mauror58)\
**Post date:** [November 10, 2025, 10:04pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/12 "2025-11-10T22:04:27Z")

</div>

Ok, finally I understand.  
Thank you so much.

---

<div class="post-metadata">

**Author:** ![mauror58](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mauror58/32/1126438_2.png) [@mauror58](https://forum.arduino.cc/u/mauror58)\
**Post date:** [November 10, 2025, 10:05pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/13 "2025-11-10T22:05:23Z")

</div>

Thank you so much.

---

<div class="post-metadata">

**Author:** ![mauror58](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mauror58/32/1126438_2.png) [@mauror58](https://forum.arduino.cc/u/mauror58)\
**Post date:** [November 10, 2025, 10:16pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/14 "2025-11-10T22:16:13Z")

</div>

You're right. What I need to do is an application for a burglar alarm system. There are 2 one shot inputs on the alarm control unit one for each of 2 zones of the house, the alarm system has a classic key transponder but I would like to install a keyboard with combination and also a token but the keyboard has only a one contact relay. Therefore I need to make a 2 relay sequencer from only one input so I thought that Arduino can be the right thing.

---

<div class="post-metadata">

**Author:** ![alto777](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/alto777/32/317385_2.png) [@alto777](https://forum.arduino.cc/u/alto777)\
**Post date:** [November 10, 2025, 10:27pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/15 "2025-11-10T22:27:40Z")

</div>

OK, my understanding of your task just went down…

Walk me through how this helps you. Just tell a story about when you need to activate your one input, two relay outputs device, in response to... what?

What is wrong with goosing both relays no matter which zone needs attention?

a7

---

<div class="post-metadata">

**Author:** ![mauror58](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mauror58/32/1126438_2.png) [@mauror58](https://forum.arduino.cc/u/mauror58)\
**Post date:** [November 10, 2025, 10:58pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/16 "2025-11-10T22:58:35Z")

</div>

I have an alarm system in my home, I have 2 zones of protection. Zone 1 has all the windows contacts, zone 2 all the ir sensors inside of the house. When I go out, I activate the zones 1 or 2 or both zones by means of electronic key transponder. I would like to replace the key and transponder system with a combination keyboard but the keyboards only have one contact so practically the keyboard can activate only one zone when I go out. And here's where the Arduino can help me. All this because I also want to implement my alarm system with a remote control using the internet with wifi relays like Shelly so I can activate the alarm system remotely and receive notifications of it's status.

---

<div class="post-metadata">

**Author:** ![Etienne\_74](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/etienne_74/32/1013044_2.png) [@Etienne\_74](https://forum.arduino.cc/u/Etienne_74)\
**Post date:** [November 10, 2025, 11:17pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/17 "2025-11-10T23:17:48Z")

</div>

This should be a very simple project.  
As suggested before, experiment with the Wokwi simulator, it has all you need including LEDs to show which relay is activated.

I also suggest you to read "[Blink without delay](https://docs.arduino.cc/built-in-examples/digital/BlinkWithoutDelay/)" as it will help you understand how to deal with time and how to make several things at the same time.

---

<div class="post-metadata">

**Author:** ![mauror58](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mauror58/32/1126438_2.png) [@mauror58](https://forum.arduino.cc/u/mauror58)\
**Post date:** [November 10, 2025, 11:23pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/18 "2025-11-10T23:23:42Z")

</div>

I surely appreciate your suggestion Etienne, many thanks

---

<div class="post-metadata">

**Author:** ![Geek\_Emeritus](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/geek_emeritus/32/238995_2.png) [@Geek\_Emeritus](https://forum.arduino.cc/u/Geek_Emeritus)\
**Post date:** [November 10, 2025, 11:31pm UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/19 "2025-11-10T23:31:31Z")

</div>

different people have different notions of how to help. find projects like the one you want to build in the Project Hub: [Arduino Project Hub](https://projecthub.arduino.cc/)

search the ninnynet for Arduino relay control

study in a stepwise way. find burglar alarm projects. find relay control projects

print programs you find interesting and study them. you will find that they always have a block of code at the top where variables are assigned, libraries are invoked, et cetera

there are blocks of code that begin with: void function\_name() These are functions. don’t be the guy who writes all your code as one big block of code. study how others use and implement functions.

read this: [Arduino: Getting Started With Arduino: The Ultimate Beginner’s Guide](https://ia800307.us.archive.org/28/items/ArduinoGettingStartedWithArduinoTSteveGold/Arduino_%20Getting%20Started%20With%20Arduino_%20T%20-%20Steve%20Gold.pdf)

---

<div class="post-metadata">

**Author:** ![Paul\_KD7HB](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paul_kd7hb/32/1127958_2.png) [@Paul\_KD7HB](https://forum.arduino.cc/u/Paul_KD7HB)\
**Post date:** [November 11, 2025, 12:13am UTC](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490/20 "2025-11-11T00:13:29Z")

</div>

Very interesting project. But do you have a monitoring service that will call you when there is an alarm? I doubt they will continue after you have modified the system

[Next page](https://forum.arduino.cc/t/hello-im-a-new-to-arduino-and-this-forum/1413490.md?page=2)
