Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Mastering Trinamic Stepper Motor Drivers with Arduino
Rating: 4.2 out of 5(47 ratings)
261 students

Mastering Trinamic Stepper Motor Drivers with Arduino

Learn to Use Trinamic Stepper Motor Drivers and Control them Wirelessly in Arduino
Created byDaniel Frenkel
Last updated 6/2023
English
English [Auto],

What you'll learn

  • Understand Trinamic Stepper Motor Drivers in Standalone Mode
  • Learn to program all Trinamic drivers via SPI and UART
  • Master StallGuard and throw away your limit switches
  • Use the ESP32 to wirelessly control your stepper motor over Wi-Fi

Course content

5 sections15 lectures2h 28m total length
  • Instructor Introduction1:06

    Daniel Frenkel introduces two dynamic stepper motor drivers and teaches you to understand and master them with Arduino, showing a real sliding door opener project.

  • Required Components7:50

    Click on the Resources folder in the Course Content to view the links to purchase all boards.

  • Breadboard Setup4:07

    This is how you should set up your breadboard

  • Power Requirements12:04

    Understand how current sense resistors set max current and torque on tmc2209 boards, calculate rms current and peak via 1.41, and balance power supply and voltage range for optimal torque.

  • Breadboard Test2:16

    Conduct a breadboard test with an Arduino using the Stepper Test IA sketch from GitHub; enable the driver and set step and direction pins as outputs to spin the motor.

Requirements

  • Basic understanding of Arduino

Description

Trinamic stepper drivers are the most advanced, yet affordable, stepper drivers on the market. They have all kinds of amazing features such as StallGuard which can detect when something is pressing against the motor. However, these drivers are difficult to understand and set up.

In this course, I will show you how to become a master with these drivers and write your own firmware in Arduino. We will also learn Blynk in order to control our motors over WiFi.

1) First, we will discuss the basics of a stepper motor and how they work.

2) Then we will dive into controlling the TMC2209 via UART both manually as well as with the TMCStepper library. This will allow you to set different settings such as current and stall settings.

3) Then we will explore the AccelStepper Library where I will show you how to use it to control the motor with advanced positioning. You will be able to accelerate and decelerate your motor to a position, speed it up and slow it down, and control it as precisely as you want.

4) Finally, we will quickly cover Blynk, where I will show you how to build a custom Android or iOS app to control your stepper motor over WiFi.

Who this course is for:

  • Anyone wanting to learn to use Trinamic stepper drivers