2018-03-11 19:52:20 -04:00
2018-03-10 10:06:42 -05:00
2018-03-10 10:06:42 -05:00
2018-03-10 10:06:42 -05:00
2018-03-10 10:06:42 -05:00

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.

Printer Hookup Diagram

Dependencies:

  1. ESP8266 Arduino Core version 2.4
  2. SdFat library

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.

Description
No description provided
Readme 2.4 MiB
Languages
C++ 92.3%
C 7.7%