I'm new here, so please be gentle with me. No yelling, OK?
Basically, a project to control the signals on my model railway layout. Each signal will be driven by a PICAXE-20M. Train detction at that signal doe by and LDR (Light Dependant Resistor) between the rails and using READADC to determine the presence of the train.
I need to indicate to the prior signal, the state of the current signal. i.e. red, yellow, or green. so the PRIOR signal can switch accordingly.
To do this, I've decided to use the PULSIN and PULSOUT. PULSOUT of different lengths to indicate what the colour is.
What sort of accuracy would I get testing the length of a PULSOUT using another processor? (PICAXE-20M)
If I PULSOUT = 300, will I get a reading of 300 on the PULSIN on the other processor? 300? Always? Everytime? Or do I need to build a bit of tolerance into it, and test for a range. i.e. >280 & < 320. for a PULSOUT of 300. If I do need some tolerance. How much tolerance?
Thanks in advance for any help.
Basically, a project to control the signals on my model railway layout. Each signal will be driven by a PICAXE-20M. Train detction at that signal doe by and LDR (Light Dependant Resistor) between the rails and using READADC to determine the presence of the train.
I need to indicate to the prior signal, the state of the current signal. i.e. red, yellow, or green. so the PRIOR signal can switch accordingly.
To do this, I've decided to use the PULSIN and PULSOUT. PULSOUT of different lengths to indicate what the colour is.
What sort of accuracy would I get testing the length of a PULSOUT using another processor? (PICAXE-20M)
If I PULSOUT = 300, will I get a reading of 300 on the PULSIN on the other processor? 300? Always? Everytime? Or do I need to build a bit of tolerance into it, and test for a range. i.e. >280 & < 320. for a PULSOUT of 300. If I do need some tolerance. How much tolerance?
Thanks in advance for any help.