October 15th, 2024

Mothbox 4.0

Mothbox is an open-source insect monitoring device for studying biodiversity, utilizing moths as environmental indicators. It automates insect attraction and identification with UV light and AI, encouraging user engagement.

Read original articleLink Icon
Mothbox 4.0

Mothbox is a low-cost, high-performance insect monitoring device designed for field biologists to study biodiversity, particularly in remote areas. It features a lightweight and power-efficient design, allowing users to build their own units using provided open-source resources, including physical designs, electronics schematics, and AI for insect identification. The device utilizes moths, which are highly diverse and localized, as indicators of environmental health. Moths are particularly effective for this purpose due to their short lifespans and specific plant associations, making them sensitive to changes in their habitats. The Mothbox operates by activating a UV light to attract nocturnal insects, capturing high-resolution images of the visitors, and employing AI to identify and categorize the insects. This automated approach streamlines the process of monitoring insect populations, which has traditionally required extensive manual effort. Additionally, the Mothbox team is developing a portable, low-cost light source called Mothbeam to enhance moth monitoring capabilities. The documentation for building and programming the Mothbox is freely available, encouraging users to engage in biodiversity studies.

- Mothbox is an open-source insect monitoring device aimed at studying biodiversity.

- It uses moths as indicators of environmental health due to their diversity and localized behavior.

- The device automates the process of attracting and identifying insects using UV light and AI.

- Users can build their own Mothbox with provided documentation and resources.

- The Mothbox team is also developing a portable light source called Mothbeam for enhanced monitoring.

Link Icon 4 comments
By @hikinghack - about 12 hours
Hi! I'm andy! I'm the guy who spent the past year making the Mothbox! I don't know how this got on ycombinator, but cool! We are working here together Let me know if you have any questions!

Some quick basics: It's an entirely open source system made from off-the-shelf parts made so you can build one yourself! We built it to help a set of community reforestation initiatives here in Panama! (

Existing automated insect monitors we checked out wouldn't work for us because: 1) They were REALLY BIG (like huge heavy suitcase size+) 2) They were really EXPENSIVE (like 7000-15000$ !) 3) There wasn't any info to build robust ones that could withstand months in the rainforest!

So we build one ourselves! We started with absolutely no budget, and the costs that people have noticed ($375) are really the cheapest you can find these parts (Pi5 + big battery + 64MP camera + really bright lights), and for instance are on par with the $200 just for the 16mp logitech webcam employed in many existing insect monitors!

We got about 20 of these out in the wild here in Panama already, and are literally building more in the jungle as I'm typing this!

By @smallerfish - about 19 hours
BioClip (referenced in their writeup) is good to know about.

I run a small scale wildlife monitoring program with usually 3 cameras (depending on how many are being repaired for battery terminal corrosion). Each month I skim through and categorize ~200 videos that we've captured. Doesn't take too long, but it would be nice to automate at some point.

By @nerdponx - about 21 hours
Are there any "citizen science" initiatives where I can buy a device like this and upload my insect counts to some database that's useful for researchers?

I have been interested in setting up some things like home weather monitoring, ADS-B, streaming webcams for wildlife, etc. anyway so this would be a fun item to add to that.

By @morninglight - about 21 hours
This could be a great teaching tool, BUT at about $375 per Mothbox, it's going to be a hard sell for most schools.