Nov 11, 2013 #1 W 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?
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?
Nov 11, 2013 #2 A amayilsamy Advanced Member level 1 Joined Feb 5, 2013 Messages 420 Helped 38 Reputation 76 Reaction score 34 Trophy points 1,308 Location Chennai,India Activity points 3,370 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
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
Nov 11, 2013 #3 W Wida Lidia Newbie level 3 Joined Sep 25, 2013 Messages 4 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 23 and how if I want to make IR sensor and proximity sensor.. can I use on chip comparator?
Nov 11, 2013 #4 A amayilsamy Advanced Member level 1 Joined Feb 5, 2013 Messages 420 Helped 38 Reputation 76 Reaction score 34 Trophy points 1,308 Location Chennai,India Activity points 3,370 Post your sensors datasheet..