Hi all,
Im currently playing around trying to make a device which outputs a certain pulsetrain.
The output needs to alternate, being high or low for exactly one or two milliseconds.
I have so far tried a PICAXE-18, but the actual pulses from this are more like 1.3ms output for a 1ms pulse in code and 2.5ms pulse output for a 2ms pulse in code. This was due to the timing inaccuracies in the Picaxe.
here is a snippet of my code:
So, I am after some opinions on what microcontroller I can use to provide these pulses exactly 1 and 2 ms long. The micro needs to be very stable, and will be exposed to a wide temperature range ( 0 - 50 *C )
Thankyou
Jamie
Im currently playing around trying to make a device which outputs a certain pulsetrain.
The output needs to alternate, being high or low for exactly one or two milliseconds.
I have so far tried a PICAXE-18, but the actual pulses from this are more like 1.3ms output for a 1ms pulse in code and 2.5ms pulse output for a 2ms pulse in code. This was due to the timing inaccuracies in the Picaxe.
here is a snippet of my code:
symbol sig = 1
start:
low sig
pause 1
high sig
pause 2
low sig
pause 1
high sig
pause 1
low sig
pause 2
high sig
pause 1
low sig
pause 2
goto start
So, I am after some opinions on what microcontroller I can use to provide these pulses exactly 1 and 2 ms long. The micro needs to be very stable, and will be exposed to a wide temperature range ( 0 - 50 *C )
Thankyou
Jamie