- Read values from sensor
- Read from SD card with iSDIO
- Send values from arduino to Raspbery Pi
- Visualize on Raspberry Pi
It is the final round!
The data sent from Arduino is received by Raspberry Pi and made visible by Java Script.
Source code is on GitHub.
The below is connection sequence.

Data collection API receives data from arduino.
Received data is written in a log file, and then, Java Script of a display page refers the data.
Web API works on Raspberry Pi
Make Web API with Apache and PHP.Just install some packages.
pi@raspberrypi ~ $ sudo apt-get install apache2 pi@raspberrypi ~ $ sudo apt-get install php pi@raspberrypi ~ $ sudo systemctl start apache2After installation, files under /var/www/html/ can be accepted via HTTP.

