P
P
Pavel2019-09-12 16:36:40
Arduino
Pavel, 2019-09-12 16:36:40

How to transfer signals between arduino?

there is a task to simply give a signal to another arduino so that the subsequent code is executed on it, how is this the easiest way to do it?
Due to the numerous hello world lessons from LEDs, it is very difficult to find a solution (

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
vanyamba-electronics, 2019-09-12
@vanyamba-electronics

Try connecting an LED and a button.
For example so.
Blue pull-up - no signal digitalRead(A0) will return HIGH, green pull-up will return LOW.

V
Vladimir Kuts, 2019-09-12
@fox_12

Connect two arduins with digital pins (you can use an optocoupler for galvanic isolation). One for the output, the second for the input, and on one set a high level when the condition is met - and on the second, catch a high-level event at the corresponding input, and execute the corresponding code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question