This wiki has been archived and made read-only.
For up-to-date information about TkkrLab and it's projects please visit our main website at tkkrlab.nl.

NodeMCU Webserver

From

Jump to: navigation, search
Project: NodeMCU Webserver
360x360px
Name NodeMCU Webserver
Initiator #FFAA5E
Status 5% finished
Skills C++, NodeMCU, Linux, file systems
Summary Create NodeMCU webserver with dedicated file system on SD card


Existing webservers for NodeMCU are based on the FAT16 file system, which is limited to the 8.3 filenames. Because the limited RAM of the NodeMCU, the FAT16 file system does not make it easy to store the directory in RAM, which creates some overhead in retrieving files from an SD card. The idea is to design a dedicated file system, that is optimized for reading files when the directory is cached in RAM. The idea is to only write files to the SD card from Linux.

Proposed steps for the project:

  • Design the file system based on a single file
  • Modify the design to also access SD card using ioctl calls
  • Get experience with NodeMCU using Arduino IDE
  • Investigate existing webservers (for the webserver part)
  • Find or develop interrupt based library for accessing SD card
  • Port file system to NodeMCU
  • Profit!