You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aprochazka
ba306a5689
|
2 years ago | |
---|---|---|
Firmware | 2 years ago | |
HW | 2 years ago | |
Test | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago |
README.md
Profilometer Probe
Firmware for profilometer probe
Build
- Build using Makefile inside root folder
- Flash onto hardware using flash option for make command
$ make flash
Supported HW:
- Nucleo L432KC
- Arducam 5MP Plus
HW Setup
Before running code, connect camera module to microcontroler through pins described in .ioc file (open with STM32CubeMX) or in table below.
Name | Nucleo L432KC | Arducam 5MP Plus |
---|---|---|
SPI SCLK | A4 | SCK |
SPI MISO | A5 | MISO |
SPI MOSI | A6 | MOSI |
SPI CS | D3 | CS |
I2C SCL | D1 | SCL |
I2C SDA | D0 | SDA |
You can connect optional Debug LED to A1 pin in Nucleo board.
Usage
-
After turning on device, it initializes camera module and starts to capture JPEG images and continuously sends them through UART.
-
Currently only supports JPEG images in resolution 320*240
-
UART Baud Rate is set to 115200 Bits/s
Test Script Usage
-
Build test app using provided Makefile and then run the executable
-
App will then start saving files received by uart to filesystem
In progress
- Implementing tinyUSB UVC to send JPEGS instead of UART