A
A
AnotherAnkor2018-12-06 21:26:11
ruby
AnotherAnkor, 2018-12-06 21:26:11

How to control two steppers and raspberry servos?

I bought a stepper motor hat v0.1 on Ali. Downloaded the library to manage them. Almost works.
Almost, because the mg996r requires 6 volts and up to 900 milliamps to power it (which means 2 of them), while I need 2 more nema 21s, each of which consumes 12 volts and up to 3 amps.
What could be replaced or how could the piece of iron be changed so that all of the above could be used?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrei, 2016-04-19
@akeylink

QtRuby - abandoned, no longer developed!
If you need Qt and "break" to spend 2 years learning C ++ or just want a dynamic tool, then you need Python, because only it from all (after the "pluses") allows you to work with all the Qt toolkit, plus it will have a faster interpreter than in Ruby!
If you need Ruby then dig in the direction of Tk () - but I would not advise doing such things in Ruby ...

A
AntHTML, 2018-12-07
@AnotherAnkor

You have a high-voltage input on the board to power the motors, so connect 6V - 2A to one board, and 12V 5-6A to the second if you want to use them at their peak.
NEMA needs 4 control channels, so either 2 nema or 1 nema and 2 motors per board, but then only 6V will go to the nema

G
GavriKos, 2018-12-06
@GavriKos

Control and power the engines not directly, but through the decoupling. The simplest decoupling is what kind of mosfet thread.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question