Stepper duonext
Overview
The Stepper Duonext is a dual stepper motor controller combining a touch screen Nextion display with and Arduino microcontroller.
This is an excellent unit for controlling stepper motors where human-machine interaction is involved. Nextion displays uses a really intuitive software to build your own application.
Note this unit does not support G code and Gerbl. This product focuses mainly on human interface via the touch screen display.
Touch screen display and motor drivers are sold separately.
Technical Specifications
- Input power: 12Vdc
- Motors: 2
- Supported drivers: A4988 or similar / Generic
- On/Off switch
- USB port for both programming and serial communications.
- Serial port for connection with Nextion display.
- Supported Nextion display: Any 3.2" can be mounted. NX4024T032 / NX4024K032
- I2c Port
- 6 Digital I/O for sensors/relays etc.
- 2 Analog Inputs.
Nextion Display
The 3.2" display are compatible. These are models NX4024T032 and NX4024K032.
The display application is build using the Nextion software. If you are new to this this is something worth learning as the potential is great.
The Nextion application file is loaded on the display using SD card.
Arduino
Edit your own sketch and upload it directly to the Duonext using the USB connection.
Motors - Motors are easily programmed using the StepperUNO library. Feel free to download it and look at the examples.
Interaction with Nextion - For this we recommend the NeoNextion library from this Github page.
Drivers
The Duonext comes in 2 options for drivers.
- A4988 (or similar)
- Generic Driver
A4988
This option allows to mounted the driver directly on the Duonext and connect the motor to the 4way connector.
We have tested 2 drivers with this format.
- A4988. The A4899 driver works well for higher speed requirements. This is an inexpensive unit.
- TMC2225. The TMC2225 as the same format as the A4988. This one is better suited for positioning control and is very silent.
Generic Driver
This option allows to connect any external driver using step/dir/enable wires. Connection is made using screw terminal connectors.
Application Examples
We provide a set of application examples. These are voluntarily simplified to be as demonstrative as possible.
Basic Example
This would stand as the hellow world equivalent for the Dunext. 3 buttons. Go left/right and stop.
Positioning Example
A plain positioning application. Start the motor with fast or slow speed. There are 2 memories to store a position to be called back later. Use "Sto" to store the current position in memory and use "Call" to move the motor to the position stored in memory.
The current position is shown at the top.