Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luc-github/ESP3DLib
ESP3D library for Marlin and ESP32 boards
https://github.com/luc-github/ESP3DLib
esp32 esp3d library marlin platformio
Last synced: 4 days ago
JSON representation
ESP3D library for Marlin and ESP32 boards
- Host: GitHub
- URL: https://github.com/luc-github/ESP3DLib
- Owner: luc-github
- License: gpl-3.0
- Created: 2019-12-16T13:18:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-23T00:43:35.000Z (8 months ago)
- Last Synced: 2024-03-23T01:41:23.711Z (8 months ago)
- Topics: esp32, esp3d, library, marlin, platformio
- Language: C++
- Homepage:
- Size: 7.64 MB
- Stars: 95
- Watchers: 12
- Forks: 31
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# ESP3DLib 1.0 Marlin version [](https://liberapay.com/ESP3D)
[![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-)
Library for ESP32 boards using Marlin 2.x :[ESP32 Controller](https://github.com/simon-jouet/ESP32Controller),
[FYSETC-E4](https://github.com/FYSETC/FYSETC-E4),
[MRR_ESPA](https://github.com/maplerainresearch/MRR_ESPA),
[MRR_ESPE](https://github.com/maplerainresearch/MRR_ESPE),
[Panda Zhu](https://github.com/markniu/PandaZHU),
[MKS Tinybee](https://github.com/makerbase-mks/MKS-TinyBee)[Current version: ![Current Version](https://img.shields.io/badge/ESPDLib-1.0-green?style=plastic) ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/luc-github/ESP3DLib/master?style=plastic)](https://github.com/luc-github/ESP3DLib/tree/master) [![Release Version](https://img.shields.io/github/v/release/luc-github/ESP3D-WEBUI?color=green&label=WebUI&style=plastic)](https://github.com/luc-github/ESP3D-WEBUI/tree/2.1/languages) [![Marlin](https://img.shields.io/github/release/MarlinFirmware/Marlin.svg?style=plastic&label=Marlin)](https://github.com/MarlinFirmware/Marlin)
[Development version: ![Development Version](https://img.shields.io/badge/ESPDLib-3.0-yellow?style=plastic) ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/luc-github/ESP3DLib/3.0?style=plastic)](https://github.com/luc-github/ESP3DLib/tree/3.0) [![Release Version](https://img.shields.io/github/v/release/luc-github/ESP3D-WEBUI?color=green&include_prereleases&label=WebUI&style=plastic)](https://github.com/luc-github/ESP3D-WEBUI/tree/3.0) [![Project Page ESP3D 3.0](https://img.shields.io/badge/Project%20page-ESP3D%203.0-blue?style=plastic)](https://github.com/users/luc-github/projects/1/views/1) [![Marlin](https://img.shields.io/badge/Marlin-2.0.9.3(luc)-yellow?style=plastic)](https://github.com/luc-github/Marlin/tree/ESP3DLibV3.0)
:warning:Currently the development version need special version of Marlin which may not sync with latest version of Marlin yet : https://github.com/luc-github/Marlin/tree/ESP3DLibV3.0
:warning: This is not for ESP8266 boards neither standalone ESP3D installation
for them go [here](https://github.com/luc-github/ESP3D)
[All releases](https://github.com/luc-github/ESP3DLib/releases)
> [!WARNING]
>### Disclaimer
> The software is provided 'as is,' without any warranty of any kind, expressed or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.
>It is essential that you carefully read and understand this disclaimer before using this software and its components. If you do not agree with any part of this disclaimer, please refrain from using the software.## Sponsors
[](https://github.com/makerbase-mks)
[](https://github.com/PendulumPit)## Supporters
## Become a sponsor or a supporter
* A sponsor is a recurent donator
If your tier is `10 US$/month` or more, to thank you for your support, your logo / avatar will be added to the readme page with eventually with a link to your site.
* A supporter is per time donator
If your donation is over `120 US$` per year, to thank you for your support, your logo / avatar will be added to the readme page with eventually with a link to your site.Every support is welcome, indeed helping users / developing new features need time and devices, donations contribute a lot to make things happen, thank you.
* liberapay
* Paypal [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FQL59C749A78L)
* ko-fi [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/G2G0C0QT7)## Features
* Complete configuration by web browser (Station or Access point) or by Serial commands
* Authentication for sensitive pages
* Update firmware by web browser or OTA
* Captive portal in Access point mode which redirect all unknow call to main page
* mDNS which allows to key the name defined in web browser and connect only with bonjour installed on computer
* SSDP, this feature is a discovery protocol, supported on Windows out of the box
* Fail safe mode (Access point)is enabled if cannot connect to defined station at boot.
* The web ui add even more feature : https://github.com/luc-github/ESP3D-WEBUI/blob/master/README.md#features## Coming Features
As side project of ESP3D, it follows ESP3D features: https://github.com/luc-github/ESP3D/blob/3.0/ESP3D-features.xls?raw=true## How to enable ?
In Marlin configuration files :
[Configuration.h](https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.0.x/Marlin/Configuration.h)Select an ESP32 based board.
Uncomment the second serial port to allow esp3d to get all printer feedback
```
/**
* Select a secondary serial port on the board to use for communication with the host.
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
```[Configuration_adv.h](https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.0.x/Marlin/Configuration_adv.h)
enable `#define ESP3D_WIFISUPPORT // ESP3D Library WiFi management (https://github.com/luc-github/ESP3DLib)`
Define to which access point your board need to connect to:
```
#define WIFI_SSID "Wifi SSID"
#define WIFI_PWD "Wifi Password"
```
if not defined or you left like this the board will act as an Access Point instead.and finally
```
#define WEBSUPPORT // Start a webserver (which may include auto-discovery)
#define OTASUPPORT // Support over-the-air firmware updates
#define WIFI_CUSTOM_COMMAND // Accept feature config commands (e.g., WiFi ESP3D) from the host
```For advanced configuration add in same section:
to enable this feature which is disabled by default:
```
//AUTHENTICATION_FEATURE: protect pages by login password.
#define AUTHENTICATION_FEATURE
```to disable any of these features which are enabled by default:
```
//MDNS_FEATURE: this feature allow type the name defined
//in web browser by default: http:\\marlinesp.local and connect
#define DISABLE_MDNS_FEATURE//SSDD_FEATURE: this feature is a discovery protocol, supported on Windows out of the box
//Rely on Configuration_adv.h
#define DISABLE_SSDP_FEATURE//CAPTIVE_PORTAL_FEATURE: In SoftAP redirect all unknow call to main page
#define DISABLE_CAPTIVE_PORTAL_FEATURE
```## Default Configuration
Default Settings if not modified in Configuration_adv.h:
AP:MARLIN_ESP
PW:12345678
Authentification: WPA
Mode: g (n is not supported by AP, just by STA)
channel: 1
IP: 192.168.0.1
Mask: 255.255.255.0
GW:192.168.0.1
Web port:80
the websocket is web port + 1 => 80+1 : 81
User: admin
Password: admin
User:user
Password: user## Direct commands:
Check [wiki](https://raw.githubusercontent.com/luc-github/ESP3DLib/master/docs/Commands.txt)## Contribution/customization
* To style the code before pushing PR please use [astyle --style=otbs *.h *.cpp *.ino](http://astyle.sourceforge.net/)
* The embedded page is created using nodejs then gulp to generate a compressed html page (tool.html.gz), all necessary modules can be installed using the install.bat file content, then it is included using bin2c (https://sourceforge.net/projects/bin2c/) to generate the h file used to create the file nofile.h, update the array and size according new out.h.
* The current UI is located [here](https://github.com/luc-github/ESP3D-WEBUI)
# :question:Any question ?
Check [Wiki](https://github.com/luc-github/ESP3DLib/wiki) or Join the chat at [![Discord server](https://img.shields.io/discord/752822148795596940?color=blue&label=discord&logo=discord)](https://discord.gg/Z4ujTwE)
you can also check [discussions panel](https://github.com/luc-github/ESP3DLib/discussions)## :exclamation:Any issue ?
[submit ticket](https://github.com/luc-github/ESP3DLib/issues)## TODO/On going :
--Import all ESP3D 2.1/3.0 features## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
ellensp
🐛
Eduard Sukharev
💻
Mitch Bradley
🐛 💻
makerbase
💵 🐛 📦
vivian-ng
💻 🐛 📦
Mark
📦
FYSETC.COM
💵 🐛 📦
PendulumPit
💵
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!