mirror of
https://github.com/aprochazka/ProfilometerProbe.git
synced 2025-06-30 01:27:23 +02:00
d40e8d4d41bcd84dd0795a9f127e1d25283d10af
Profilometer Probe
Hardware
Models
- All 3D printable models are located inside Models folder
- Models are designed to be printed with standard 2mm layer height
- When slicing be sure to print outer walls first to make print more accurate
Assembly
- All screws are size M3
- Assembly should be done accordingly
Components
- Development board: Nucleo L432KC
- Camera: ArduCam mini 5MP Plus
- Distance sensor: Pimoroni LV53L1X
- Complete list of components and connectors for probe can be found inside HW/Parts.md
Firmware for profilometer probe
Probe design block Scheme
Build
- Build using Makefile inside Firmware folder (dependency: arm-none-eabi)
- Flash onto hardware using flash option for make command
$ make flash
Usage
- Connect probe to pc using usb c cable and firmware will start sending sending data automatically
Documentation
- Create documentation using 'doc' option of Makefile '$ make doc'
Software for receiving data
Build
- Build using Makefile inside Receiver folder
Usage
- Has to be run with sudo permissions to correctly access USB CDC port.
- '$ sudo ./main -p [-s Save received jpeg to files] [-r Print raw received CDC data to standard output]'
- Prefer running with optional -s command for ability to inspect already captured images
Documentation
- Create documentation using 'doc' option of Makefile '$ make doc'
TODO
- Process image and filter only laser line from it
- Use precessed data to determine depth or height of irregularities
Description
Languages
C
99.1%
C++
0.5%
Assembly
0.2%