[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-117275":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":13,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":10,"trendingCount":15,"starSnapshotCount":15,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},117275,"floppy3.5","bigcrimping\u002Ffloppy3.5","bigcrimping","A Portable 3.5\" Disk WiFi NAS","",null,"C",131,4,1,0,21,29,62.7,"Other",false,"main",true,[],"2026-11-17 11:14:08","2026-11-23 20:24:08","# floppy3.5\n\nfloppy3.5 is a 3.5\" floppy disk portable WiFi NAS. It reads photos from\nthe floppy disks of old digital cameras like the Sony Mavica. It\nshows the photos on a web page through WiFi. It can also copy the photos to a\nmicroSD card expanding the amount of photos you can take on the move.\n\nIt can read any FAT12 1.44 MB HD disk. It shows the files in the root folder \nof the disk on the web page and can copy them to the SD card\n\n![The floppy3.5 reader with a Sony Mavica camera](assets\u002Ffinal.jpg)\n\n```\n slimline 3.5\" drive ──26-pin──▶ RP2354A ──SPI──▶ ESP32-S3 ──WiFi──▶ browser (floppy.local)\n                                 controller        bridge   └──▶ microSD (\u002FDISKnnnn\u002F)\n```\n\nThe two processors are on one custom PCB. The RP2354A controller uses the\n[Greaseweazle](https:\u002F\u002Fgithub.com\u002Fkeirf\u002Fgreaseweazle) host protocol. You\ncan also use the `gw` tool with the controller through the secondary USB. The ESP32-S3\nbridge controls the controller through a custom SPI link. The bridge decodes\nthe disk and shows the photos on a web page. Both are OTA updatable\n\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fyoutu.be\u002FwcR_Jo1fEtY\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.youtube.com\u002Fvi\u002FwcR_Jo1fEtY\u002Fmaxresdefault.jpg\" alt=\"Watch the floppy3.5 video on YouTube\" width=\"640\">\n  \u003C\u002Fa>\n  \u003Cbr>\n  \u003Cem>▶ Click the picture to see floppy3.5 in action on YouTube\u003C\u002Fem>\n\u003C\u002Fp>\n\n## History\n\nThe first prototype used an ESP32 development kit, a Greaseweazle-type\nadapter board with the Greaseweazle firmware, and a desktop floppy drive:\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fprototype.JPG\" alt=\"The first prototype with development kits\">\n\u003C\u002Fp>\n\nThe current design has the two processors, the charger and the power supplies\non one PCB and targeting a slimline drive:\n\n![The assembled PCB](assets\u002Fbare_board.jpg)\n\n## Contents of the repository\n\n| Path | Contents |\n|---|---|\n| `hardware\u002Fgw-esp32-2_gerber.zip` | Gerber files to make the PCB (copper, solder mask, paste, legend, outline, PTH and NPTH drill) |\n| `hardware\u002Fschematic.pdf` | The schematic, with the part values |\n| `hardware\u002Fassembly.pdf` | The assembly drawing. It shows the position of each part |\n| `mech\u002F` | STL and 3MF files to print the housing |\n| `assets\u002F` | The pictures in this file |\n| `firmware\u002Frp2354\u002F` | The controller firmware (pico-sdk) |\n| `firmware\u002Fesp32\u002F` | The bridge firmware (ESP-IDF) |\n| `firmware\u002Fesp32-bringup\u002F` | A self-test for a new board |\n| `firmware\u002Fcommon\u002F` | The SPI link frame layout. The two firmwares use this file |\n\nFirmware files that are ready to install are on the\n[GitHub Releases](..\u002F..\u002Freleases) page.\n\n## Parts\n\n**Parts on the PCB:** Refer to the schematic (`hardware\u002Fschematic.pdf`). The\nmain parts are:\n\n- An ESP32-S3-WROOM-1-N16R8 module (16 MB flash, 8 MB PSRAM)\n- An RP2354A controller\n- SN74LS07 bus buffers\n- A BQ25180 charger and a MAX17048 fuel gauge\n- An LTC2954 power button controller\n- A TPS63020 regulator (3.3 V) and a TPS61022 regulator (5 V for the drive)\n- An RV-3028-C7 real-time clock\n- A microSD socket\n\n**Other system parts:**\n\n| Part | Notes |\n|---|---|\n| Slimline 3.5\" floppy drive, 26-pin | The design uses a Sony MPF920-type slimline drive. The drive uses only 5 V |\n| 1S LiPo battery, size 606090 (approximately 4000 mAh), 3 wires with NTC | Connect it to J9 (JST GH, 3-pin) |\n| 1.9\" ST7789 IPS LCD, 170×320, 8-pin SPI module | Connect it to J2. Refer to [LCD connections](#lcd-connections) |\n| microSD card | Use the FAT32 format |\n| 4 M2.5×16 cap screws and 4 M2.5 heat-set inserts | These attach the two halves of the housing (hole 3.4 mm, depth 4 mm) |\n| 4 M2 heat-set inserts and M2 screws | These attach the LCD module to the lid |\n| Thin insulation tape (0.5 mm maximum) | Put it between the top of the drive and the PCB |\n\n## Build the board\n\n> **WARNING:** Make sure that the polarity of the battery connector is\n> correct before you connect the battery. Incorrect polarity can cause damage\n> to the LiPo battery. A damaged LiPo battery can cause a fire.\n\n1. Order the PCB. Use the files in `hardware\u002Fgw-esp32-2_gerber.zip`.\n2. Order the parts and assemble the board. Use the schematic and the\n   assembly drawing.\n3. Install the LiPo battery. The board does not start without the battery.\n   With only USB power, the voltage decreases too much at power-on.\n4. Install the `firmware\u002Fesp32-bringup\u002F` firmware.\n5. Make sure that all tests pass. The results show on the USB serial console.\n6. Install the usual firmware.\n\n**The PCB was kindly subsidised by PCBWay, I would have used them anyway so was very happy for their support**\n\n### LCD connections\n\nConnect the wires as follows:\n\n| J2 pin | Signal | LCD pin |\n|---|---|---|\n| 1 | 3V3 | VCC |\n| 2 | GND | GND |\n| 3 | MOSI (GPIO 3) | SDA |\n| 4 | SCLK (GPIO 11) | SCL |\n| 5 | CS (GPIO 8) | CS |\n| 6 | DC (GPIO 18) | DC |\n| 7 | RST (GPIO 17) | RES |\n| — | — | BLK: do not connect |\n\n## Print the housing\n\nThe files are in `mech\u002F`:\n\n| File | Position on the printer bed | Quantity |\n|---|---|---|\n| `housing_top.stl` or `.3mf` | Lid down | 1 |\n| `housing_bottom.stl` or `.3mf` | Base down | 1 |\n| `button_cap_x4.stl` | As in the file | 1 (4 caps) |\n\nThe 3MF files have a paint line. Use the paint tool of your slicer on this\nline to apply a different color to the front band.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fexploded.jpg\" alt=\"Exploded view of the housing\">\n\u003C\u002Fp>\n\nTo assemble the housing:\n\n1. Install the M2.5 heat-set inserts in the posts of the top half.\n2. Install the M2 heat-set inserts in the LCD bosses.\n3. Put insulation tape on the top cover of the drive.\n4. Put the PCB on the tape.\n5. Attach the two halves with the M2.5 screws from the bottom.\n\n## Firmware\n\n### Install the prebuilt firmware\n\nGet the firmware files from the [Releases](..\u002F..\u002Freleases) page.\n\n**Controller (RP2354A):**\n\n1. Push and hold the BOOTSEL button (S4).\n2. Connect the power. On a blank chip, you do not have to push the button.\n3. Copy `gw_rp2354.uf2` to the `RP2350` drive on your PC.\n\nWhen the bridge operates, you can also update the controller through WiFi\nfrom the web page.\n\n**Bridge (ESP32-S3):** You must install the firmware through USB the first\ntime:\n\n```bash\nesptool.py --chip esp32s3 -p \u003CPORT> erase_flash\nesptool.py --chip esp32s3 -p \u003CPORT> write_flash @flash_args\n```\n\nAfter this, you can update the firmware through WiFi. On the web page, go to\n**Rear panel ▸ SHOW ▸ FIRMWARE UPDATE**.\n\n### Build the firmware from the source code\n\n**Controller:** You must have pico-sdk **2.x** (for the RP2350),\n`arm-none-eabi-gcc`, CMake and Ninja.\n\n```bash\ncd firmware\u002Frp2354\ncmake -S . -B build -DPICO_SDK_PATH=\u003Cpath-to-pico-sdk>\ncmake --build build\n```\n\nThe build makes two files:\n\n- `build\u002Fgw_rp2354.uf2`: to install through USB.\n- `build\u002Fgw_rp2354.bin`: to install through WiFi.\n\n**Bridge:** You must have ESP-IDF **v5.2 or later**. The first build\ndownloads the managed components (`mdns`, `qrcode` and `led_strip`).\n\n```bash\ncd firmware\u002Fesp32\nidf.py set-target esp32s3\nidf.py build flash monitor\n```\n\nUse the same procedure for `firmware\u002Fesp32-bringup\u002F`.\n\n**Host tests:** These tests do not need a board or a target toolchain. Run\n`test\u002Fhost\u002Fbuild.ps1` in `firmware\u002Fesp32` or in `firmware\u002Frp2354`. You can use\nTinyCC, gcc or clang.\n\n## Operation\n\n### Set up the WiFi\n\n1. Start the device. The first time, the bridge starts an open WiFi access\n   point with the name **`Floppy-Setup`**.\n2. Connect your phone or PC to `Floppy-Setup`. The setup page opens. If it\n   does not open, go to `http:\u002F\u002F192.168.4.1\u002F`.\n3. Type the name and the password of your network.\n4. Submit the data. The device starts again and connects to your network.\n5. Go to **`http:\u002F\u002Ffloppy.local`**.\n\nIf the password is incorrect the device tries 5 times after it goes\nback to the setup mode.\n\n### Buttons\n\n| Button | Short push | Long push |\n|---|---|---|\n| **READ** | Reads the disk. You can then see the files on the web page. The device does not write to the SD card | Same as a short push |\n| **SAVE** | Reads the disk if necessary. Then copies all files to a new `\u002FDISKnnnn\u002F` folder on the SD card | Copies the disk again, also if the card already has a copy |\n| **DISP** | Shows the home screen (IP address and QR code) | Turns off the LCD |\n| **POWER** | Turns the device on or off | Stops the device (forced stop) |\n\nEach disk gets a different folder. This is necessary because a camera starts\nthe file numbers again at `MVC-00001` after you erase the disk. The device\ncompares the contents of the files (SHA-256). It does not copy a photo that\nis already on the card. If the card already has a copy of the full disk, the\ndevice does not copy the disk. To copy the disk again, do a long push on\nSAVE.\n\n### The screen\n\nThe LCD looks like a segment display. Unused segments and icons show as\nlight \"ghosts\" and come on in dark ink when they are active.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Flcd_screens_sheet.png\" alt=\"The LCD screens of floppy3.5\">\n\u003C\u002Fp>\n\n**Status bar (all screens):** The icons at the top are, from left to right:\n\n| Icon | On when |\n|---|---|\n| WiFi | The device is connected to your network |\n| Play | A read is in progress |\n| Disk | A decoded disk is in memory |\n| SD | A microSD card is installed |\n| Warning | The last read has bad sectors, or the read failed |\n\nThe battery level is at the right. Below the icons, the free space on the SD\ncard shows, or `NO SD CARD`.\n\n**Screens:**\n\n| Screen | What it shows |\n|---|---|\n| 1 WiFi setup | The first start, or after the WiFi failed. Scan the QR code or join the open `Floppy-Setup` network, then pick your network |\n| 2 Connecting | The device connects to your network. The web page is available when this is done |\n| 3 Ready | A QR code for the web page, the `floppy.local` name and the IP address. With no disk it says `INSERT DISK \u002F PRESS READ`. When a disk is in memory it says `DISK IN MEMORY` and DISP goes back to the result |\n| 4 Reading | The progress in percent, the number of sectors read, the current cylinder and head, the elapsed time and the track map |\n| 5 Result: clean | The number of files, `ALL CLEAN`, the read time and the track map. Without an SD copy it says `PRESS SAVE TO ARCHIVE`. After SAVE, the name of the folder on the SD card shows |\n| 6 Result: partial | `PARTIAL` and the number of bad sectors. The bad tracks blink on the track map. Hold READ to read the bad tracks again. A note shows here if the SAVE failed, for example when the SD card is full |\n| 7 Error | `READ FAILED` and the cause, for example no flux from the drive because there is no disk. Make sure the disk is fully in the drive, then push READ |\n| 8 Firmware update | The progress of an update to the ESP32 or to the drive controller. Do not turn off the device during an update |\n\n**Track map:** The 80 cylinders show as 4 rows of 20 columns. Each column\nhas two blocks, head 0 on top and head 1 below. Each block is one track:\n\n- Dark: the track was read correctly.\n- Only the bottom of the block is dark: the track was read correctly after a\n  retry.\n- Blinking: the track has bad sectors.\n- Light: the track was not read yet.\n\n### USB and Greaseweazle\n\nThe controller is a USB CDC device with the VID:PID `2E8A:000A`. The `gw`\ntool does not find the device automatically. Thus, you must give the port:\n\n```bash\ngw read --device \u003CPORT> --format ibm.1440 disk.img\n```\n\n### Quirks\n\n- **The charger needs the firmware to set its limits.** The default settings\n  of the BQ25180 charger are too low for this board. For example, the\n  default battery over-current limit (1000 mA) trips when the drive starts\n  to turn on battery power. The ESP32 firmware sets the correct limits at\n  each start. Thus, install the ESP32 firmware for the first time with the\n  board on USB power. Until the firmware runs, the device does not operate\n  fully on battery power.\n- **The peak current can be near the charger limit.** A disk read together\n  with WiFi traffic at full transmit power draws a high current. This\n  current can come near the battery current limit of the charger (1500 mA). I\n  did not see a problem during my tests. If you build the device and you get\n  resets or power loss during a read, please open an issue.\n\n## Credits and license\n\nThe controller speaks the Greaseweazle protocol by Keir Fraser\n([keirf\u002Fgreaseweazle](https:\u002F\u002Fgithub.com\u002Fkeirf\u002Fgreaseweazle)), and its firmware\nis a port of the Greaseweazle firmware to the RP2354. The command handling\nfollows his firmware closely. The flux engine, the part that reads and writes\nthe disk signal, was reworked to use the RP2354's own hardware: PIO programs\nand DMA take the place of the STM32 timers that Greaseweazle uses.\n\nAll the contents of this repository (firmware, PCB files and housing) have\nthe [Unlicense](LICENSE) (public domain).\n\nThe firmware uses these third-party libraries. The libraries are not in this\nrepository and they keep their own licenses:\n\n- Raspberry Pi pico-sdk (BSD-3-Clause)\n- TinyUSB (MIT)\n- ESP-IDF (Apache-2.0)\n- The Espressif components `mdns`, `qrcode` and `led_strip` (Apache-2.0)\n\nThe firmware binaries contain these libraries. Thus, the license notices of\nthese libraries apply to the binaries.\n\nThanks to PCBWay for subsidising the PCB, most appreciated. \n",2,"2026-11-24 04:55:15","CREATED_QUERY"]