Thought I would share a project I am close to finishing. A sliding barn door controlled by a stepper motor, a TM2209 FYSETC 3.1 (should work with any 2209) , an ESP32CAM, a 12V power supply, 12V to 5V solution and some jumper wires.
Stall guard might not be enough for precise and consistant positioning, but seems to be good at stopping a door when it gets to the end of it’s path, or stopping when colliding with someone. This is the basic concept behind this. Very silent too.
From working with the ESP32 CAM it is certainly capable of driving multiple 2209s using one wire UART mode, you could in theory have a version of marlin running on one. Very powerful little device.
Arduino code: (Needs some common downloaded libraries.)
Pretty new must say: (new html stuff, can go to X)
BarnDoor1.5.zip (8.9 KB)
Even Newer than that Version: (adds limit by steps)
BarnDoor1.4.zip (8.1 KB)
Newest Version: (Adds progress bar for OTA and mis tweeks.)
BarnDoor1.2.zip (7.5 KB)
Newer Version: (Adds json communication of settings.)
BarnDoor.zip (6.8 KB)
New version: (Adds log to the web page, misc tweaks)
barndoor.zip (6.5 KB)
barndoor.zip (5.5 KB)