201 Nextion and Arduino controlling a TB6600 stepper board

Поділитися
Вставка
  • Опубліковано 16 вер 2024
  • There is a blog post that accompanies this video. It contains the HMI at www.cheapcontrols.com. I ask for a small donation if you download the code, but nothing stops you from downloading it for free.
    This is an update to a previous video. I add delimiters to the commands. I use microseconds to control the asynchronous delays to speed up the motor. I also added feedback from the Arduino to let the Nextion know the current status.
    If you think this tutorial is helpful, please support my channel by subscribing to my UA-cam channel or using the Amazon/eBay/ClouDNS Affiliated links below. I will get a small commission from your purchase to grow my channel:
    Nano Every - amzn.to/3PHc7CP
    generic nano - amzn.to/44gj3e9
    Nano shield - amzn.to/3Js8T22
    stepper motor - amzn.to/3Xi3Era
    TB6600 driver - amzn.to/3NnuSZ5
    4.3" display -- amzn.to/3IWBsEo
    7.0" display amzn.to/3C99zVT
    2.8" display amzn.to/43lfxPl
    00:35 - Review old video(151) configuration
    03:20 - New - Nextion Configuration
    08:10 - New - Arduino Configuration -- Command Structure
    13:10 - New - Arduino Configuration -- Feedback Portion
    14:30 - New - Arduino Configuration -- Microsecond Async Delay
    18:00 - Show Functioning - Slow
    20:50 - Show Functioning - Fast
    23:15 - RECAP

КОМЕНТАРІ • 12

  • @freytube1
    @freytube1 11 місяців тому +1

    Nice job. Been using t6600 w external pwm controls on my metering system pumps. Looking forward to use your code 👍

  • @gabrielvargas1952
    @gabrielvargas1952 Рік тому +1

    Excellent video friend, I did something similar but my slider starts at zero and as I increase the motor speed increases, turning in only one direction, my question is why when I want to control two motors they interrupt each other when both are on at different speeds controlled with their slider individually..??

    • @CheapControls
      @CheapControls  Рік тому

      I am not sure. Are you using delay statements or asynchronous control?

  • @sahanipriyanka9113
    @sahanipriyanka9113 7 місяців тому +1

    why we are using 2 serial

    • @CheapControls
      @CheapControls  7 місяців тому

      One for the connection to the display and one for the programming port.

  • @VoidGamingOG
    @VoidGamingOG Рік тому +1

    thank you mate

    • @CheapControls
      @CheapControls  Рік тому

      You are welcome.

    • @VoidGamingOG
      @VoidGamingOG Рік тому

      I was wondering how can we add some simple things like i wanted to add a uv light on off switch and a spray button by using a simple spray motor, i want to control that using same code and same page on the display. Can you help with that?

    • @CheapControls
      @CheapControls  Рік тому

      @@VoidGamingOG You can request help over at www.cheapcontrols.com in the need help section.

    • @VoidGamingOG
      @VoidGamingOG Рік тому

      @@CheapControls i just needed some help on the file you mailed me, if you could edit those with these changes ?

    • @CheapControls
      @CheapControls  Рік тому

      @@VoidGamingOG I get a lot of emails and requests for help. I apologize that I can not remember this one. Please send me the file back in the same email and I will take a look at it.