Mothbox Watches Bugs, So You — Or Your Grad Students — Don’t Have To

To the extent that one has strong feelings about insects, they tend toward the extremes of a spectrum that runs from a complete fascination with their diversity and the specializations they’ve evolved to exploit unique and ultra-narrow ecological niches, and “Eww, ick! Kill it!” It’s pretty clear that [Dr. Andy Quitmeyer] and his team tend toward the former, and while they love their bugs, spending all night watching them is a tough enough gig that they came up with Mothbox, the automated insect monitor.

Insect censuses are valuable tools for assessing the state of an ecosystem, especially insects’ vast numbers, short lifespan, and proximity to the base of the food chain. Mothbox is designed to be deployed in insect-rich environments and automatically recognize and tally the moths it sees. It uses an Arducam and Raspberry Pi for image capture, plus an array of UV and visible LEDs, all in a weatherproof enclosure. The moths are attracted to the light and fly between the camera and a plain white background, where an image is captured. YOLO v8 locates all the moths in the image, crops them out, and sends them to BioCLIP, a vision model for organismal biology that appears similar to something we’ve seen before. The model automatically sorts the moths by taxonomic features and keeps a running tally of which species it sees.

Mothbox is open source and the site has a ton of build information if you’re keen to start bug hunting, plus plenty of pictures of actual deployments, which should serve as nightmare fuel to the insectophobes out there.

Hackaday Links Column Banner

Hackaday Links: September 15, 2024

A quick look around at any coffee shop, city sidewalk, or sadly, even at a traffic light will tell you that people are on their phones a lot. But exactly how much is that? For Americans in 2023, it was a mind-boggling 100 trillion megabytes, according to the wireless industry lobbying association CTIA. The group doesn’t discuss their methodology in the press release, so it’s a little hard to make judgments on that number’s veracity, or the other numbers they bandy about, such as the 80% increase in data usage since 2021, or the fact that 40% of data is now going over 5G connections. Some of the numbers are more than a little questionable, too, such as the claim that 330 million Americans (out of a current estimate of 345.8 million people) are covered by one or more 5G networks. Even if you figure that most 5G installations are in densely populated urban areas, 95% coverage seems implausible given that in 2020, 57.5 million people lived in rural areas of the USA. Regardless of the details, it remains that our networks are positively humming with data, and keeping things running is no mean feat.

Continue reading “Hackaday Links: September 15, 2024”

Keeping Badgers At Bay With Tensorflow

Human-animal conflict is always a contentious issue, and finding ways to prevent damage without causing harm to the animals often requires creative solutions. [James Milward] needed a humane method to stop badgers and foxes from uprooting his garden, leading him to create the Furbinator 3000, a system that combines computer vision with audio deterrents..

[James] initially tried using scent repellents (which were ignored) and blocking access to his garden (resulting in more digging), but found some success with commercial ultrasonic audio repellent devices. However, these had to be manually turned off during the day to avoid annoying activation of the PIR motion sensors by [James] and his family, and the integrated solar panels couldn’t keep up with the load.

This presented a good opportunity to try his hand at practical machine vision. He already had a substantial number of sample images from the Ring cameras in his garden, which he turned into a functional TensorFlow Lite model with about 2.5 hours of training. He linked it with event-activated RTSP streams from his Ring cameras using the ring-mqtt library. To minimize false positives on stationary objects, he incorporated a motion filter into the processing pipeline. When it identifies a fox or badger with reasonable accuracy, it generates an MQTT event.

[James] modified the ultrasonic devices so they would react to these events using an ESP8266-based WeMos D1 Mini Pro development board and added an external 5 V power supply for sustained operation. All development was performed in a Docker container which simplified deployment on a Raspberry Pi 4.

After implementing the system, [James] woke up to the satisfying sight of his garden remaining untouched overnight, a victory that even earned him some coverage by the BBC.

Thanks for the tip [Laurent]!

An image of two dogs and a bison wearing harnesses with the energy harvesting system. Text next to the animals says Dog 1 (Exp. 1), Dog 2 (Exp. 2), Dog 2 (Exp. 3), and Wisent (Exp. 4)

Kinefox Tracks Wildlife For A Lifetime

Radio trackers have become an important part of studying the movements of wildlife, but keeping one running for the life of an animal has been challenging. Researchers have now developed a way to let wildlife recharge trackers via their movements.

