Hi All,
I'm looking to replace a bunch of old legacy timers/oscillators with (hopefully) a single picaxe.
So, my question is, what's the best way to generate 1 or several frequencies from a single picaxe chip? (if possible)
FYI:
The current (legacy) oscillators are a mix of 555 timers and some ttl logic, there are various signals such as 300hz, 10khz and 500khz which then feed into an array of logic & control.
I imagine i probably wouldn't use something like the pulsout command due to some timing/looping issues???, so i figure i might just use simple commands such as "high" and low" on the chosen output pin with suitable pauses in between to create a balanced mark-space ratio.
Naturally the clock cycles in the "hi-low" loop would also need to be factored into the timing/frequency output required.
I'm certain to get 1 pin operating correctly, but trying to get 3 or 4 pins all outputting differing freq's might be the big challenge.???
Has anyone done anything like this before?
Any pointers or snippets i can learn from would be most appreciated.
Thanx in advance,
Marty.
I'm looking to replace a bunch of old legacy timers/oscillators with (hopefully) a single picaxe.
So, my question is, what's the best way to generate 1 or several frequencies from a single picaxe chip? (if possible)
FYI:
The current (legacy) oscillators are a mix of 555 timers and some ttl logic, there are various signals such as 300hz, 10khz and 500khz which then feed into an array of logic & control.
I imagine i probably wouldn't use something like the pulsout command due to some timing/looping issues???, so i figure i might just use simple commands such as "high" and low" on the chosen output pin with suitable pauses in between to create a balanced mark-space ratio.
Naturally the clock cycles in the "hi-low" loop would also need to be factored into the timing/frequency output required.
I'm certain to get 1 pin operating correctly, but trying to get 3 or 4 pins all outputting differing freq's might be the big challenge.???
Has anyone done anything like this before?
Any pointers or snippets i can learn from would be most appreciated.
Thanx in advance,
Marty.