The PLL suggestions seems tricky. I remember a thread about some major PLL-problems a few weeks back... Ill take a quick look at it just to see whats involved :-) The f/v and v/f method is one nice way.. no PIC tho ! ;-) First I'll try to just send out 8 fast pulses for each 0-50 hz pulse if that doesnt work. I think i'll go for this suggestion. It doesn't sound simple to program at all, but hopefully doable :-) It will be done in a F877 since I have a few of those. Indeed all nice suggestions ! thanxs guys > That means you can time one cycle, divide the time by > eight and generate evenly spaced pulses while you time the next > incoming cycle. >If the incoming frequency varies by more than 1/8 > you have a theoretical problem (you haven't finished sending the > last lot before you need to start over). Again, in practical terms, > who cares as long as you are looking for a frequency output, not an > absolute number of pulses. > The times are relatively long so it would be fairly simple to > implement as a couple of software timing loops in a 12C508 and > absolute frequency isn't an issue so the internal RC oscillator > would be fine. > > Steve. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics