Op Amps and Comparators Explained: LM358, NE5532, TL072, 4558, LM393 and LM339
What op amps and comparators do and which to pick: LM358 for single supply sensors, NE5532 and TL072 for audio preamps, 4558 in amplifier tone stages, and LM393 and LM339 comparators in sensor modules and protection circuits.
2 min readBy the module.pk teamاردو میں پڑھیں ↓

Operational amplifiers (op amps) amplify small signals precisely, and comparators decide whether one voltage is higher than another. Between them they are in almost every analog circuit: audio preamps and tone controls, sensor modules, battery chargers, UPS protection and stabilisers.
Op amps vs comparators
An op amp is designed to work in a feedback loop, producing a smooth output proportional to its input, ideal for amplifying audio or sensor signals. A comparator has no feedback and snaps its output fully high or low, ideal for thresholds such as over voltage cut off or a sensor trigger. The blue potentiometer on many Arduino sensor modules sets the threshold of an LM393 comparator.

Popular op amps and comparators
| IC | Type | Typical use |
|---|---|---|
| LM358, LM2904 | Dual op amp, single supply | Sensor amplifiers, battery chargers, current sensing |
| NE5532 | Low noise dual op amp | Audio preamps, mixers, equalisers |
| TL072, TL071, TL074 | JFET input op amp | Audio stages and active filters |
| 4558, 4560 | Dual audio op amp | Tone controls in amplifiers and car audio |
| LM393, LM2903 | Dual comparator | Sensor modules, UPS and stabiliser protection |
| LM339 | Quad comparator | Multi level indicators and protection circuits |

Upgrading audio op amps
Many amplifiers and car stereos use a 4558 in the preamp. Swapping it for an NE5532 or TL072 with the same 8 pin pinout is a popular, cheap upgrade for lower noise. Check the supply voltage first, because the NE5532 draws more current.
Find op amps and comparators fast with the part finder on module.pk
Our Op Amps and Comparators page opens with a part number finder. Type the number printed on the face of the part, such as LM358, and it shows that part and its equivalents, so you can still repair a board when the original number is hard to find. Ignore the logo and the date code: the part number is usually the longest line.
Below the finder, package tiles let you pick the body shape with one tap, and the filters narrow by component type (op amp or comparator), package, mounting (through hole or SMD) and pack quantity. Every listing shows the maximum voltage and current, the pin count and known equivalents. Not sure what you have? Send a photo of the part on WhatsApp and we will find it or an equivalent.
Frequently asked questions
Can I use an op amp as a comparator?
In slow, simple circuits sometimes, but a real comparator like the LM393 switches faster and cleaner.
Can I replace 4558 with NE5532?
Usually yes. They share the 8 pin dual op amp pinout. Check that the supply can handle the higher current.
اردو میں
اوپ ایمپ اور کمپیریٹر کی پوری سمجھ: LM358، NE5532، TL072، 4558، LM393 اور LM339
آپریشنل ایمپلیفائر (اوپ ایمپ) چھوٹے سگنل کو ٹھیک ٹھیک بڑھاتے ہیں، اور کمپیریٹر طے کرتے ہیں کہ ایک وولٹیج دوسرے سے زیادہ ہے یا نہیں۔ دونوں مل کر تقریباً ہر اینالاگ سرکٹ میں ہیں: آڈیو پری ایمپ اور ٹون کنٹرول، سینسر ماڈیول، بیٹری چارجر، UPS پروٹیکشن اور سٹیبلائزر۔
اوپ ایمپ اور کمپیریٹر میں فرق
اوپ ایمپ فیڈ بیک کے ساتھ کام کرنے کے لیے بنا ہے، ان پٹ کے حساب سے ہموار آؤٹ پٹ دیتا ہے، آڈیو یا سینسر سگنل بڑھانے کے لیے بہترین۔ کمپیریٹر بغیر فیڈ بیک کے آؤٹ پٹ کو پورا اوپر یا نیچے کر دیتا ہے، اوور وولٹیج کٹ آف یا سینسر ٹرگر جیسی حد کے لیے بہترین۔ بہت سے Arduino سینسر ماڈیول پر نیلا پوٹینشیومیٹر LM393 کمپیریٹر کی حد سیٹ کرتا ہے۔

مشہور اوپ ایمپ اور کمپیریٹر
| IC | قسم | عام استعمال |
|---|---|---|
| LM358، LM2904 | ڈوئل اوپ ایمپ، ایک سپلائی | سینسر ایمپلیفائر، بیٹری چارجر، کرنٹ ناپنا |
| NE5532 | کم شور والا ڈوئل اوپ ایمپ | آڈیو پری ایمپ، مکسر، ایکولائزر |
| TL072، TL071، TL074 | JFET ان پٹ اوپ ایمپ | آڈیو سٹیج اور ایکٹو فلٹر |
| 4558، 4560 | ڈوئل آڈیو اوپ ایمپ | ایمپلیفائر اور کار آڈیو میں ٹون کنٹرول |
| LM393، LM2903 | ڈوئل کمپیریٹر | سینسر ماڈیول، UPS اور سٹیبلائزر پروٹیکشن |
| LM339 | کواڈ کمپیریٹر | کئی لیول والے انڈیکیٹر اور پروٹیکشن سرکٹ |

آڈیو اوپ ایمپ اپ گریڈ
بہت سے ایمپلیفائر اور کار سٹیریو کے پری ایمپ میں 4558 لگا ہوتا ہے۔ اسے اسی 8 پن ترتیب والے NE5532 یا TL072 سے بدلنا کم شور کے لیے سستا اور مشہور اپ گریڈ ہے۔ پہلے سپلائی وولٹیج چیک کریں، کیونکہ NE5532 زیادہ کرنٹ لیتا ہے۔
module.pk کے پارٹ فائنڈر سے اوپ ایمپ اور کمپیریٹر جلدی ڈھونڈیں
ہمارے اوپ ایمپ اور کمپیریٹر پیج کے شروع میں پارٹ نمبر فائنڈر ہے۔ پارٹ کے اوپر لکھا نمبر لکھیں، جیسے LM358، اور یہ وہ پارٹ اور اس کے متبادل دکھاتا ہے، تاکہ اصل نمبر نہ ملے تب بھی بورڈ ٹھیک ہو سکے۔ لوگو اور تاریخ کا کوڈ چھوڑ دیں: پارٹ نمبر عام طور پر سب سے لمبی لائن ہوتی ہے۔
فائنڈر کے نیچے پیکج کے ٹائل سے ایک ٹچ میں پارٹ کی شکل چنیں، اور فلٹر پارٹ کی قسم (اوپ ایمپ یا کمپیریٹر)، پیکج، لگانے کا طریقہ (تھرو ہول یا SMD) اور پیک میں تعداد سے لسٹ چھوٹی کرتے ہیں۔ ہر پارٹ پر زیادہ سے زیادہ وولٹیج اور کرنٹ، پنوں کی تعداد اور معلوم متبادل لکھے ہیں۔ پتا نہیں آپ کے پاس کیا ہے؟ پارٹ کی تصویر WhatsApp پر بھیجیں، ہم وہی یا اس کا متبادل ڈھونڈ دیں گے۔
اکثر پوچھے جانے والے سوال
کیا اوپ ایمپ کو کمپیریٹر کی جگہ لگا سکتے ہیں؟
سست اور سادہ سرکٹ میں کبھی کبھی، مگر LM393 جیسا اصل کمپیریٹر زیادہ تیز اور صاف سوئچ کرتا ہے۔
کیا 4558 کی جگہ NE5532 لگ سکتا ہے؟
عام طور پر ہاں۔ دونوں کی 8 پن ڈوئل اوپ ایمپ ترتیب ایک ہے۔ دیکھ لیں کہ سپلائی زیادہ کرنٹ دے سکے۔
