Frequency to Microprocessor input.

Status
Not open for further replies.
Thanks Mike. I'm sure I will go through the pain once I start trying to write the capture.

Jason
 

No probs HJB- I only posted the schematic about 3.5 hours ago.

It turned out that, according to my analysis, nothing much changed from the rough sketch, which is good news.

Yes, you need a 6N139.

spec
 
While I was waiting for my components to come I decided to give Les's idea a crack, mainly to increase my knowledge and also alittle bit of curiosity

So I put a 10nf cap to ground, 10k in series, a 5.1v zener to ground and measured the output. Although the signal was a hell of a lot cleaner it still showed a massive variation in frequency. I would expect this was due to noise spikes still on the output.

How would I get rid of these noise spikes.

See files.

Jason.
 

Attachments

  • IMG_4178.JPG
    1.4 MB · Views: 189
  • IMG_4179.JPG
    1.5 MB · Views: 189
Hello.

I have finally got the components and tested the 6n139 option without success. I'm only doing this on breadboard to try and see how I got on butnot getting anything readable on the scope.

Spec, can you please advise.

Jason
 

Attachments

  • IMG_4204.JPG
    1.6 MB · Views: 191
  • IMG_4205.JPG
    949.7 KB · Views: 199
Going back to the zener option with alittle more filtering gives me a decent signal.
 

Attachments

  • IMG_4206.JPG
    1.5 MB · Views: 185
  • IMG_4210.JPG
    1.4 MB · Views: 189
After earthing pin 3 it all magically started to work.

See results.

Would like to thank the people who have helped me on this.
 

Attachments

  • IMG_4215.JPG
    1.4 MB · Views: 191
  • IMG_4217.JPG
    1.5 MB · Views: 174
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…