新ユーカリ駅
shin-yukari station
N-gauge Japanese-style Model Train
nゲージ鉄道模型
nゲージ鉄道模型
- TFT display is 320x240 (240x320 portrait) ILI9341
- I use fbtft_device to drive the display - The video is a h.264 mp4 file played by mplayer Hardware components used:
* ESP32 (Lolin32) with 4BM Flash memory * Tourist Information: 0.96" 80x160 RGB IPS display with ST7735 driver (only the top 80x80 pixels are used and visible) Connections: DISPLAY ESP32 -------------------- GND GND VCC V3 SCL SCL (SPI Clock) SDA MOSI (SPI Data (to slave)) RES GPIO4 (Reset) DC GPIO2 (Data/Command) CS SS/5 (Chip Select) BLK GPIO15 Uploading files to the ESP32 flash: Install ESP32 Filesystem Uploader in Arduino IDE https://randomnerdtutorials.com/install-esp32-filesystem-uploader-arduino-ide/ https://github.com/me-no-dev/arduino-esp32fs-plugin/releases/ The size of the ESP32 SPIFFS partition can be set in the IDE as 1Mbyte or 3Mbytes. Place the video/image files inside the sketch folder, in a folder called "Data". Then upload all the files in the folder using the Arduino IDE "ESP32 Sketch Data Upload" option in the "Tools" menu. The sketch loads - an 80x80 pixel background image (back.jpeg) once at the beginning - a sequence of up to one thousand 40x80 images (videoNNN.jpeg) stored in the built-in flash memory. The videoNNN.jpeg files are built as follows: - Scale and crop the source video to 40x80 (portrait) with Handbrake - Extract the .jpeg files with ffmpeg: ./ffmpeg -i video.mp4 -s 40x80 -r 10 video%03d.jpeg Received the new Greenmax 2594 (non working) Repeat Signals. They really look good! |
Categories
All
Latest recap videosArchives
December 2024
|