Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Crankshaft sensor signal processing for microcontroller
Post Body

I have a pretty clean signal from the crankshaft sensor (variable reluctance i believe) that looks like that in the attached scopes pictures, and it is generated by the wheel shown in the last picture, for reference.
I thought to scale it down first with a voltage divider to get the flat areas below the low logic level, then trim it with a 3.3V zener, but I'm open to better suggestions. A square wave would be nice to have but i suppose also not strictly necessary. I also have some optocouplers, schmitt triggers and 555 laying around as well.

As for the measurement, I suppose I can measure the largest delay between any given rising edge, which corresponds basically to diametrically opposite teeth, multiply by two and invert the result to obtain the frequency in Hz. But i will think about this later once i get a suitable signal to play with.

at low rpm

at high rpm

https://preview.redd.it/7esfxcg3zecd1.png?width=403&format=png&auto=webp&s=77683577dd5fcc73d120883b4cfaceacb46786a3

Author
Account Strength
100%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,835
Link Karma
427
Comment Karma
1,408
Profile updated: 2 days ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 months ago