Picklogger device in use.

Agri Technovation's Picklogger V2

Summary

If you're not familiar with the Picklogger project, you can read more about it and its origins here. In that project, which we refer to as Picklogger V1.5, we took the original Picklogger and redesigned its hardware and firmware to improve its produceability and manufacturability. In this write-up, I'll focus on the changes made in the Picklogger V2 project. For more details, feel free to read the Picklogger V1.5 write-up (there are also some nice photos and data to look at).
The Picklogger V2 project's focuses were two-fold:
  • Drastically improve form factor (for the US market).
  • Redesign and rethink the cut-detection mechanism.
The resulting product was a PCB that was a third of the size of the original and a new cut-detection mechanism that was able to detect cuts based purely on the accelerations of the scissors' handle during a cut.
The V1 PCB and battery next to the V2 PCB and battery.

The V1 PCB and battery next to the V2 PCB and battery.

My role in this project was to design the hardware and firmware for the new Picklogger. The sheer size of the hardware made the component choices challenging. I was also in close contact with the industrial designers to ensure that the hardware and enclosure were compatible.

Hardware

The PCB was designed on KiCad (a free and open-source PCB design software). On the front side of the PCB we have the following components and features:
Picklogger and an orange.

A render of the front of the Picklogger PCB.

Picklogger and an orange.

An actual Picklogger PCB and battery.

Things are a bit busier on the back side of the PCB. Many hours were spent finding components that were not only small enough and cheap enough but also readily available.
Picklogger and an orange.

A render of the back of the Picklogger PCB.

Picklogger and an orange.

The back view of an actual Picklogger PCB.

Firmware

The basic functionality of the firmware is the same as the Picklogger V1.5. The main difference is the cut detection mechanism. Prof. Gert-Jan van Rooyen (co-founder of Ocotco) specialises in signal processing. He was brought in to develop the cut detection algorithm. We had to work together to ensure that the algorithm was not only accurate but also computationally efficient due to the limited specs of the microcontroller chosen. Gert-Jan was also able to build in 'fake cut' rejection into the algorithm to prevent the workers from trying to falsely bulk up their numbers.
Below is a graph of the raw acceleration data captured during a data acquisition twig cut:
The raw accelerations captured during a twig cut.

The raw accelerations captured during a twig cut.

Enclosure

The enclosure was designed by Retief Krige Industrial Design (RKID). I was responsible for ensuring that the hardware and enclosure were compatible.
As can be seen in the image below the new design has vastly improved ergonomics:
The V2 enclosure next to the old V1 enclosure (also designed by RKID).

The V2 enclosure next to the old V1 enclosure (also designed by RKID).

The newest enclosure (on the scissors) and the initial V2 design.

The newest enclosure (on the scissors) and the initial V2 design.

The Docks

I was also tasked with developing the hardware and firmware for the docks. The dock is responsible for charging the Picklogger and extracting and uploading the data. The multi-dock was designed to have up to 16 slots (4, 8 and 12 slot versions are also possible due to the modular design). A single dock is also avaliable for independent contractor pickers.
The dock's controller PCB is shown below. It communicates with the Pickloggers via a single UART connection which is switched to specific Picklogger indices via four I2C-controlled multiplexers. It uses an ESP32 to manage the extractions and to upload the data to the cloud. The ESP32 doesn't process the data received from the Pickloggers; it simply checks that the data is valid and then uploads it to an ETL AWS lambda function. By doing this, the data uploaded by the ESP32 is 19 times smaller than uploading JSON.
The dock's PCB.

The dock's PCB.

A Picklogger in a 12 position dock.

A Picklogger in a 12 position dock.

Single Dock

A single dock was also designed to connect to a PC or phone via USB-C. There is also a Bluetooth dock available in a similar form factor.
A single dock.

A single dock.

©2024 Gavin Keeley, All Rights Reserved.