ReefRhythm - Advance Stepper Motor Controller with OpenSource

BDH

New Member
View Badges
Joined
Feb 5, 2024
Messages
7
Reaction score
5
Location
57110
Rating - 0%
0   0   0
You don't really, as the tubing also plays a part here. Using different tubing (e.g. a stiffer rubber) may work.

Most pumps of this fashion require some calibration to ensure more equal flow rates.
This makes sense. And of course I can change the flow rate with the controllers if I go with the two pump system. I was just surprised at how far out they were, all other things being equal.
 

BDH

New Member
View Badges
Joined
Feb 5, 2024
Messages
7
Reaction score
5
Location
57110
Rating - 0%
0   0   0
In my opinion, the idea of a pump with double tubing only fits laboratories where lines are short, etc.

About your issue, I think pumps have different performance because of the of the tubing in pumps and the different line lengths.
But everything can be calibrated. Just calibration should be performed with a real setup. And if you have 2 pumps, for refilling and draining, they can be calibrated separately and it should solve the problem or at least make it less inaccurate
Very true. Once calibrated, do you find that they hold their calibration indefinitely, or is it something that will require frequent checks?
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,001
Reaction score
3,386
Location
Sacramento, CA area
Rating - 0%
0   0   0
Very true. Once calibrated, do you find that they hold their calibration indefinitely, or is it something that will require frequent checks?

Periodic calibration is required - the tubing will stretch and deform, and there is bio-fouiling, but the difference may equalize if both pumps are running the same amount.
 

Danchik

New Member
View Badges
Joined
Jul 17, 2018
Messages
11
Reaction score
0
Location
UA
Rating - 0%
0   0   0
Hello @yury88 ,

I received the driver and controller board, connected it, and configured the driver itself according to your scheme.
I have another problem...
Do you have any detailed instructions on how to configure and install the firmware on the ESP32-S3? Unfortunately, I don't understand it...

And what files from the latest version do I need to download from GitHub?

P.S. esptool and python are installed
 
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
154
Reaction score
111
Location
indo-pacific
Rating - 0%
0   0   0
Hello @yury88 ,

I received the driver and controller board, connected it, and configured the driver itself according to your scheme.
I have another problem...
Do you have any detailed instructions on how to configure and install the firmware on the ESP32-S3? Unfortunately, I don't understand it...

And what files from the latest version do I need to download from GitHub?

P.S. esptool and python are installed
Hi, follow the steps in video:

Link is always going to latest stable vestion.
Current is v0.9.4-master-20240509

Boot mode -keep pushing boot button and connect to usb. Or keep pushing "boot" button and push "reset".
After you can release buttons and flash by command


 
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
154
Reaction score
111
Location
indo-pacific
Rating - 0%
0   0   0
hello, nice project.

i have a setup with A4988 IC like that, but with 24v psu:
Esp32_A4988

is this setup compatible with your project?
Oh no. These are usual drivers that controlled directly by Step impulses.
These project works currently only with smart drivers MKS Servo42C

Its kinda complicated to make project like that with Step/Dir drivers without overpowered single board computer like raspberry pi.

Maybe I will support TMC drivers latter in "next gen" of this project, but its will be also some kinda smart drivers like TMC2209 with UART command support.
Mostly is needed only for supper compact builds with micro pumps. For usual size builds no reason to use old style drivers.
 

Danchik

New Member
View Badges
Joined
Jul 17, 2018
Messages
11
Reaction score
0
Location
UA
Rating - 0%
0   0   0
@yury88
I installed the firmware, thanks)

If I have a stepper motor (17HS4401S-XH-2.54) for 1.5A
and there is no such current value in the settings.. there is 1.4A or 1.6A, then what value should I set... 1.4A?

Regarding MQTT, I did not understand the settings... what data should be specified for:
MQTT broker
MQTT login
MQTT password

