Buzby
Senior Member
Hi,
I'm looking at using the PICAXE 18X running at 4MHz to monitor two digital inputs which are repeatedly changing state every 8 seconds, at approximately the same time as each other within a 2 sec window. ( i.e. one might change at 7.65 sec and the other at 9.20 sec, then again at 17.30 and 15.85, a bit like times on a stopwatch for two runners.)
The PICAXE will record the timestamp at which each input changes, then send these values out over a serial port. I know this task is fairly simple to code, but how fast will a PICAXE be able to this ?.
The time difference between the inputs could be from zero to 2 seconds , and I need results to a resolution of 5ms or better.
Am I on a hiding to nothing if I try to use a PICAXE for this task ?.
( The reason I looked at PICAXE is becase the project board is exactly what I need, no having to build any extra gubbins. I need 12 of these, so the less hardware mods the better !.)
I'm looking at using the PICAXE 18X running at 4MHz to monitor two digital inputs which are repeatedly changing state every 8 seconds, at approximately the same time as each other within a 2 sec window. ( i.e. one might change at 7.65 sec and the other at 9.20 sec, then again at 17.30 and 15.85, a bit like times on a stopwatch for two runners.)
The PICAXE will record the timestamp at which each input changes, then send these values out over a serial port. I know this task is fairly simple to code, but how fast will a PICAXE be able to this ?.
The time difference between the inputs could be from zero to 2 seconds , and I need results to a resolution of 5ms or better.
Am I on a hiding to nothing if I try to use a PICAXE for this task ?.
( The reason I looked at PICAXE is becase the project board is exactly what I need, no having to build any extra gubbins. I need 12 of these, so the less hardware mods the better !.)