Connect Arduino to the Internet without a screen

I am doing several projects with Arduino at the moment, and I was wondering if it is possible to make HTTP requests without the Internet shield .

The idea was to make a program that executes HTTP requests and send a response to Arduino through the serial port.

I did a search on the Internet but could not find a way to send a response to the Arduino board.

+4
source share
2 answers

Yes, I did it. I had a remote temperature recorder built using Arduino. Then I used a USB cable to connect the Arduino to the laptop. The laptop had a WiFi connection to my network, and it could go online if it wanted, but I just connected to my desktop.

I did not do anything special on the Arduino other than writing / reading from the serial port. I had a tiny Python program on a laptop that acts as a gateway to the network (reading from Serial, write to a port and vice versa) and another tiny Python program on my desktop to read from a port and write to disk.

+3
source

You can also use pyfirmata on the python web server, for example, a linux flash drive to control your arduino through the web interface. Your arduino will contact your web server via firmata protocol p>

0
source

Source: https://habr.com/ru/post/1382897/


All Articles