And as for the time settings... is there no option for summer and winter time? To avoid switching between time zones in the future(
 
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
154
Reaction score
111
Location
indo-pacific
Rating - 0%
0   0   0
This stepper drivers support current with 200ma steps. So you can set up 1600ma. Don't worry to much because these drivers do not use extra power if its not needed. It's more like "current limit".

Mqtt broker- IP/Domain name of your broker
Login/password...

About Summers/winter time. If you know how complicated to implement this.
So many countries... :)
But I'll think about these feature
 

Danchik

New Member
View Badges
Joined
Jul 17, 2018
Messages
11
Reaction score
0
Location
UA
Rating - 0%
0   0   0
@yury88
I faced another problem... under any settings, the stepper motor does not spin... it feels like something is blocking it... I can feel it with my hands that it is darting from time to time.
I've already tried to swap the outside wires in the loop between the driver and the motor, as well as the internal wires, thinking that maybe there is a difference where the wire comes from.

But in the driver settings “Calc” the calibration process is normal, a couple of seconds in one direction and then scrolls in the other.


Perhaps some settings have not been made yet...?
 
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
154
Reaction score
111
Location
indo-pacific
Rating - 0%
0   0   0
Just in case restart full setup by power.
Maybe you enabled UART mode of driver and do not restar setup?
This mode start working after restart. I will add this into instruction.

Than, if it's not moving check RX TX wiring, Driver Settings again.
 
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
154
Reaction score
111
Location
indo-pacific
Rating - 0%
0   0   0
About Driver+Motor setup- if its moving by driver "calibration", clockwise and than counterclockwise-its totally correct setup, no need to do with motor anything.
 

Danchik

New Member
View Badges
Joined
Jul 17, 2018
Messages
11
Reaction score
0
Location
UA
Rating - 0%
0   0   0
Just in case restart full setup by power.
Maybe you enabled UART mode of driver and do not restar setup?
This mode start working after restart. I will add this into instruction.

Than, if it's not moving check RX TX wiring, Driver Settings again.
The settings are all saved in the driver according to your instructions, as well as the "CR_UART" mode.

What did I notice.. when there is voltage on the driver and the controller, I can't turn the motor shaft with my hands, it's blocked, that's how it should be..?
But if you turn off the voltage, the motor unlocks and the rotor spins easily.

The contacts between the driver and the RX and TX controller are present and soldered
 
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
154
Reaction score
111
Location
indo-pacific
Rating - 0%
0   0   0
The settings are all saved in the driver according to your instructions, as well as the "CR_UART" mode.

What did I notice.. when there is voltage on the driver and the controller, I can't turn the motor shaft with my hands, it's blocked, that's how it should be..?
But if you turn off the voltage, the motor unlocks and the rotor spins easily.

The contacts between the driver and the RX and TX controller are present and soldered
Yep, its correct that rotor is "Blocked".
When driver is powered on its keep position of rotor.

Can you make photo of your wiring?
Controller Rx should be connected to Tx of driver
Controller Tx to Rx driver
 
Last edited:
OP
OP
yury88

yury88

Active Member
View Badges
Joined
Oct 21, 2023
Messages
154
Reaction score
111
Location
indo-pacific
Rating - 0%
0   0   0
And if you have only 1-pump setup your driver Uart_addr should be 0xe0.
Pump 1 will control 0xe0 Driver
Pump 2 will control 0xe1 Driver
 

Freshwater filter only or is it? Have you ever used an HOB filter on a saltwater tank?

  • I currently use a HOB filter on my reef tank.

    Votes: 33 28.9%
  • I don’t currently use a HOB filter on my reef tank, but I have in the past.

    Votes: 21 18.4%
  • I have used a HOB on fish only or quarantine tanks, but not on the display tank.

    Votes: 28 24.6%
  • I have never used a HOB on a saltwater tank.

    Votes: 30 26.3%
  • Other.

    Votes: 2 1.8%
Back
Top