With trackers limited to less than 5% of an animal’s total mass to prevent limitations to the their movement, it can be especially difficult to fit trackers with an appropriately-sized battery pack to last a lifetime. Some trackers have been fitted with solar cells, but besides issues with robustness, many animals are nocturnal or live in dimly-lit spaces making this solution less than ideal. Previous experiments with kinetically-charged trackers were quite bulky.

The Kinefox wildlife tracking system uses an 18 g, Kinetron MSG32 kinetic energy harvesting mechanism to power the GPS and accelerometer. Similar to the mechanical systems found in automatic winding watches, this energy harvester uses a pendulum glued to a ferromagnetic ring which generates power as it moves around a copper coil. Power is stored in a Li-ion capacitor rated for 20,000 charge/discharge cycles to ensure better longevity than would be afforded by a Li-ion battery. Data is transmitted via Sigfox to a cloud-based database for easy access.

If you want to build one to track your own pets, the files and BOM are available on GitHub. We’ve featured other animal trackers before for cats and dogs which are probably also applicable to bison.

Saving Birds With 3D Printed Boats

Montana, rightfully nicknamed the big sky country, is a beautiful state with abundant wide open landscapes, mountains, and wildlife. It’s a fantastic place to visit or live, but if you happen to reside in the city of Butte, that amazing Montana landscape is marred by the remnants of an enormous open pit mine. Not only is it an eyesore, but the water that has filled the pit is deadly to any bird that lands there. As a result, a group of people have taken to some ingenious methods to deter birds from landing in the man-made toxic lake for too long.

When they first started, the only tool they had available was a rifle. Scaring birds this way is not the most effective way for all species, though, so lately they have been turning to other tools. One of which is a custom boat built on a foam bodyboard which uses a plethora of 3D printed parts and sensors to allow the operator to remotely pilot the boat on the toxic lake. The team also has a drone to scare birds away, plus an array of other tools like high-powered lasers, propane cannons, and various scopes in order to put together the most effective response to help save wildlife.

While this strategy runs the gamut of the tools most commonly featured here, from 3D printers to drones to lasers, the only thing that’s missing is some automation like we have seen with other drone boat builds we’ve featured in the past. It takes quite a bit of time to continually scare birds off this lake, even through the winter, so every bit of help the team can get could go even further.

Continue reading “Saving Birds With 3D Printed Boats”

Identifying Creatures That Go Chirp In The Night

It’s common knowledge that bats navigate and search for their prey using echolocation, but did you know that the ultrasonic chips made by different species of bats are distinct enough that they can be used for identification? [Tegwyn☠Twmffat] did, which is why he came up with this impressive device capable of cataloging the different bats flying around at night.

Now this might seem like an odd gadget to have, but if you’re in the business of wildlife conservation, it’s not hard to imagine how this sort of capability might be useful. This device could be used to easily estimate the size and diversity of bat populations in a particular area. [Tegwyn☠Twmffat] also mentions that, at least in theory, the core concept should work with other types of noisy critters like rodents or dolphins.

Powered by the NVIDIA Jetson Nano, the unit listens with a high-end ultrasonic microphone for the telltale chirps of bats. These are then processed by the software and compared to a database of samples that [Tegwyn☠Twmffat] personally collected in local nature reserves. In the video after the break, you can also see how he uses a set of house keys jingling as a control to make sure the system is running properly.

As winner of the Train All the Things contest back in April, we’re eager to see how the Intelligent Wildlife Species Detector will fare as the competition heats up in the 2020 Hackaday Prize.

Continue reading “Identifying Creatures That Go Chirp In The Night”

Approaching The Drop Location: Seeds Away!

Arbor Day is a holiday many countries dedicate to planting trees, but with the steady encroachment of climate change, we need to maximize our time. Dronecoria doesn’t just plant a tree; it sows “hectares in minutes.” A hectare is 10,000 square meters or 2.471 acres. These aren’t the drones you’re looking for if you intend a weekend of gardening, this is in the scope of repopulating a forest with trees or reinvigorating a park with wildflowers. The seed balls in the hopper are 10kg of native seeds coupled with beneficial microorganisms to help the chances of each drop.

The drone’s body is laser cut from what looks like baltic birch plywood. The vector files are available in Illustrator (.ai) and CAD (.dxf) formats released under Creative Commons BY-SA, so give credit if you redistribute or remix it. In the 3D realm, you’ll need a SeedShutter and SeedDisperser, and both models are available in STL format.

We have other non-traditional seed spreading methods like canons, but it is a big job, and if you’ve build something to pitch in, drop us a tip!