ESPWebDAV
A WiFi WebDAV server using ESP8266. Maintains the filesystem on an SD card.
Supports the basic WebDav operations - PROPFIND, GET, PUT, DELETE, MKCOL, MOVE etc.
Once the WebDAV server is running on the ESP8266, a WebDAV client like Windows can access the filesystem on the SD card just like a cloud drive. The drive can also be mounted like a networked drive, and allows copying/pasting/deleting files on SD card remotely.
3D Printer
I am using this setup as a networked drive for 3D Printer running Marlin. Following circuit with ESP8266 and MicroSD adapter is fabricated on a PCB. A full size SD card adapter is glued to one end and provides access to all SPI data lines. ESP8266 code avoids accessing micro SD card, when Marlin is reading/writing to it (detected using Chip Select line).
GCode can be directly uploaded from the slicer to this remote drive, thereby simpliying the workflow.
Dependencies:
Use:
Compile and upload the program to an ESP8266 module. ESP12-E was used for development and testing. Connect the SPI bus lines to SD card.
| ESP Module | SD Card |
|---|---|
| GPIO13 | MOSI |
| GPIO12 | MISO |
| GPIO14 | SCK |
| GPIO15 | CS |
The card should be formatted for Fat16 or Fat32
To access the drive from Windows, type \\esp_hostname_or_ip\DavWWWRoot at the Run prompt, or use Map Network Drive menu in Windows Explorer.
