karimwassef
Active member
I haven't opened it up.
I guess I like the idea of overriding the controller because it guarantees compatibility.
I guess I like the idea of overriding the controller because it guarantees compatibility.
DCT.
Can you read what motor controller chip they used on the CP-40 and DCT controler?
Apologies if this question has already been asked.
I'm looking at the schematic and can see the ATO1 and ATO2 connections to the Arduino. What I can't see is the schematic for the float switches. What I would like to understand is whether pull-up or pull-down resistors are used as I can't see the code for using the internal pull-up circuitry.
Can anyone help?
Thanks
void initATO(){
//ATO1 PK3 PCINT19
//ATO2 PK4 PCINT20
DDRK &= ~(_BV(PK3)|_BV(PK4)); //inputs
PORTK |= (_BV(PK3) | _BV(PK4)); //pullups
}
code in interruptsio.ino
Code:void initATO(){ //ATO1 PK3 PCINT19 //ATO2 PK4 PCINT20 DDRK &= ~(_BV(PK3)|_BV(PK4)); //inputs PORTK |= (_BV(PK3) | _BV(PK4)); //pullups }
----------------
Go Sharks!
Go Warriors!
Thanks for highlighting code. So I am assuming you are using the pullups within the Arduino. In other words you are not using external resistors to perform this? Can you please confirm?
Thanksyes, that is correct. so you connect the ATO wire to the arduino pin and the other to ground.
----------------
Go Sharks!
Go Warriors!
The DCT pumps DO ramp up on start. The run dry feature is in the pump. To reset it if it runs dry you have to unplug the pump from the controller for a few seconds and then connect it back up.
I would assume that the impedance of the coils change if they're turning without resistance? You can compare the amplitude and phase of the voltage and current.
Or, they may just have a temperature sensor.. Run dry gets hotter faster?
They may just look at the amount of feedback voltage (or frequency) that occurs on the power line of all DC devices. A turning rotor will produce a feedback pulse that can be used to determine if the rotor is turning. If it's not turning then no feedback pulse.
They may just look at the amount of feedback voltage (or frequency) that occurs on the power line of all DC devices. A turning rotor will produce a feedback pulse that can be used to determine if the rotor is turning. If it's not turning then no feedback pulse.
If I understand this correctly, the soft start is really due to it not using hall sensors (physical limitation), so it has to ramp up spinning and is not some nifty feature jebao invented and added to the pump.
Any magnet (electro or otherwise) produces a back voltage pulse as it passes the center pole of the opposing magnet.
A dry pump (or one sucking in air due to low water) would have very little resistance to the change from full water resistance to air water combined or air only. This would result in many changes that could be measured. Change in pulse frequency, reduction in current, lower pulse amplitude (due to reduced resistance), etc... These are all measurable on the power line and could be used to detect dry pump conditions.