201 Nextion and Arduino controlling a TB6600 stepper board

Поделиться
HTML-код
  • Опубликовано: 8 сен 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 RUclips 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 👍

  • @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.

  • @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 6 месяцев назад +1

    why we are using 2 serial

    • @CheapControls
      @CheapControls  6 месяцев назад

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