parent
d0daa7c2b1
commit
18ce5c2e8e
@ -1,6 +1,39 @@
|
|||||||
# ProfilometerProbe
|
# Profilometer Probe
|
||||||
## Firmware for profilometer probe
|
## Firmware for profilometer probe
|
||||||
### Current state:
|
|
||||||
After making and flashing, device will begin continuously sending JPEG images using UART
|
### Build
|
||||||
### Currently in progress:
|
|
||||||
Implementing tinyUSB UVC to send JPEGS instead of UART
|
- 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
|
||||||
|
|
||||||
|
### In progress
|
||||||
|
|
||||||
|
- Implementing tinyUSB UVC to send JPEGS instead of UART
|
||||||
|
Loading…
Reference in new issue