How long does it usually take to learn how to program one? So if I understand you correctly you are saying I should cease looking at discrete components to do this task and concentrate on learning how to use a microprocessor to do it.
Well, that's my thought, but I'm somewhat familar with microprocessors.
It's difficult to say how long it would take. Depends upon if you have ever done any programming. Basic is probably the easiest to learn as it uses common English words and syntax that's relatively easy to understand. It's the only thing I've used for µPs. You might Google some tutorials on Basic Programming Language to see how it looks to you. I leave C and Assembly to the experts. Those are like learing a foreign language.
My feeling is that, since there's a sequence of events that need to be perfomed involving making decisions, it seems like a discrete design would be fairly complicated. Offhand, it would require a sweep circuit, a method of detecting the peak voltage (perhaps a differentiator), some comparators to control sweep direction, etc.
To get an idea of what's involved in programming you can also look at
PIC tutorials:
Gramo's:
www.digital-diy.net/
Bill's:
www.blueroomelectronics.com/
or at
www.Parallax.com for info on Stamp processors. I've used a Stamp processor to program a project in Basic and it was reasonably simple. You just plug the Stamp board into you computer and start programming. PIC has programming tools that are similar I believe.
If you think you will be doing more circuit design in the future you should strongly consider learning about microprocessors, since there's so much that's easy to to with a µP but difficult or perhaps impossible to do with discrete circuits. Basically you substitute software for hardware.