Handheld scanner

The handheld scanner connects the breakout board to real-world applications. In this case, the application is adapted to the Ocean Cleanup case described in chapter 2.4. It features a 3D printed enclosure that holds the breakout board, a Raspberry Pi Zero W, a 1.3-inch OLED display, and a button interface. It is powered by a 2.200mAh battery.

Description of the handheld scanner
The handheld scanner puts the breakout board into practice by adding a 1GHz processor with wireless capabilities in the form of a Raspberry Pi Zero W. This minicomputer communicates over SPI with the breakout board and displays the predictions on a 1.3-inch OLED screen. The Raspberry Pi is a popular development board with great community support, making it possible to easily run machine learning models on the handheld scanner itself. It is an all-in-one package, with local machine learning interpretation, simple storage on an SD-card, and easy (wireless) communication with the user. An overview of the way it works can be seen in below.

3D printed enclosureHaving the enclosure consist of 3 parts makes it easy to print and adjust to the needs of the user. Components are mounted with threaded inserts to ensure reusability.
Breakout boardFeatures of the breakout board described in chapter 5.2
Raspberry Pi Zero WThe main processor of the scanner. It feeds the measurement data of the breakout board into a machine learning algorithm and controls all input and output.
1.3 inch OLED screenGraphical output for user, guides user through processing section and displays predicted plastic type, quality of the prediction, and battery indication/levels.
ButtonAllows the user to start the scanning procedure.
Battery management chipControls the voltage of the battery and enables charging.
Battery2.200mah battery with 5-hour usage.
Glass protector (optional)Protects the sensor from debris.
Foam protectorProtects the sensor from external light.
BoltsM3 5mm screws to fasten the breakout board and the Raspberry Pi.

Functioning of the handheld scanner
After the user has turned on the handheld scanner, the screen tells them to push the scanning button once a scan is desired. As soon as the Raspberry Pi recognizes that the button is pressed it sends a command to the breakout board, which starts the scanning procedure. Once the scanning is completed it is communicated back to the Raspberry Pi, which subsequently starts the interpretation algorithm to interpret the sample. Once this is completed the result is shown on the screen (table 5.3 & figure 5.7).

The handheld scanner presented in this thesis encases the breakout board adjusted to the context of The Ocean Cleanup, as described in chapter 2.4. Although the design of the handheld scanner focuses on this exact application, parts of this design can also be used in other contexts, for example, the enclosure itself and the display method. The components of the scanner are sourced from the same locations as the components of the breakout board, preventing increased complexity in the need for the product to be able to be manufactured locally. A website where everyone can access the source files to 3D print the enclosure, as well as the other assembly instructions, enables open development.

Part numberPart DescriptionQuantityCost
1Breakout board1€176.97
2Raspberry Pi Zero1€10.00
3SD card1€10.30
4Charge IC1€19.95
51.3 inch oled screen1€19.95
9Glass protector1€1.20
10M3 bolt 5mm8€0.11
11IDC cable1€2.00
12Qwicc cable1€0.95
13Heat inserts m3 3mm4€0.12
143D print Top1€0.80
153D print Middle1€0.10
163D print Bottom1€0.67
Total cost Handheld scanner€261.99