Triangle wave function generator?

I need to duplicate a cam sensor signal (no corresponding crank, just a cam signal) , max of 1kz.

There are 24 pulses, then a #1 indicator which is basically a "half" pulse (half in amplitude) in-between 2 normal pulses that sort of ties into the pulse after the "half" indicator pulse. If needed, I can get a pic from the scope.

I'm sure there has to be something like this out there to save me the time of developing it (Google showed a lot of wave generators, but nothing I found with the one indicator pulse), but is there a "best" one for my case that would be mostly "plug and play?" I would like to vary the frequency to get an RPM range function (simple POT or encoder).

I'm assuming there are 2 primary methods: DAC converter or PWM and a filter. I'm all for simple on this one, and this is the only job the micro would be doing. Oh, I plan on using a Nano, but I'm flexible.

Thanks in advance.

It depends.

"If needed, I can get a pic from the scope."

Yes, please or some detail about the triangle wave pulses. Accuracy, &c bury me.

Otherwise it's all straight ahead.

a7

Have you looked at an arbitrary waveform generator? Not knowing the details, I would take a SWAG and say you are looking at a crankshaft position signal.

Didn't meant to post and run, I just got SWAMPED after I started this thread. I'll pick it up next week.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.