复古软盘变身便携 WiFi NAS 可无线读取老相机照片

原标题:Floppy3.5: A portable 3.5-inch floppy WiFi NAS
38AI 研判分

floppy3.5 是一个将 3.5 英寸软驱改造为便携 WiFi NAS 的开源硬件项目,可读取索尼 Mavica 等老式数码相机使用的 FAT12 1.44 MB 软盘,并通过网页展示照片、支持转存至 microSD 卡。硬件采用 RP2354A 控制器与 ESP32-S3 桥接的双芯片自定义 PCB 方案,兼容 Greaseweazle 主机协议并支持 OTA 升级。

报道正文

本文目录6 个章节

floppy3.5

floppy3.5 is a 3.5" floppy disk portable WiFi NAS. It reads photos from the floppy disks of old digital cameras like the Sony Mavica. It shows the photos on a web page through WiFi. It can also copy the photos to a microSD card expanding the amount of photos you can take on the move.

It can read any FAT12 1.44 MB HD disk. It shows the files in the root folder of the disk on the web page and can copy them to the SD card

The floppy3.5 reader with a Sony Mavica camera

文本
 slimline 3.5" drive ──26-pin──▶ RP2354A ──SPI──▶ ESP32-S3 ──WiFi──▶ browser (floppy.local)
                                 controller        bridge   └──▶ microSD (/DISKnnnn/)

The two processors are on one custom PCB. The RP2354A controller uses the Greaseweazle host protocol. You can also use the gw tool with the controller through the secondary USB. The ESP32-S3 bridge controls the controller through a custom SPI link. The bridge decodes the disk and shows the photos on a web page. Both are OTA updatable

▶ Click the picture to see floppy3.5 in action on YouTube

History

The first prototype used an ESP32 development kit, a Greaseweazle-type adapter board with the Greaseweazle firmware, and a desktop floppy drive:

The current design has the two processors, the charger and the power supplies on one PCB and targeting a slimline drive:

The assembled PCB

Contents of the repository

PathContents
hardware/gw-esp32-2_gerber.zipGerber files to make the PCB (copper, solder mask, paste, legend, outline, PTH and NPTH drill)
hardware/schematic.pdfThe schematic, with the part values
hardware/assembly.pdfThe assembly drawing. It shows the position of each part
mech/STL and 3MF files to print the housing
assets/The pictures in this file
firmware/rp2354/The controller firmware (pico-sdk)
firmware/esp32/The bridge firmware (ESP-IDF)
firmware/esp32-bringup/A self-test for a new board
firmware/common/The SPI link frame layout. The two firmwares use this file

Firmware files that are ready to install are on the GitHub Releases page.

Parts

Parts on the PCB: Refer to the schematic (hardware/schematic.pdf). The main parts are:

  • An ESP32-S3-WROOM-1-N16R8 module (16 MB flash, 8 MB PSRAM)
  • An RP2354A controller
  • SN74LS07 bus buffers
  • A BQ25180 charger and a MAX17048 fuel gauge
  • An LTC2954 power button controller
  • A TPS63020 regulator (3.3 V) and a TPS61022 regulator (5 V for the drive)
  • An RV-3028-C7 real-time clock
  • A microSD socket

Other system parts:

PartNotes
Slimline 3.5" floppy drive, 26-pinThe design uses a Sony MPF920-type slimline drive. The drive uses only 5 V
1S LiPo battery, size 606090 (approximately 4000 mAh), 3 wires with NTCConnect it to J9 (JST GH, 3-pin)
1.9" ST7789 IPS LCD, 170×320, 8-pin SPI moduleConnect it to J2. Refer to LCD connections
microSD cardUse the FAT32 format
4 M2.5×16 cap screws and 4 M2.5 heat-set insertsThese attach the two halves of the housing (hole 3.4 mm, depth 4 mm)
4 M2 heat-set inserts and M2 screwsThese attach the LCD module to the lid
Thin insulation tape (0.5 mm maximum)Put it between the top of the drive and the PCB

Build the board

WARNING: Make sure that the polarity of the battery connector is correct before you connect the battery. Incorrect polarity can cause damage to the LiPo battery. A damaged LiPo battery can cause a fire.

  1. Order the PCB. Use the files in hardware/gw-esp32-2_gerber.zip.
  2. Order the parts and assemble the board. Use the schematic and the assembly drawing.
  3. Install the LiPo battery. The board does not start without the battery. With only USB power, the voltage decreases too much at power-on.
  4. Install the firmware/esp32-bringup/ firmware.
  5. Make sure that all tests pass. The results show on the USB serial console.
  6. Install the usual firmware.

The PCB was kindly subsidised by PCBWay, I would have used them anyway so was very happy for their support

LCD connections

Connect the wires as follows:

J2 pinSignalLCD pin
13V3VCC
2GNDGND
3MOSI (GPIO 3)SDA
4SCLK (GPIO 11)SCL
5CS (GPIO 8)CS
6DC (GPIO 18)DC
7RST (GPIO 17)RES
——BLK: do not connect

The files are in mech/:

FilePosition on the printer bedQuantity
housing_top.stl or .3mfLid down1
housing_bottom.stl or .3mfBase down1
button_cap_x4.stlAs in the file1 (4 caps)

The 3MF files have a paint line. Use the paint tool of your slicer on this line to apply a different color to the front band.

To assemble the housing:

  1. Install the M2.5 heat-set inserts in the posts of the top half.
  2. Install the M2 heat-set inserts in the LCD bosses.
  3. Put insulation tape on the top cover of the drive.
  4. Put the PCB on the tape.
  5. Attach the two halves with the M2.5 screws from the bottom.

(注:更多技术实现细节与完整 API 文档请查阅原项目 README)