Code for DC return pump

Do you have a question on how to do something.
Ask in here.
Ismaclst
Posts: 250
Joined: Wed Jan 28, 2015 5:17 pm

Re: Code for DC return pump

Post by Ismaclst »

Ismaclst wrote:Ok, so I found a design flaw in the DCT pumps. It doesn't retain the speed you had when you lose power to the pump. When it starts back up it is on max speed. This is a problem for me because I restrict my drain so I can create a full siphon. Thankfully, I used the code Roberto gave me to shut off my pump when my overflow reaches a certain height. But this just creates a cycle of off and on on my pump since it is running at max speed. Has anybody heard if Jebao fixed this in a new controller? I don't want to have this happen when I'm away for an extended period of time.

I contacted fish street, who I bought this from, about the problem. They are going to send me an updated controller that fixes this issue.
Image
Ismaclst
Posts: 250
Joined: Wed Jan 28, 2015 5:17 pm

Re: Code for DC return pump

Post by Ismaclst »

jegillis wrote:So the code works to output the correct signal from the low ato port

Running into another problem in that I need to run through my loop as close as possible to every 20ms for this to work which is not happening.

otherwise all I get is random jitters from the motor

code examples I have found have sketches that control only the motor and add a 20ms delay in the loop. Is their a way to determine how long it takes to run through the loop?
Any other ideas?
Did you ever get this to work correctly?
Image
Post Reply