Hi Sean,
I would advice to buy a Counter/Timer board DT2819 and for you analogue data
acquisition the Analogue Input board DT2814, both from Data Translation (see
www.datatranslation.com).
Alternatively the acceleration can be measured by "tapping" the
speedometer's pulses by sticking a hall generator at the back of it (right
next to the cable going in) As you may know it rotates a magnet to displace
the needle. This hall generator (connected up to a small amplifier, any
op-amp will do) will generate pulses proportional with the speed. From this
you can calculate its acceleration. By doing it this way you won't need the
Analogue Input board.
Cheers,
John Christenhusz
> -----Original Message-----
> From: Sean Cross [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 23, 1999 5:57 PM
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Sampling sound
>
>
> I am wanting to read spark plug pulses so i can calculate rpm
> (and then add
> in accelration measured by a g sensor).
>
> The easiest way of doing this is via the microphone jack.
> Then I can find
> the peaks and do something with the information. I could just record
> everything into a buffer and look for the peaks in semi real
> time but I need
> to be able to syncronise the data with other infomation (eg G sensor).
>
> How often I need to sample (and what the best process is) is
> something that
> will require experimentation.
>
> All help gratefully appreciated.
>
> Sean
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Alistair George
> > Sent: Thursday, 23 September 1999 08:24
> > To: Multiple recipients of list delphi
> > Subject: [DUG]: Sampling sound
> >
> >
> > > does anyone have any ideas/pointers on sampling sound. I
> don't want to
> > > actually record sound, rather I want to get samples 100-200
> > times a second
> > > and then act on them immediately.
> > Depends a bit on what you want to do.
> > If you want the peaks I think the term is quantasize or similar.
> > There is a
> > WAV file 'normalizer' which is freeware which works on reducing or
> > increasing the overall level of the parsed WAV file for
> > consistent recording
> > levels. I am seeking the source code for this and if thats
> what you are
> > after let me know off the list.
> > Otherwise, if you want to look at millisecond 'frames' thats
> > another story.
> > There are several audio codes which demonstrate that as in VU
> > meters. If you
> > need ask me and I will send to you.
> > Alistair+
> >
> > ------------------------------------------------------------------
> > ---------
> > New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
> >
>
> --------------------------------------------------------------
> -------------
> New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz