Our client saw an opportunity to make CBD oil more accessible for people who need it for medicinal reasons by creating an oil manufacturing device for consumer use, thus moving the manufacturing process home.
Using 3D printing technology that allows for incredibly fast iterations, our client created an automated kitchen appliance that, in 2-4 hours, can extract 90% of the available cannabinoids from hemp and cannabis. This manufacturing device called Merlin400 is a complex machine with built-in electronics that runs a few programs for extracting CBD and THC oil.
Solved technical debt and added maintainability to an IoT platform
The embedded part of the machine is based on Raspberry PI, a Linux machine that runs code written in Python. The startup founder did most of the coding, but the code was polluted with technical debt, poorly structured, and lacked maintainability. They were looking for a technology partner to address these problems.
Euristiq refactored the codebase and added new features on both frontend and backend. We implemented such processes as testing and CI/CD, which improved the development process and significantly helped with efficient cannabis extraction software modernization.
Replace legacy codebase for improved maintainability
Introduced automation to firmware updates
Previously, the firmware was copied from GitHub and installed manually. We introduced automation to firmware updates. The new build is being published through continuous integration, and new firmware is installed automatically in one package.
The new build is being published through continuous integration, and new firmware is installed automatically in one package.
Improved code security and added new functionality to the device
One of the main updates the Euristiq team has carried out is implementing a secure way to update firmware over the air through built-in WiFi. The client wanted to improve device security and use obfuscation. We integrated the obfuscation process in the CI/CD pipeline so the resulting Python code is protected from being tampered with.
Euristiq also added new functionality to the device – actions that manage the device state, like turning the heater on and keeping it operating for 10 min.