IR sensor and microcontroller

Status
Not open for further replies.

Wida Lidia

Newbie level 3
Joined
Sep 25, 2013
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
23
I am using LED IR and photodiode then LM 324 as comparator.
If I use ATmega 8535, is it better to use LM 324 or analog comparator in atmega?
 

You can use both comparator.

If you you use On chip analog comparator . You don't need external comparator but you wrote code for that.

If you use LM324 or LM358 is external comparator. You need one small interfacing with micro controller.

If you strong in program . you use Onchip comparator.

Or other use comparator, Because we can check comparator working or not and also port pin use GPIO's i.e input pin with simple input configuration
 

and how if I want to make IR sensor and proximity sensor..
can I use on chip comparator?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…