Unfortunately we are currently out of funding, and even our amazing Fulbright Student @briannaljohns is looking like her funding will be cutoff as the US crumbles :(
However that's not keeping us from planning what we are going to do as soon as we manage to find some funds!
Our big next step is to create an integrated PCB that has most of the parts of the Mothbox pre-assembled for you which can be created in factories around the world. This will reduce costs and build time and hopefully get even more mothboxes into the wild as soon as possible! We have even talked to seeedstudio in shenzhen who will host us to help prototype the mothbox PCB at their factory, and potentially help make it available through their online shop (and we will share it with several vendors in the Open Science Shop (.org) )
We just need to get some money to work on this design, get over there, and pay for some initial prototyping!
Right now I am on my way to present the Mothbox at an invited talk at the McGuire Center for Lepidoptera and Biodiversity, and as I travel, I compiled a list of the next set of features we are targeting to include! So you can see what's neat new features are coming to the Mothbox as we continue building in public.
They are all on our heavily documented github
Upcoming Design | Mothbox
Open Source Low Cost DIY Nocturnal Insect Monitoring
and for ease-of-reading I also copied our current ideas here too!
(HARDWARE) Next Design Iteration: Manufacturability
What’s next for the Mothbox? A manufacturable one! We are already putting designs and applying to grants to fund the next iteration of its design.
We already have a field tested DIY device optimized for you making it yourself with off-the-shelf parts, so now we are working on making a new open-source PCB that can be mass manufactured to help get it to people even easier.
In the future you should be able to build a whole mothbox by just purchasing
- Raspberry Pi5
- Arducam 64mp Camera
- Battery
- Waterproof box
- Mothbox PCB You then just connect these 5 parts together and you are ready to go!
Key features of the new design we are working on include:
Physical programming with on-board switches
- While you still will be able to configure your mothbox via software, we are also planning to incorporate small, robust series of switches. We will have sets of these you can use to do things like
- manually program start and stop times for the Mothbox’s schedule
- set power usage for attractor LEDs (To balance attractance vs. battery life)
- arm / disarm the mothbox from starting up
- While you still will be able to configure your mothbox via software, we are also planning to incorporate small, robust series of switches. We will have sets of these you can use to do things like
- Range of power inputs (9v-24v)
- We typically target 12v batteries because that’s what is most densley available, a common voltage for many LED peripherals, and what field biologists are used to using (e.g. car or motorcycle batteries)
- New batteries and solar charging systems are coming out that have higher voltages like 24v
- Accepting lower voltages (like 9v) can counter for things like lithium ion “12v” batteries that are actually more like 9-11v batteries
- Selectable attractor LEDs
- Right now if you use an integrated Mothbeam, you can decide if you want UV lights, visible lights, or both to attract different insects (but you have to physically wire them)
- We aim to be able to toggle these lights via switches and software at a higher granlarity (UV, Blue, Green, White) to run experiments
- Integrated Photography LEDs
- currently we use the ubiquitous 144 LED microscope LED rings for getting smooth even illumination of the mothbox target. These can leave the edges a tad bit darker and the center a bit hotter
- The pending PCB will have photographic “flash” LEDs spread evenly across the surface to ensure smooth, even illumination.
- Integrated power monitoring
- Mothbox v4 can optionally use an Adafruit power monitor to study the power usage of the mothbox and perform actions like turn off if the power drops below a certain amount
- Mothbox v5 can integrate this power monitoring directly in the PCB
- Dual-battery capability
- v4 mothboxes all include an internal battery, and additional batteries or power sources can easily be added to the port on the bottom
- however, with the space savings of integrating most components on the single PCB, we should have enough space for TWO batteries inside the same mothbox form factor! This will double the time the mothbox can be left in the field.
- Increased Energy Efficiency (Transistors / mosfets instead of relays)
- Mothboxes currently use relays to turn the different attractor and photography lights on and off. Relays are great because they are super flexible in terms of their control for any kind of electronic connector. However, they consume a fair amount of energy when their internal electromagnet is engaged (and solid state relays do not work reliably on DC current).
- Since the lights will be integrated in the future Mothbox PCB, they can be controlled in a much more energy efficient manner.
- In cases where someone might still want to use Relays to control things like AC powered external lights, you can still add relays by simply attaching the same relay hat currently in use by the mothbox
- Status Indication and Feedback
- A challenge many researchers have is knowing what’s going on inside the mothbox
- v5 will have status indicator LEDs to let you know everything about what’s currently happening with your mothbox such as
- Armed/Disarmed state
- “Is scheduled to run today/within the next 2 hours” indicator
- Copying files
- taking photos
- idle
- sleep / dormant
- error
- GPS integration
- GPS coordinates are usually taken via a phone or standalone device when deployed in the field. This works fine, but integrating a GPS directly into the mothbox has some advantages
- (The big advantage) Automatic time syncronization
- Mothbox could be integrated on mobile or floating platform
- This is not one of our press priorities since the GPS can already be added by purchasing a simple GPS hat for about $30
- GPS coordinates are usually taken via a phone or standalone device when deployed in the field. This works fine, but integrating a GPS directly into the mothbox has some advantages
- Power efficiency in “Off” state
- v4 mothboxes use the integrated RTC in the Pi5 and other software and firmware measures to reduce power consumption as much as possible (about 0.01 watts when idle during the day)
- We can possibly integrate an inexpensive microcontroller into the PCB to let the Pi turn fully “off” and consume even less energy when off. This is not one of our most pressing priorities as the amount of power consumed in the idle state is already quite low, and will only give big advantages to mothboxes that need to sit idle for weeks (or months) in the field which is currently quite rare.
(SOFTWARE) Next Design Iteration: Usability
We have also been working on applying to funds to create a UI for our post-processing software! Right now we have an (amazing suite of software scripts)[https://github.com/Digital-Naturalism-Laboratories/Mothbox/tree/main/AI] that detect your insects, ID your insects, let you add/correct identifications, and output DarwinCORE compatible files for research. Importantly ALL this software can process your data entirely locally, meaning you don’t need an internet connection, access to fancy cloud storage, or supercomputers.
However, you generally need to know some absolute basics of running scrips with python. To help make this software more acccessible, we are looking for funding to develop software similar to Birdnet Analyzer. It will have a features like
- easy to install laptop software
- simple UI that helps you
- organize data
- connect metadata
- detect insects
- generate thumbnails
- auto-ID insects
- let you correct and organize identifications
- formats data in DarwinCORE standards
- connects Moon position and fullness data
- connects weather information (where available)
7 March 2025 10:02pm
Hey Andrew, sad to hear funding has run out, but some very interesting developments!
It may be worth a conversation, I could definitely help on some of the above points from an electronics standpoint!
8 March 2025 9:32am
Really nice to see all that creative energy at work! Keep it up 👍🏻❤️
Adrien Pajot
WILDLABS
Fauna & Flora
10 March 2025 3:45pm
@hikinghack that's a complete update!
A lot of compassion regarding the budget situation, especially knowing how great @briannaljohns is.
It’s great to see a clear plan for the hardware development! I hope you'll have nice outcomes from it!
Ryan Smith