Oil drilling with Raspberry Pi
By Russell Barnes. Posted
Advertisement
Get started with Raspberry Pi – everything you need to know to start your journey!
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
Get started with Raspberry Pi in Raspberry Pi Official Magazine 161
There’s loads going on in this issue: first of all, how about using a capacitive touch board and Raspberry Pi 5 to turn a quilt into an input device? Nicola King shows you how. If you’re more into sawing and drilling than needlework, Jo Hinchliffe has built an underwater rover out of plastic piping and […]
Read more →
Win one of three DreamHAT+ radars!
That’s right, an actual working radar for your Raspberry Pi. We reviewed it a few months ago and have since been amazed at some of the projects that have used it, like last month’s motion sensor from the movie Aliens. Sound good? Well we have a few to give away, and you can enter below. […]
Read more →
RP2350 Pico W5 review
It’s Raspberry Pi Pico 2, but with a lot more memory
Read more →