Jump to content
Electronics-Lab.com Community

Using external comparator instead of the one in atmega


shater

Recommended Posts

Hello.
First, apologizes for my English.

Here's the deal:
I made very simple circuit which is using analog comparator in atmega8. There is Ultrasonic receiver plugged into comparator. When it measure some vibrations, it makes very tiny wave and comparator tells me when it passes zero point.

It is in attachment,

I saw circuits where there were many operation amplifiers between ultrasonic receiver and atmega but I have to do it this way and i know it works because it works

Anyway I can't use atmega's analog comparator any longer because of some reasons and i figured out that I will use external comparator. So I made the same exactly circuit with LM311 Comparator but it doesn't work :/ Of course i gave there pullup.
There is always 0 on comparator output.

I think that atmega's comparator might be more sensitive than LM311. Anyway tell me, what to do?

post-55487-14279144206816_thumb.png

post-55487-14279144207708_thumb.png

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...