Project for an DIY Bat detector based on ultrasound spectrum analysis.
- MEMS microphone from ELV
- st7789 240x240 display with SPI interface
- SDIO SD Card interface from Adafruit
RP2040 Raspberry Pico board- RP2350 Raspberry Pico2 board
st7789 is using SPI instance spi1
Signal | Pin |
---|---|
CS | 9 |
DC | 8 |
RST | 7 |
BL | 6 |
TX | 11 |
CLK | 10 |
SDIO card is using (see hw_config.c
)
Signal | Pin |
---|---|
D0 | 2 |
D1 | 3 |
D2 | 4 |
D3 | 5 |
CMD | 1 |
Drawn with the highly recommend DIY Layout Creator (available as Flatpak, Mac and Windows). DIY Layout Creator file
The software depends on the Raspberry pico SDK Version 2. kissfft no-OS-FatFS-SD-SDIO-SPI-RPi-Pico
- Set time on files correctly: see get_fattime. But where to get the time from ?
- Obsolete with pico2?: Have an PIO program when reading ADC to store 3 bytes only
- Obsolete with pico2?: Use 256 FFT, but have the load shared in both cores
- Should use subdirectry rather root dir
- Datalogger only
- GPS data
Some green lines on the lower displayOrientation is wrong
- kissfft took 153ms to compute
- meow_fft took 134ms to computerec