Skip to content

andrei-tatar/wifi-egg-duino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wi-Fi egg bot

Donate

Based on the M5stack core platform (ESP32), this project aims to provide a refresh to the original Egg Bot giving it the ability to load/slice/save/print files without the use of a PC.

If you like the project, find it useful and want to support me, consider donating PayPal.

Demo

IMAGE ALT TEXT HERE

Development work

Remaining things for a first release:

  • WiFi setup - start firmware (or switch if unable to connect to a network) in AP mode. Allow changing the mode/wi-fi settings from the web client
  • M5 UI - update M5 code to include UI to: start/pause/stop print, view progress and Wi-Fi settings (AP settings and/or IP in STA mode)
  • OTA - easier firmware update (removing dependencies for platformio or other tools after the first flash)

Lower priority:

  • Move image processing in web worker
  • Make project compatible with generic ESP32 boards

HW Connections to M5stack core

Function Pin
Rotation Motor DIR 2
Rotation Motor STEP 17
Rotation Motor RESET 16
Pen Motor DIR 5
Pen Motor STEP 26
Pen Motor RESET 22
Servo 21

Building

Web client (angular based)

Dependencies: node.js

cd eggduino-client
npm install 
npm run build

M5 code

Dependencies: PlatformIO

I personally use Visual Studio Code with the PlatformIO IDE extension.

platformio run                             - build code
platformio run --target upload             - upload code
platformio run --target uploadfs           - upload web client files