Hi,
I will be using a PICAXE-14M2 at 4Mz to pulse out 16 different pulses to to eight PIC-08 chips. Each PIC-08 will receive two of these pulses turning a latching solenoid ON and OFF. So when the 14-M2 pulses out for say 80ms the first of the PIC-08s will turn ON solenoid no.1 and when the 14M2 pulses out a 90ms pulse the first PIC-08 will turn OFF solenoid no.1.
Similarly when the 14M2 pulses out a 140ms pulse it will turn solenoid no.2 ON and when it pulses out a 150ms pulse it will turn solenoid no.4 OFF. etc, etc.
As far as I understand the range of the pulsout command goes from 75ms to 225ms at 4Mh. Is this correct?
If I instruct the pulsout command to deliver say a 150ms pulse to one of the 08 chips to turn a solenoid ON do I have to allow for "hysterisis"
and tell the pulsin command in the 08 chip to turn ON the solenoid if it receives a signal between 145 and 155ms. i.e.
if w1>145 and if w1<155 then solenoid ON
Is 5ms either side of the desired value sufficient or excessive? I won't have enough range for eight valves if I have to have a range of 5ms either side of a desired value.
Thanks for any help.
Regards
Dermot
I will be using a PICAXE-14M2 at 4Mz to pulse out 16 different pulses to to eight PIC-08 chips. Each PIC-08 will receive two of these pulses turning a latching solenoid ON and OFF. So when the 14-M2 pulses out for say 80ms the first of the PIC-08s will turn ON solenoid no.1 and when the 14M2 pulses out a 90ms pulse the first PIC-08 will turn OFF solenoid no.1.
Similarly when the 14M2 pulses out a 140ms pulse it will turn solenoid no.2 ON and when it pulses out a 150ms pulse it will turn solenoid no.4 OFF. etc, etc.
As far as I understand the range of the pulsout command goes from 75ms to 225ms at 4Mh. Is this correct?
If I instruct the pulsout command to deliver say a 150ms pulse to one of the 08 chips to turn a solenoid ON do I have to allow for "hysterisis"
and tell the pulsin command in the 08 chip to turn ON the solenoid if it receives a signal between 145 and 155ms. i.e.
if w1>145 and if w1<155 then solenoid ON
Is 5ms either side of the desired value sufficient or excessive? I won't have enough range for eight valves if I have to have a range of 5ms either side of a desired value.
Thanks for any help.
Regards
Dermot