Raspberry To Database

A recent experiment – the goal was to connect a physical device (in this case, the Raspberry Pi Pico W) to the internet and send data to a database. Everything is coded from scratch, to allow for most flexilibility.

The Raspberry Pi connects to the local Wifi (could therefore also be run with a battery) and collects data. After a certain amount of time it calls a URL to send the data. On this website a Server running Express and Node awaits – it then stores the data to a database.

What you can see below is a data file that shows several entries made by the Raspberry:

This could have several uses, but the main function I see is collecting data in the physical space to storing it securily on the cloud.