- https://studio.edgeimpulse.com/studio/139770 - VoC
- https://studio.edgeimpulse.com/studio/140871 - Vibration
Introduction
Predictive maintenance can help you avoid costly downtime and repairs, by predicting when equipment is going to fail. This allows you to schedule maintenance before the problem occurs. Additionally, predictive maintenance can improve safety by identifying potential hazards before they cause an accident. This allows companies to take steps to prevent accidents from occurring. And last but not least, predictive maintenance can help avoid costly downtime and repairs by predicting when equipment is going to fail. This allows you to schedule maintenance before the problem occurs, instead of waiting for something to break.The Challenge
The machinery present in a print shop include printers, copiers, and scanners. These machines are used to print, copy, and scan documents. Additionally, there are often other machines present in a print shop such as shredders and laminators.Our Solution
Hardware Requirements
- Sony Spresense
- CommonSense expansion board developed by SensiEdge
- Enclosure with wall mount options
Software Requirements
- Edge Impulse account
- Arduino CLI
- Edge Impulse CLI
- Git
Hardware Setup
The Spresense main board has the following features: Sony’s CXD5602 Processor, 8 MB Flash memory, PCB with small footprint, Dedicated camera connector, GNSS (GPS) antenna, Pins and LEDs, Multiple GPIO (UART, SPI, I2C, I2S), 2 ADC channels, Application LED x 4 (Green), Power LED (Blue), USB serial port.Software Setup
Setting up the Build Environment
Gnu Arm Embedded Toolchain
The first step in setting up the build environment for the Sony Spresense board equipped with the Common Sense expansion board is installing the GNU Arm Embedded Toolchain. Determine the latest version of the toolchain:Python 3.7
Next up in setting up the build environment is installing Python 3.7: Install the prerequisites for adding custom PPAs:deadsnakes/ppa to the local APT package source list:
Creating an Edge Impulse Project
To build a machine learning model that is able to detect trends in Volatile Organic Compounds levels in the air, characteristic to ink or solvent spillage in the printing industry, we will be using the Edge Impulse platform. Register a free account and then create a new project, give it a fitting name and press Create new project.Connecting the Device
To connect the device to the edge impulse platform, you must first download the data forwarder firmware from here. Pick whatever firmware you wish, either the firmware used for measuring Volatile Organic Compounds level, or the one used to measure the vibration of the printer. Launch a terminal, navigate to the software folder and activate the build environment:make: