Hello, I am French and I looked the forum which is full of interesting things.
I will test your program for engines.
I have 2-wire engines, voici le
lien du moteur , is it possible to modify the program for operation on these engines?
Can you explain the difference in your program with: const int stepPinPump_3 and const int enablePinPump_3
Thank you very much in advance.
Sacha
Hi Sasha! I am glad that you are interested in our forum and this topic
.
Change the code for two-wire motors is possible, but I do not think that it is necessary. It's just the stepper motors, it allows you to dose accurately. I guess I can try to fix the code, but for now there's no time for it.
If you have two-wire motors, then I advise you to pay attention to the topics:
https://reefcentral....ntroller/page-1- in this thread, a person wrote a program, including for a metering device on two-wire engines, and even with a touch screen . I collected this project, it works great.
As for the second part of the question:
const int stepPinPump_1 = 9;
const int stepPinPump_2 = 7;
const int stepPinPump_3 = 5;
- behind these variables is fixed its output arduino. This will output the motor pitch.
const int enablePinPump_1 = 8;
const int enablePinPump_2 = 6;
const int enablePinPump_3 = 4;
- for these variables is fixed its output arduino. This output is signaled to apply voltage to the motor windings and remove it, to save electricity and not to overheat the driver.
Sorry for my English, I used an interpreter. I hope I answered your questions

.