
We remind you that in order to be able to use your Raspberry Pi without screen or keyboard, the VNC remote connection must be configured. In this tutorial we will focus on the USB connection. It is also possible to create serial communication by using the Rx/Tx pins of both components. So we need a USBA Male to USB B Male cable. In our case, we use a Raspberry Pi 3B+ and an Arduino UNO. To establish serial communication between Raspberry Pi and Arduino, simply connect them with a suitable USB cable. Prerequisite: Serial communication with Arduino, Remote access to Raspberry Pi with VNC Hardware In this article we use the Arduino UNO card but it can be adapted to other types of cards with a serial connection (Nano, Mega, Feather, EPS32, ESP8266, etc.). We will see in this tutorial how to set up a serial communication between Raspberry Pi and Arduino via the USB port.

The first example that comes to mind is the use of this system for home automation in which the Raspberry Pi will host the control interface and intelligence and the Arduino will act as a programmable automaton acting on the components at the end of the chain (light, radiator, fan, sensors, etc.). This makes it possible to couple the computing power and wireless interfaces of the Raspberry Pi with the inputs/outputs and the Arduino collection of modules.

In some projects it may be interesting to establish a serial communication between Raspberry Pi and Arduino.
