Oil drilling with Raspberry Pi
By Russell Barnes. Posted
Petrolog Automation has created a smart oil drilling with Raspberry Pi monitor. It increases the revenue from each well by a reported $7,000 (roughly £5,300).
The smart monitor is based around a Raspberry Pi and a custom-made cellular modem.

The need for a smart meter arises at so-called ‘marginal wells’ (also, we are told, referred to as ‘stripper wells’). As Carlos Labrado, software developer at Petrolog, clarifies: “these wells are low‑production wells that are often thought of as not worthy of a POC [Pump Off Condition] controller.”
As the fluid level in these marginal wells fluctuates, an engineer must visit each well every day to ascertain the fluid level and set the pump accordingly. Some of these wells are over four hours’ drive away.
Carlos explains the benefit of Petrolog’s POC controller: “[It] saves money by not having the well turned on when there is not enough fluid, and not having people going to the well every day. Also, our controller is smart, so it finds the best times to be pumping and thus increases production.”
Carlos tells us that Petrolog chose the Raspberry Pi for version one due to its size, low cost, and features. “Now we keep using it because of the great support community… like resinOS.”
Oil drilling with Raspberry Pi

The Pi embedded in the Petrolog POC controller runs resinOS, a dedicated Internet of Things (IoT) operating system from resin.io. Alison Davis, director of product marketing and strategy, explains, “Because resin.io uses Docker containers to deploy updates, the Petrolog team can change the application running on their oil well monitors as often as they like, without fear of bricking devices.”
“Anybody can get started with resin.io,” Alison tells us, “whether you’re a hobbyist with a few devices at home, or a professional with a fleet of thousands.” She confirms that the free resin.io account accommodates up to five devices.
Russell runs Raspberry Pi Press, which includes The MagPi, Hello World, HackSpace magazine, and book projects. He’s a massive sci-fi bore.
Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles
Make your RAM go further – Raspberry Pi OS memory optimisation tips
In issue 164 of Raspberry Pi Official Magazine we have been playing around with the new Raspberry Pi 5 1GB RAM. While the RAM shortage caused by the demands of AI infrastructure is annoying beyond belief, this has been a great chance for us to really get to grips with RAM. Generating images in Stable […]
Read more →
Mighty Projects – 1GB Computer in Raspberry Pi Official Magazine 164
It’s normal for computers to get faster and more pwerful, but the new-ish Raspberry Pi 5 1GB is a step in the other direction: it has all the processing power and the same GPIO pins of its more costly siblings, but with only 1GB of RAM it’s at a price that’s friendlier on the wallet […]
Read more →
Win one of five 256GB Raspberry Pi Flash Drives
If you’ve been around long enough, you know that every Raspberry Pi accessory is top quality, and the latest Flash Drive is no different. Fancy a big one? We have five up for grabs, and you can enter below… Win 1 of 5 256GB Raspberry Pi Flash Drives
Read more →