Latest Review:

Snapmaker J1S

Read more...

Learn

Occasionally I make videos and other content to explain a concept, module, or tool.
This is where you find them in one place...

A guide to sensorless homing for RP2040 microcontrollers, showing no limit switches are needed with these components.
By Lewis February 24, 2026
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! Why would we want to use sensorless homing? Well first the Pros…. There’s no need for extra mounts, additional components or running long dangling cables to one or both ends of the carriage or other moving component. And there are always cons, so in this case you’ll need a stallguard-capable driver (they cost a little more and are only manufactured by Trinamic) and accuracy isn’t great at slow speeds.
By Lewis February 3, 2025
In this guide, I’ll show you how to use the HC-SR04 ultrasonic sensor to measure distances and detect objects using an Arduino or another microcontroller.
A blue TXS0108E logic level converter module shown with a green label indicating 5V to 3.3V conversion capabilities.
March 3, 2021
A logic level shifter is a great tool to have in your arsenal as a maker. They are fantastic at helping to bridge the gap between 3.3v logic devices (such as Raspberry Pi's and some sensors) and 5v logic devices such as Arduino Uno's. In this post I'll explain the TXS0108E shifter by Texas Instruments. It's cheap enough to have several to hand for when you need it next. To follow along with the example project in the video you will need a few items, the links automatically redirect you to right item on your local Amazon site: (As an Amazon Associate I earn from qualifying purchases.) TXS0108E Logic Level Shifter: https://geni.us/TXS0108E-Shifter Raspberry Pi: https://geni.us/RaspberryPiV4 Arduino Uno: https://geni.us/ArduinoUno Jumper wires: https://geni.us/JumperWires Breadboard: https://geni.us/MiniBreadboard
A TCRT5000 infrared sensor module on a blue circuit board with a potentiometer and four-pin connector.
July 17, 2020
A brief overview of the TCRT5000 Reflective infrared sensor.
A hand holds colorful electrical wires with Dupont connectors, with a crimping tool visible above a
July 16, 2020
How to quickly and easily crimp your own Dupont style connectors.

Please consider supporting DIY Machines

A black and white line-art icon of a person wearing glasses and a necktie.

Become a Patreon

Help support me by becoming a Patreon.

https://www.patreon.com/diymachines 

A simple black line icon of a headset with a microphone, representing customer support or communication.

Subscribe and share

Share projects with friends and family if you think they'll enjoy it. Spread the love.
A blue mug with a white handle, featuring a circular logo with the text
More ways to help...