Remote agricultural monitoring
By Rob Zwetsloot. Posted

Tephritid fruit flies can be a huge pest when it comes to agriculture, destroying various crops wherever they go. To try and stay ahead of any swarms, the Japanese Ministry of Agriculture, Forestry and Fisheries (MAFF) is using Raspberry Pi-powered monitoring stations.
Advertisement
The desktop computer you've been waiting for: Raspberry Pi 500+
The system was designed and programmed by Shinobu Sukenari, a MAFF senior inspector, using the following requirements: they should take a photo of the trap at least once a day and report them over the internet. Secondly, the systems should run for a month without external power. Finally, the system should be protected from the sun, wind, and rain.
Fly trapped
“We use a [trap] to capture and kill the target,” Soichi Nagasato, CEO of Mechatrax who helped develop the monitoring station, tells us. “Then we photograph the inside of the trap. The camera uses a Raspberry Pi Camera Module V2 and is connected to a Raspberry Pi 3. Other components include a power management board for intermittent operation, an LTE [4G wireless network] board, and dry batteries. The complete set of equipment is housed in a waterproof box and attached to the pest trap. The inside of the trap is photographed through a window in the waterproof box and the images are emailed to the administrator via [the internet].”

The batteries are nothing special – just eight AAs, enough to power a Sega Game Gear – and even the special case is made from an off-the-shelf, waterproof carrying case: “We use the Pelican 1060 Micro Case,” Soichi explains. “It is a transparent case that allows photography from the inside and has no openings. As a result, Pelican’s high water and weather resistance can be used as is.”
Analysis on the fly
As you may be aware, flies are pretty small. This could make it tricky for the system; however, the results were adequate.

“Although fruit flies are roughly 1 cm in size, we were able to obtain enough clear images by email to distinguish between native and target species,” Shinobu says. “This may reduce the time and effort required for field patrols and improve the frequency of checks in areas/seasons with a high risk of infestation.”
How to drive off the unwanted flies is not part of the system. It’s still a prototype, albeit one that is undergoing positive trials. However, as they are able to identify when and where they’re present more quickly and efficiently than with patrols, these methods can be more effective.

Rob is amazing. He’s also the Features Editor of Raspberry Pi Official Magazine, a hobbyist maker, cosplayer, comic book writer, and extremely modest.
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

Raspberry Pi 500+ in Raspberry Pi Official Magazine issue 158
We’re quite taken with Raspberry Pi 500+. But when you don’t need all that processing power, and just want a board that will make a plastic skeleton jump around in a terrifying manner, you’ll find Raspberry Pi Pico more than up to the job. There’s more terror in the magazine (which is only right as […]
Read more →

Win one of five Raspberry Pi SSD 1TB
Raspberry Pi prides itself on high quality hardware, and this 1TB Raspberry Pi SSD is no different. You can use it with a standard Raspberry Pi or even in your desktop PC – the choice is yours. We have five to give away and you can enter below Win 1 of 5 Raspberry Pi SSD […]
Read more →

Dual-screen cyberdeck
Twin screens mean you can code on one screen while watching David Bowie’s 1978 Musikladen show on the other.
Read more →
Sign up to the newsletter
Get every issue delivered directly to your inbox and keep up to date with the latest news, offers, events, and more.