Raspberry Pi 3 Data Logger | Part 1 of 2 | CSV

preview_player
Показать описание
In Part 1 of this video series, I show you how to build a Raspberry Pi 3 Data Logger for CSV. In Part 2, show you how to do the same with a SQL database. If you want to use a different kind of database, such as MS SQL Server or PostgreSQL, etc... this same logic will apply. You can just substitute one database for another in the code and your Raspberry Pi 3 Data Logger will work just the same. As an example, I’m collecting various data metrics from my Raspberry Pi using the psutil library. I can then keep a running log that I can analyze or drop in an application, or whatever.

Рекомендации по теме
Комментарии
Автор

Nice and proper coding, database logging is fantastic, thank you for this contribution.

muratbaykal
Автор

I made a few changes to the code by mentioning the absolute path and everything worked fine. Awesome tutorial and code.

yugendravenkatadurgamruthk
Автор

THANK YOU!!
WINNER of the BEST Tutorial on Youtube.. Great explanation of every event. Thank you for the much needed commentary.
SUBSCRIBED!

pi
Автор

Cool - interested in building a RPi data logger. I'm a bit new to python but I get the gist of your explanation - Thanks Izzy. No comments yet - odd

freeelectron
Автор

WOW, OMG, Sweet!!! And I guess there is a reason that you didn't mention Python in the video title, hmmm? This is the best simple(everything is relative) example of using Py that really motivates me to learn it better, thanks! Building a Pizza ordering menu system just didn't trip my trigger(Inside joke for those that know the book I'm referencing. Good book btw)

bgable
Автор

Fantastic video! Data logging into a LibreOffice Calc spreadsheet would be even better for real0time analysis/graphing.

kychemclass
Автор

Your tutorial was good.. perhaps you can share more on the environment related sensor and how to measure it in details. Your coding was good

syaduinotech
Автор

thank you for making a video on this, I want to record sensor data (serial) on RPI 4 and save it in a csv file but after every 10s but for 3.5 days continuous. the only thing I am afraid of is not have any data corruption or the code to be breaking in the middle. Can you please shed some light on this how an efficient approach could be used here. thanks a lot

NawtieBoy
Автор

can you make a video to store captured image to an external memory card connect to rpi via SPI

sreeragmt
Автор

it is showing file not found error please help

sreeragmt
Автор

I'm not able to get psutil to work when i try to run the same code as in the video. It says it's not there

jeremymurray