Open-source News

5 Raspberry Pi projects to do with this open source data tool

opensource.com - Fri, 04/14/2023 - 15:00
5 Raspberry Pi projects to do with this open source data tool Anais Fri, 04/14/2023 - 03:00

Tiny computers are practically out-sized by their own potential. There's seemingly nothing they can't do, regardless of your industry or interest. For instance, did you know you could use a Raspberry Pi or Arduino to help you keep plants alive or to assist you in making tasty beer and barbecue?

Over the years, my team at the open source data platform InfluxDB has realized that professional and novice developers can combine a Pi or Arduino with InfluxDB for some unique do-it-yourself projects.

This article explores five exciting things you can do with a Raspberry Pi or Arduino and InfluxDB, whether you're a seasoned developer or a beginner. Hopefully, these ideas inspire you (and maybe offer some laughs) ahead of your next tiny computer and InfluxDB project.

1. Weather and environment monitoring

The developer relations (DevRel) team at InfluxData created the Plant Buddy application, which monitors the temperature, humidity, soil moisture, and light for to help users' plants stay alive and thrive. This project showcases using InfluxDB as a storage backend for a Python Flask server, retrieve IoT data, and use Python Dash to visualize the data. My team used an Arduino control board for the project, but treating a Raspberry Pi as a microcontroller is also simple. You could even extend the project to create a tool that monitors any other aspect of weather and the environment.

2. BBQ monitoring

Several of my colleagues at InfluxData are grilling and smoking hobbyists. But even the most basic BBQ enthusiast knows that the key to a great rack of ribs or brisket is cooking at a low and steady temperature. A handful of our developers used Arduino to monitor their BBQ pits. One utilized the monitoring and alerting API built into InfluxDB and assigned statuses based on calculating the difference in temperature between five-minute averages. Anything below 0.02 degrees every five minutes signaled that the meat was stalling. This change produced a "warn" status, triggering an alert notification sent directly to the developer's phone. He could then wrap the meat and contain the heat, ultimately resulting in deliciously cooked meat. Once again, you could use the Arduino, Seeduino, or Raspberry Pi to monitor your BBQ pit and make you a true smoke master.

3. Aquarium monitoring

Another Influxer set up a new tropical fish tank and monitored the temperature and filter for alerts against any irregularities. He used a temperature and a flowmeter to gather time series data and write it to InfluxDB. The whole project used InfluxDB, Telegraf, Grafana, and a Raspberry Pi to automate and visualize the metrics collected from the aquarium.

4. Raspberry Pi monitoring

Templates are prepackaged InfluxDB configurations. The Raspberry Pi template enables you to monitor your Raspberry Pi Linux system to collect metrics, including:

  • Diskio input plugin
  • Mem input plugin
  • Net input plugin
  • Processes input plugin
  • Swap input plugin
  • System input plugin

These metrics quickly and easily assure users that their Raspberry Pi device is operating as expected.

5. Home brewing monitoring

Another Influxer used Raspberry Pi to monitor the fermentation process of his home-brewed beer to ensure the highest quality.

Image by:

(Anais Dotis-Georgiou, CC BY-SA 4.0)

More on Raspberry Pi What is Raspberry Pi? eBook: Guide to Raspberry Pi Getting started with Raspberry Pi cheat sheet eBook: Running Kubernetes on your Raspberry Pi Whitepaper: Data-intensive intelligent applications in a hybrid cloud blueprint Understanding edge computing Our latest on Raspberry Pi

He used a digital thermometer to read the temperature of his beer with a webcam, then deployed optical character recognition (OCR) to read the values. Next, he used Raspberry Pi with the open source collection agent Telegraf to send the data to InfluxDB. He also configured alerts that informed him when he needed to tend to the fermentation process and adjust the temperature of his beer-in-the-making. On a related note, I also used Telegraf to make forecasts about those temperature recordings.

Pi made more versatile with InfluxDB

Users can create exciting projects with an Arduino or Raspberry Pi and InfluxDB for use across various industries such as IoT, home automation, and data science.

These examples showcase the creativity developers display when given the right tools and an "open sandbox" to play in. With so many possibilities, the only thing limiting the fun open source tools you can create with time series data and Raspberry Pi is your own imagination.

Grow plants while having a barbecue with your homebrew beer. Do it all thanks to open hardware and InfluxDB.

Image by:

Opensource.com

Raspberry Pi Hardware Databases What to read next Brewing beer with Linux, Python, and Raspberry Pi How I monitor my greenhouse with CircuitPython and open source tools This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

Managing the time dimension of your inventory

Red Hat News - Fri, 04/14/2023 - 08:00
<p>Product timeliness refers to goods and products being in the right place at the right time, not out-of-date, and in line with customer expectations.&nbsp;</p> <p>Perishable food items are perhaps the canonical example of products that have a limited shelf life. Even if they’re not labeled with a specific “sell by” or “use by” date, that wilted head of lettuce is not going to be a popular consumer choice. Furthermore, if you stock your produce department with fruits and vegetables that are routinely past their prime, many consume

AMD Details openSIL For Advancing Open-Source System Firmware

Phoronix - Fri, 04/14/2023 - 07:00
Open-source fans, rejoice, the most exciting thing I have read all week or perhaps the month: "AMD is committed to open-source software and is now expanding into the various firmware domains with the re-architecture of its x86 AGESA FW stack - designed with UEFI as the host firmware that prevented scaling, to other host firmware solutions such as coreboot, oreboot, FortiBIOS, Project Mu and others. A newer, open architecture that potentially allows for reduced attack surface, and perceivably infinite scalability is now available as a Proof-of-Concept, within the open-source community for evaluation, called the AMD openSIL – Open-Source Silicon Initialization Library."..

Intel Sierra Forest EDAC Support Coming With Linux 6.4

Phoronix - Fri, 04/14/2023 - 02:55
As part of Intel's ongoing Linux support preparations for next year's Sierra Forest processors that will feature up to 144 Xeon E cores per socket, the Error Detection And Correction (EDAC) driver support is set to be added for the upcoming Linux 6.4 kernel cycle...

Libreboot 20230413 Released With Build System Improvements

Phoronix - Fri, 04/14/2023 - 02:30
Libreboot is the downstream of Coreboot focused on having fully open-source / free software replacements to proprietary BIOS/firmware on x86 and ARM systems. Out today is Libreboot 20230413 as the latest step forward for the project...

Mesa 23.1 Branched With Many New Radeon, Intel & Zink Graphics Driver Features

Phoronix - Fri, 04/14/2023 - 00:51
The Mesa 23.1 graphics driver code is now branched that marks an end to this quarter's feature development. Mesa 23.2-devel is now open on Git main in beginning work towards the Q3'2023 open-source user-space graphics driver stack feature release...

Pages