Sensorless Homing in Python - RP2040 | TMC2209
Use sensorless homing in your own projects!
In this video, I’ll show you how to set up sensorless homing using a TMC2209 stepper driver — no mechanical limit switches required! Perfect for 3D printers, CNC machines, robotics, and other DIY electronics projects. I’ll guide you through the wiring, Arduino code, and how to tune StallGuard for accurate, reliable homing. Whether you’re building a CoreXY, a custom motion control system, or just want to learn more about stepper motor drivers, this is a great place to start. Let’s build smarter!
List of items used in this project and where to find them:
■ Waveshare RP2040-Zero: https://geni.us/Waveshare-RP2040Zero
■ Mini560 DC-DC Buck Converter 5v: https://geni.us/Mini560
■ BIGTREETECH TMC2209 V1.3: https://geni.us/TMC2209
vMomentary Button: https://geni.us/6x6TactileButton
■ 1k Resistor: https://geni.us/Ufa2s
■ Sliding Switch: https://geni.us/SlideSwitchSPDT
■ Screw Terminal PCB Mount 5mm pitch: https://geni.us/PCBScrewTerminals
■ Headers and Pins: https://geni.us/HeadersAndPins
■ 3D Printer Filament: https://www.3djake.uk
■ Some M3x8 bolts: https://geni.us/NutsAndBolts
■ 12v Power Supply (2 amp+): https://geni.us/12VPowerSupply2A
The V3 PCB has been updated to also include a 35v 100uF Low ESR Capacitor (under the stepper driver) and a Diode (1N5819) to prevent the USB port from trying to power the stepper driver.
■ Andrea's Code: https://github.com/AndreaFavero71/stepper_sensorless_homing
■ MicroPython 1.24.1: https://micropython.org/download/PIMORONI_TINY2040/
■ Thonny Python IDE: https://thonny.org
Get Kit of parts from Etsy to build your own: https://diymachines.etsy.com/uk/listing/4326334730/sensorless-homing-electronics-kit
■ Projects PCB: https://www.pcbway.com/project/shareproject/Sensorless_Homing_in_Python_RP2040_TMC2209_dae5adca.html
INSTAGRAM: https://www.instagram.com/diy_machines
FACEBOOK: https://www.facebook.com/diymachines/
ETSY: https://www.etsy.com/uk/shop/DIYMachines
==========
List of camera and lighting equipment I use:
Sony A7 III: https://geni.us/Sony-Alpha7-III
Tamron 28-75mm F2.8 RXD A036SF Lens for Sony-FE : https://geni.us/TamronRXD-28-75mm
Aputure Amaran HR672C: https://geni.us/AputureAmaranHR672C
Aputure MC: https://geni.us/FAPGL
RØDE VideoMic Pro+: https://geni.us/RodeVideoMic-ProPlus
Philips Hue Lightstrip Plus: https://geni.us/PhilipsHue-LightStrip
Disclaimer:
This video is shared for demonstration purposes only.
Sensorless Homing in Python - RP2040 | TMC2209
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(1)
-
Engineer
Jul 03,2025
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Lewis DIYMachines
-
KINETIC COASTERS with a TWIST! Laser or 3D Print some DIY Magic
Today I’ll show you how to create these amazing self-moving Kinetic Coasters.I’ve created loads of d...
-
How To Make Neon LED Signs | Low Cost with Alexa, Hue & WiFi Controls
I’m Lewis, and this is DIY Machines. The channel where I show you step-by-step how to build your own...
-
Sensorless Homing in Python - RP2040 | TMC2209
Use sensorless homing in your own projects!In this video, I’ll show you how to set up sensorless hom...
-
Hollow Shadow Clock
3D Print and assemble your own Hollow Shadow Clock with amazing projections and magical motions! The...
-
3D Printable Modular Bluetooth Speaker System
At it’s core is the main speaker - everything is contained in this box including the Lithium Ion bat...
-
Filament Spool Smart Lamp - Hue, MQTT, Alexa & Sound Reactivity - ESP32 & Fusion 360 File
Over time I have collected a few empty spools, which, for some reason always seemed too good to just...
-
Desktop Neon Effect LED Signs
3D Print your own Desktop Neon LED SignHow to build a dimmable and portable customisable Neon Sign.T...
-
Giant Modular Seven Segment Display
For a recent project that I was working on I needed a large seven segment display. I could find some...
-
WeatherBot - 3D Printable Weather Forecasting Theatre | ESP32 & OpenWeatherMap
How to 3D Print / Laser cut an ESP32 WiFi connected Weather Forecasting Theatre with E-ink Display.M...
-
GeoLeaf - DIY Smart modular LED Light panels
How to build a very smart and low cost geometric lighting system. This project was sponsored by PCBw...
-
-
AEL-2011 Power Supply Module
320 0 1 -
AEL-2011 50W Power Amplifier
292 0 1 -
-
-
Custom Mechanical Keyboard
562 0 0 -
Tester for Touch Screen Digitizer without using microcontroller
228 2 2 -
Audio reactive glow LED wristband/bracelet with NFC / RFID-Tags
233 0 1 -
-
-







