Hi d0ughb0y!
I have trouble with configuration with 4 dosers.
As I check shematics documentation there is still doser 2 connected to pin D45 asd doser 3 connected to pin D44
Still in your last sketch code you are using pins
PORTG|=_BV(PG0); pin 41
PORTG|=_BV(PG2); pin 39
PORTG|=_BV(PG1); pin 40
PORTL|=_BV(PL7); pin 42
So I guess pins 40 and 42 should be used for doser 2 and 3 ?
Anyway I recconect doser 2 and 3 to correct pins still when I reset
controller all pumps are off still when I want to calibrate doser 0 and 1 everything works OK and correct
still with doser 2 and 3 I start calibrating and pumps start to spin but whatever I do they don't stop until next reset of controller?
What could be the reason for that? Strange really ?
in config.h I use:
#define _DOSER
#define MAXDOSERS 4
and
#define DOSERDEFAULT {"Cal",24,12,0,0,100,500},{"Alk", 24,12,0,10,100,500},{"Bux",24,12,0,0,100,500},{"Mg1", 24,12,0,10,100,500}
I hope this is ok default settings?
I have trouble with configuration with 4 dosers.
As I check shematics documentation there is still doser 2 connected to pin D45 asd doser 3 connected to pin D44
Still in your last sketch code you are using pins
PORTG|=_BV(PG0); pin 41
PORTG|=_BV(PG2); pin 39
PORTG|=_BV(PG1); pin 40
PORTL|=_BV(PL7); pin 42
So I guess pins 40 and 42 should be used for doser 2 and 3 ?
Anyway I recconect doser 2 and 3 to correct pins still when I reset
controller all pumps are off still when I want to calibrate doser 0 and 1 everything works OK and correct
still with doser 2 and 3 I start calibrating and pumps start to spin but whatever I do they don't stop until next reset of controller?
What could be the reason for that? Strange really ?
in config.h I use:
#define _DOSER
#define MAXDOSERS 4
and
#define DOSERDEFAULT {"Cal",24,12,0,0,100,500},{"Alk", 24,12,0,10,100,500},{"Bux",24,12,0,0,100,500},{"Mg1", 24,12,0,10,100,500}
I hope this is ok default settings?