Send data obtained by Arduino to raspberrypi via serial communication and
Launch the server on the PC with Apache, send data from raspberrypi to the PC, and
Finally, save it as a csv file.
I'm going to save the data of the two sensors, but the contents of the csv file are
Data 1, line feed, data 2, line feed, data 1, ...
It is saved in the order shown in .
I think raspberrypi sends data at the same time, but it doesn't work
raspberrypi code (python)
I don't know the cause at all
If you are familiar with Python or php, please let me know
I sent it twice on
requests.post, so it's a separate row of data.
I have never written python, but I think I should send the POST data at once as follows.
© 2022 OneMinuteCode. All rights reserved.