A
A
Anton Ulanov2018-05-14 12:33:32
Arduino
Anton Ulanov, 2018-05-14 12:33:32

How to organize receiving and sending data in Arduino?

Hello everyone. I decided to play around with the arduino and relays.
What is: 1) Rasberry Pi3
+debian-server+nodejs
2) Vanilla Uno (clone of arduino) + esp8266MOD (Ampere Troyka-module AMP-B081)
3) a pair of relay shields at the moment: manage the relays connected to the arduino and set up a network between the ardino locale, but I can’t figure out how to send a command to the arduino so that it turns on or off the relay via the local network

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kn0ckn0ck, 2018-05-15
@antonsr98

There are two ways:

  1. Give up arduino and learn how to flash ESP8266, it has a lot of pins for controlling including relays. In particular, there are a lot of firmware on the Internet with examples of organizing a web server, implementing MQTT, etc. This will be the ESP8266 pin remote control mechanism.
  2. Leave it as it is now and study the ESP8266 AT command manual to implement a simplified analog of a web server on the Arduino itself. There are plenty of examples on the internet on how to do this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question