saturn1bguy asked:
Do you really need to log voltages with the BS2? Why not just use the BS2 to count the frequency of the input signal directly?
I tried counting pulses with the BS2. It worked sorta-kinda. My original intent was (still is) to count or measure the pulses coming from the ignition of my Harley Sportster, from the same point that the tachometer is fed,
but after the voltages were reduced to the counting circuitry, to about 4 volts. Those pulses come from the primary side of the ignition coil (transformer), and are a little ragged.
(The BS2did a poor job of counting the pulses that came directly from the ignition coil. )So I tried to clean them up with a Schmitt trigger, which didn't work as expected. I tried clippers and clampers and a monostable MV to get those pulses just right for the BS2, but the BS2 seemed to get mixed up easily in the counting process and I ended up with counts that didn't make any sense and didn't follow anything proportionate to the input counts. So I've given up on that for the time being, maybe I'll go back to it.
Now I'm trying to convert the pulses to a varying dc voltage using the LM-2917, which is how some tachometer circuits operate (LM2917 was intended for that, I guess). Then, using a ADC-0831, convert the varying dc to digital, store that data on BS2's EEPROM, then bring that stored data into my desktop PC so I can monkey around with the data on a spread sheet or some other software. I want to develope a torque/horsepower curve (whew)
There are other ways of doing it, too. Using magnets with a Melexis magnetic detection circuit. I'll probably try that method out someday.
It's a long learning process, I'm a retired guy with some time on my hands, and learning to work with microcontrollers has become an interesting hobby. It keeps an old man busy, and out of his wife's hair.
Patrick