# 2 Arduinos in Tinkercad verbinden ohne grossen Aufwand

**URL:** <https://forum.arduino.cc/t/2-arduinos-in-tinkercad-verbinden-ohne-grossen-aufwand/1151522>\
**Category:** Deutsch\
**Created:** [July 25, 2023, 10:12am UTC](https://forum.arduino.cc/t/2-arduinos-in-tinkercad-verbinden-ohne-grossen-aufwand/1151522 "2023-07-25T10:12:24Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![StefanL38](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/stefanl38/32/713548_2.png) [@StefanL38](https://forum.arduino.cc/u/StefanL38)\
**Post date:** [July 26, 2023, 11:59am UTC](https://forum.arduino.cc/t/2-arduinos-in-tinkercad-verbinden-ohne-grossen-aufwand/1151522/7 "2023-07-26T11:59:48Z")

</div>

> [@snowtrain712](#):
>
> Der Arduino steuert einen Bahnübergang.

Da reicht ein Arduino gaaaanz locker.  
Hört sich nach Modellbahn an.  
Wenn du nicht-blockierendes Programmieren erst einmal verstanden hast dann kann der **ein und derselbe** Arduino parallel zur automtatiserten Schrankensteuerung auch noch

- zur Viertelstunde die Kirchenglocken schlagen lassen
- in der Schweisserwerkstatt mehrere blaue LED im Zufallsrythmus aufblitzen lassen
- Am Kaufhaus die Leuchtreklame als Lauflicht ansteuern.
- wenn es dunkel wird die Straßen- und Hausbeleuchtungen einschalten.

Du hast jetzt die Wahl zwischen bei zwei Arduinos Datenaustausch zu programmieren  
was man letztendlich **auch** mit nicht-blockierendem Programmieren machen muss.

oder einen **einzelnen** Arduino nicht-blockierend zu programmieren.

Hier sind die passenden Tutorials dazu  
Wenn du nicht so gut englisch kannst mit google-translate übersetzen lassen

> [@Example-code for timing based on millis() easier to understand through the use of example-numbers / avoiding delay()](https://forum.arduino.cc/t/example-code-for-timing-based-on-millis-easier-to-understand-through-the-use-of-example-numbers-avoiding-delay/974017/1):
>
> non-blocking timing. Execute code only from time to time. There are a lot of different ways to learn programming. This thread wants to add another approach that is different to the yet existing ones. UPDATE 06.01.2023 if you are mainly interested in applying non-blocking timing you can do a quick read of this short tutorial / demonstration If you are intersted in understanding the details how it works go on reading here. I use an everyday analogon in this post to explain the basic principle …

> [@A Demo-Code explaining the switch-case state-machine and how to do things (almost) in parallel](https://forum.arduino.cc/t/a-demo-code-explaining-the-switch-case-state-machine-and-how-to-do-things-almost-in-parallel/888172/1):
>
> Hi everybody, if you look at the end of this first posting you see a list of links that show where this tutorial was used as a link. Go through this list to find additional information on how to apply this code This democode requires only the pure microcontroller without any hardware. You just open the serial monitor to watch the behaviour of the code. From time to time I enjoy writing demo-codes that want to explain programming-functionalities. There are a lot of different approachs to expl…

vgs

---

_[View the full topic](https://forum.arduino.cc/t/2-arduinos-in-tinkercad-verbinden-ohne-grossen-aufwand/1151522)._
