Manuel Weiser fa74832fb9
All checks were successful
Release Workflow / detect-provider (push) Successful in 3s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 2m47s
docs: update changelog and header for version v1.3.97
2025-02-28 08:53:08 +01:00
2025-02-12 21:10:25 +01:00
2025-02-12 21:10:25 +01:00
2025-02-26 18:29:37 +01:00
2025-02-12 21:10:25 +01:00

FilaMan - Filament Management System

Deutsche Version

FilaMan is a filament management system for 3D printing. It uses ESP32 hardware for weight measurement and NFC tag management. Users can manage filament spools, monitor the status of the Automatic Material System (AMS) and make settings via a web interface. The system integrates seamlessly with Bambulab 3D printers and Spoolman filament management as well as the Openspool NFC-TAG format.

Scale

More Images can be found in the img Folder
or my website:FilaMan Website
german explanatory video: Youtube

Now more detailed informations about the usage: Wiki

ESP32 Hardware Features

  • Weight Measurement: Using a load cell with HX711 amplifier for precise weight tracking.
  • NFC Tag Reading/Writing: PN532 module for reading and writing filament data to NFC tags.
  • OLED Display: Shows current weight, connection status (WiFi, Bambu Lab, Spoolman).
  • WiFi Connectivity: WiFiManager for easy network configuration.
  • MQTT Integration: Connects to Bambu Lab printer for AMS control.
  • NFC-Tag NTAG215: Use NTAG215 because of enaught space on the Tag

Web Interface Features

  • Real-time Updates: WebSocket connection for live data updates.
  • NFC Tag Management:
    • Write filament data to NFC tags.
    • uses NFC-Tag Format of Openspool
    • so you can use it with automatic Spool detection in AMS
  • Bambulab AMS Integration:
    • Display current AMS tray contents.
    • Assign filaments to AMS slots.
    • Support for external spool holder.
  • Spoolman Integration:
    • List available filament spools.
    • Filter and select filaments.
    • Update spool weights automatically.
    • Track NFC tag assignments.

If you want to support my work, i would be happy to get a coffe

Buy Me A Coffee

Detailed Functionality

ESP32 Functionality

  • Control and Monitor Print Jobs: The ESP32 communicates with the Bambu Lab printer to control and monitor print jobs.
  • Printer Communication: Uses MQTT for real-time communication with the printer.
  • User Interactions: The OLED display provides immediate feedback on the system status, including weight measurements and connection status.

Web Interface Functionality

  • User Interactions: The web interface allows users to interact with the system, select filaments, write NFC tags, and monitor AMS status.
  • UI Elements: Includes dropdowns for selecting manufacturers and filaments, buttons for writing NFC tags, and real-time status indicators.

Hardware Requirements

Components

  • ESP32 Development Board: Any ESP32 variant. Amazon Link
  • HX711 5kg Load Cell Amplifier: For weight measurement. Amazon Link
  • OLED 0.96 Zoll I2C white/yellow Display: 128x64 SSD1306. Amazon Link
  • PN532 NFC NXP RFID-Modul V3: For NFC tag operations. Amazon Link
  • NFC Tags Ntag215: RFID Tag Amazon Link

Pin Configuration

Component ESP32 Pin
HX711 DOUT 16
HX711 SCK 17
OLED SDA 21
OLED SCL 22
PN532 IRQ 32
PN532 RESET 33
PN532 SDA 21
PN532 SCL 22

Make sure that the DIP switches on the PN532 are set to I2C

Wiring

myWiring myWiring

Software Dependencies

ESP32 Libraries

  • WiFiManager: Network configuration
  • ESPAsyncWebServer: Web server functionality
  • ArduinoJson: JSON parsing and creation
  • PubSubClient: MQTT communication
  • Adafruit_PN532: NFC functionality
  • Adafruit_SSD1306: OLED display control
  • HX711: Load cell communication

Installation

Prerequisites

  • Software:
  • Hardware:
    • ESP32 Development Board
    • HX711 Load Cell Amplifier
    • Load Cell (weight sensor)
    • OLED Display (128x64 SSD1306)
    • PN532 NFC Module
    • Connecting wires

Important Note

You have to activate Spoolman in debug mode, because you are not able to set CORS Domains in Spoolman yet.

# Enable debug mode
# If enabled, the client will accept requests from any host
# This can be useful when developing, but is also a security risk
# Default: FALSE
#SPOOLMAN_DEBUG_MODE=TRUE

Step-by-Step Installation

Easy Installation

  1. Go to FilaMan Installer

  2. Plug you device in and push Connect button

  3. Select your Device Port and push Intall

  4. Initial Setup:

    • Connect to the "FilaMan" WiFi access point.
    • Configure WiFi settings through the captive portal.
    • Access the web interface at http://filaman.local or the IP address.

Compile by yourself

  1. Clone the Repository:
    git clone https://github.com/ManuelW77/Filaman.git
    cd FilaMan
    
  2. Install Dependencies:
    pio lib install
    
  3. Flash the ESP32:
    pio run --target upload
    
  4. Initial Setup:
    • Connect to the "FilaMan" WiFi access point.
    • Configure WiFi settings through the captive portal.
    • Access the web interface at http://filaman.local or the IP address.

Documentation

Tutorials and Examples

License

This project is licensed under the MIT License. See the LICENSE file for details.

Materials

Useful Resources

Community and Support

Availability

The code can be tested and the application can be downloaded from the GitHub repository.

If you want to support my work, i would be happy to get a coffe

Buy Me A Coffee

Description
No description provided
Readme 29 MiB
v1.4.0 Latest
2025-03-01 12:46:18 +01:00
Languages
C++ 45.8%
HTML 16.5%
JavaScript 16.1%
CSS 9.9%
C 7.5%
Other 4.2%