Skip to content

burkfers/esp-nfc-spoolman

Repository files navigation

TWITS

That Which Inspects The Spools (working title)

This project, inspired by nfc2klipper, uses an inexpensive NFC module and a wifi-capable microcontroller to read spool tags and send the info to your printer. nfc2klipper is nice, but I wanted to avoid running wires all the way from the top of the printer to the electronics bay. By going wifi, I only needed to steal 5V from the MMU, which conveniently is on the top.

Features:

  • NFC Tag scanning and sending the info to Moonraker
  • Supports a single neopixel or three simple LEDs for status display

Typical Use Case:

  • Scan an NFC tag attached to a filament spool
  • The microcontroller reads the tag info and send an update to Happy Hare
  • Load the spool into your MMU
  • Happy Hare now knows which spoolman SpoolID you just loaded and fetches the relevant details, and is ready to update filament usage

BOM (bill of materials)

Name Quantity Link
ESPxxxx 1 ESP32 (Amazon US) ESP8266 (Amazon US) ESP8266 (Amazon DE)
PN532 Reader 1 Amazon US Aliexpress
LED 1 See below
A handful of wiring, soldering and crimping supplies

LED BOM (Neopixel)

Name Quantity Link
WS2812B LED 1 Amazon

LED BOM (RGB Led)

Name Quantity Link
RGB LED or one single-color LED of each 1 Amazon US
220Ω Resistor 3 Amazon US

Build

TODO

Wiring

ESP32 Wiring with WS2812B neopixel

ESP32 wiring diagram

ESP8266 Wiring

TODO

Setup

See SETUP.md

Troubleshooting

You can ampy run test_pn532.py to check for communication with the NFC module. If you don't see

Found PN532 with firmware version: 1.6

(or other version), the wiring is probably not quite right yet.

License

This work is licensed as CC-BY-NC-4.0

Credits

Thanks to

  • @3DCoded for testing, ideas and development assistance
  • @nom3rcy. for the idea to use a dedicated microcontroller to avoid long wire runs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages