10_Lucas
Posts: 1
Joined: Wed Apr 17, 2019 12:59 pm

saving sensor data from arduino to rpi

Wed Apr 17, 2019 1:10 pm

hello
This is my first project with a rpi.
i am making an automatic greenhouse with an arduino mega and rpi. The arduino will read the sensor data and send it to the rpi. I will save this data and show it in different graphs. But i don't know how to save it on a database.
Can someone help me?
Any feedback would be greatly appreciated..

Andyroo
Posts: 2450
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: saving sensor data from arduino to rpi

Wed Apr 17, 2019 5:30 pm

Welcome to the forum.

Have a look at the Node-Red package for displaying data in graphs and dashboards.

For storing things in a database you could use MySQL but an easy to use database is SQLite detailed https://www.pythoncentral.io/introducti ... in-python/
Need Pi spray - these things are breeding in my house...

Return to “Automation, sensing and robotics”