SD Media Player, File Browser and Viewer with STM32 and ST7735 LCD @cbm80amiga
SD Media Player, File Browser and Viewer with STM32 and ST7735 LCD  @cbm80amiga
Uploaded January 2020 | Updated November 2026, 5 days ago
Features:
- SD file browser with one button
- Short click for next file/switch stat mode
- Long click to show file or exit the viewer
- Semi-transparent progress bar
- Long file names (up to 22 characters fit on the screen) and file size displayed
- RAW 160x128 video files supported @ 41fps
- BMP pictures in 24-bit and 8/4-bit with palette
- basic text files viewer

JPEG support: youtu.be/4PwaX-zusPM

Parts:
- cheap "bluepill" STM32 ($1.50)
- 160x128 ST7735 LCD ($2.60)
- SD card

Comments:
- SD uses faster STM32 SPI1 interface which supports 36 Mbps
- SPI1 is shared between LCD and SD card
- Not all SD cards work at 36Mbps
- Fast card at 36Mbps gives 41fps for 160x128 video
- SdFat library uses DMA for SPI transfer
- Big buffer in RAM is used to speed up SPI/DMA transfer
- Requires SdFat, Arduino_ST7735_STM and RREFont libraries and stm32duino
- If you don't want to play with IDEs bin ready to flash is available too
- Use ffmpeg to convert any video, example syntax:
"ffmpeg.exe -i "food.mp4" -an -filter:v:0 "crop=900:720:190:0" -s 160x128 -f rawvideo -pix_fmt rgb565le -y food160.raw"

More ST7735+STM32 videos:
youtube.com/watch?v=o3AqITHf0mo&list=PLxb1losWErZ6y6GombzvtwRZ2l7brPv1s


Project code:
github.com/cbm80amiga/ST7735_SDMediaPlayer

 If you find it useful and you want to buy me a coffee or a beer:
paypal.me/cbm80amiga
SD Media Player, File Browser and Viewer with STM32 and ST7735 LCDMustool MT223 cheap soldering iron with temperature control unboxing and testingTesting Chinese Samsung EVO 32GB microSDHC CardECUBEE  Fidget Spinner with Bluetooth SpeakerArduino Datalogger with GUIMinisForum UM780 XTX BIOS 1.05 SettingsKingston SDXC 256GB Canvas Select Plus vs Canvas Go! Plus Speed ComparisonBudowa S7 w okolicach Szydłowca kierunek Radom czerwiec 2017OLED screen burn-inSilver Monkey Smart Buds Pro English menuAlfawise 32GB microSDHC unboxing and testingArduino Pro Mini Clock on round 1.28 GC9A01A IPS Display
cbm80amiga |

SD Media Player, File Browser and Viewer with STM32 and ST7735 LCD

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER