201 Nextion and Arduino controlling a TB6600 stepper board

  Рет қаралды 2,389

Cheap Controls

Cheap Controls

Күн бұрын

If you want to support the site, consider clicking on the following affiliate link. amzn.to/4hvIK0L It helps even if you don't purchase the item. There is an HMI file at www.cheapcontrols.com. I ask for a small donation if you download the code, but nothing stops you from downloading it for free.
cheapcontrols....
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 KZbin 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

Пікірлер: 14
@freytube1
@freytube1 Жыл бұрын
Nice job. Been using t6600 w external pwm controls on my metering system pumps. Looking forward to use your code 👍
@CheapControls
@CheapControls Жыл бұрын
Hope you enjoy it!
@mrbarton20101
@mrbarton20101 Ай бұрын
Is it possible to do this with the one serial port on the Uno? Please advise. How would I change the code you provided. Thank you for your time.
@CheapControls
@CheapControls 29 күн бұрын
The uno is pretty close to the nano. The code should work on the uno. The reason that I use a second serial is that I want to use the primary serial as a debug for data in the serial monitor of the Arduino IDE. You could connect the basic serial port up to the Nextion and not use it to send informational messages back to the IDE. But, you would need to unhook the Nextion display while uploading the code from the IDE to the Arduinio and then plug the display back in after the upload is completed. You would have to comment out all references to "Serial" and then change all the references for port Serial2 to Serial. At least I think that is what you would have to do. If you want more information or help go to www.cheapcontrols.com and submit a comment. I will reply.
@gabrielvargas1952
@gabrielvargas1952 Жыл бұрын
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?
@VoidGamingOG
@VoidGamingOG Жыл бұрын
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.
@sahanipriyanka9113
@sahanipriyanka9113 11 ай бұрын
why we are using 2 serial
@CheapControls
@CheapControls 11 ай бұрын
One for the connection to the display and one for the programming port.
139 The most awesome, Nextion control of Arduino control of PCA9685 PWM
19:43
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Stepper Drivers: Simplified!
24:56
eddietheengineer
Рет қаралды 10 М.
202 Python Nextion Connection
20:18
Cheap Controls
Рет қаралды 2,2 М.
137 Sending values and text #nextion to #arduino #tutorial
32:10
Cheap Controls
Рет қаралды 51 М.
Build a CNC Controller with Arduino, TB6600 and GRBL
14:19
Kalaakaar Makerspace
Рет қаралды 345 М.
Simplify Your Automation with the Best Stepper Motor Controller
11:10
Stepper motor control using Nextion HMI
15:21
Jared Hanson
Рет қаралды 1,6 М.