IC — วงจรรวมเบื้องต้น
Integrated Circuits (IC) — Basics
วงจรรวมคืออะไร • แพ็กเกจ DIP/SMD • นับขา & หา Pin 1 • อนาล็อก vs ดิจิทัล • อ่าน Datasheet
What an IC is • DIP/SMD packages • Pin numbering & Pin 1 • Analog vs Digital • Reading a datasheet
- อธิบายได้ว่า IC (วงจรรวม) คืออะไร และทำไมจึงรวมอุปกรณ์จำนวนมากไว้ในชิปเดียว
- บอกชื่อแพ็กเกจที่พบบ่อย (DIP / SOIC / QFP / SMD) และความแตกต่างได้
- หา Pin 1 และนับขา IC ได้อย่างถูกต้อง
- แยกความต่างระหว่าง IC อนาล็อกกับดิจิทัลได้
- อ่านข้อมูลสำคัญเบื้องต้นจาก datasheet ได้
- รู้จัก IC ยอดนิยมที่จะได้เจอในบทเรียนถัดไป (555, op-amp, 7805, 74xx)
- Explain what an IC is and why many components are integrated onto one chip
- Name common packages (DIP / SOIC / QFP / SMD) and their differences
- Locate Pin 1 and number an IC's pins correctly
- Distinguish analog ICs from digital ICs
- Read the key first-page facts from a datasheet
- Recognise popular ICs you'll meet in later lessons (555, op-amp, 7805, 74xx)
- IC = Integrated Circuit (วงจรรวม) — นำอุปกรณ์หลายตัว (ทรานซิสเตอร์ ตัวต้านทาน ไดโอด ตัวเก็บประจุ) มา สร้างรวมไว้บนชิ้นซิลิคอนเดียว
- ชิปตัวเล็กเท่าเล็บอาจมี ทรานซิสเตอร์เป็นพันล้านตัว
- แทนที่จะต่อวงจรจากชิ้นส่วนหลายสิบตัว → ใช้ IC ตัวเดียวจบ
- ข้างในถูกห่อด้วยพลาสติก/เซรามิก เหลือแต่ ขา (pin) ออกมาให้ต่อใช้งาน
- IC = Integrated Circuit — many components (transistors, resistors, diodes, capacitors) built together on one piece of silicon
- A chip the size of a fingernail can hold billions of transistors
- Instead of wiring dozens of discrete parts → one IC does the job
- The silicon die is sealed in plastic/ceramic, leaving only the pins exposed for use
อุปกรณ์เดี่ยวๆ (R, C, ทรานซิสเตอร์) เหมือน "อิฐทีละก้อน" ที่ต้องมาเรียงต่อเอง ส่วน IC เหมือน "บ้านสำเร็จรูป" ที่ประกอบวงจรทั้งก้อนมาให้แล้วในกล่องเดียว — เราแค่ต่อขาเข้า-ออก
Discrete parts (R, C, transistors) are like laying bricks one by one. An IC is like a prefab module: a whole circuit pre-built in one package — you just connect its input/output pins.
ข้อดีของการรวมเป็น IC
Benefits of integration
- เล็กลงมาก — ประหยัดพื้นที่บนแผงวงจร
- ถูกลง เมื่อผลิตจำนวนมาก
- เชื่อถือได้กว่า — จุดบัดกรีน้อยลง โอกาสหลวม/เสียน้อยลง
- กินไฟน้อย และ ทำงานเร็ว เพราะระยะทางสั้น
- Far smaller — saves board space
- Cheaper in mass production
- More reliable — fewer solder joints to fail
- Low power and fast thanks to short internal distances
| ระดับScale | จำนวนทรานซิสเตอร์Transistors | ตัวอย่างExample |
|---|---|---|
| SSI | < 100 | เกตลอจิก 74xx74xx logic gates |
| MSI | 100–3K | ตัวนับ, รีจิสเตอร์counters, registers |
| LSI | 3K–100K | ไมโครฯรุ่นแรกearly microprocessors |
| VLSI | > 100K | CPU, หน่วยความจำCPUs, memory |
"แพ็กเกจ" คือกล่องหุ้มชิปและรูปแบบการจัดขา — แบ่งกว้างๆ เป็น 2 กลุ่ม:
A "package" is the casing around the die and how its pins are arranged — broadly two families:
DIP (Dual In-line Package) — 2 แถวขาเสียบลงรูบนเบรดบอร์ด/PCB ได้ง่าย เหมาะกับมือใหม่และการทดลอง
DIP (Dual In-line Package) — two rows of legs that push into breadboard/PCB holes. Great for beginners and prototyping.
SOIC, QFP, QFN, BGA — ขาเล็ก/แบนบัดกรีบนผิว PCB เล็กมาก ใช้ในงานผลิตจริง แต่บัดกรีมือยาก
SOIC, QFP, QFN, BGA — tiny/flat leads soldered onto the PCB surface. Very compact, used in real products, but hard to hand-solder.
| แพ็กเกจPackage | ลักษณะForm | หมายเหตุNotes |
|---|---|---|
| DIP | เสียบรู 2 แถวthrough-hole, 2 rows | มือใหม่/ทดลองbeginner/prototyping |
| SOIC | SMD ขาปีกนกSMD, gull-wing | DIP เวอร์ชันย่อshrunk DIP |
| QFP | ขา 4 ด้านleads on 4 sides | ไมโครฯ/ชิปขาเยอะMCUs, many pins |
| BGA | ลูกบอลใต้ชิปsolder balls underneath | CPU/ชิปความเร็วสูงCPUs/high-speed |
- หา Pin 1 ก่อนเสมอ — ดูจาก รอยบาก (notch) ครึ่งวงกลมที่ปลายด้านหนึ่ง หรือ จุดกลม ที่มุมข้างขา 1
- หันรอยบากขึ้น/หันให้อยู่ทางซ้าย → Pin 1 คือขา ซ้ายล่างของรอยบาก
- นับ ทวนเข็มนาฬิกา ลงไปด้านซ้าย แล้ววกกลับขึ้นด้านขวา
- ขาตรงข้าม Pin 1 (มุมทแยง) คือขาเลขสูงสุด
- ต่อขาผิดด้าน = IC อาจ พังทันที จึงต้องเช็ก Pin 1 ทุกครั้ง
- Always find Pin 1 first — look for the half-circle notch at one end, or a dot printed by pin 1's corner
- With the notch up/left → Pin 1 is the pin at the bottom-left of the notch
- Count counter-clockwise down the left side, then back up the right side
- The pin diagonally opposite Pin 1 is the highest number
- Inserting it backwards can destroy the IC instantly — always check Pin 1
ทำงานกับ สัญญาณต่อเนื่อง (แรงดันค่อยๆ เปลี่ยน) เช่น op-amp ขยายสัญญาณ, เรกูเลเตอร์ 7805, ไอซีเสียง
Work with continuous signals (smoothly varying voltage) — e.g. op-amps, the 7805 regulator, audio ICs.
ทำงานกับ ลอจิก 0/1 (HIGH/LOW) เช่น เกตลอจิก 74xx, ตัวนับ, หน่วยความจำ, ไมโครคอนโทรลเลอร์
Work with logic 0/1 (HIGH/LOW) — e.g. 74xx logic gates, counters, memory, microcontrollers.
เบอร์ที่พิมพ์บนตัว IC (เช่น NE555, LM358) ใช้ค้นหา datasheet ได้ สิ่งที่ควรดูหน้าแรกๆ:
The part number printed on the IC (e.g. NE555, LM358) lets you find its datasheet. What to check first:
- หน้าที่ของชิป (Description): ทำอะไร
- Pinout / Pin configuration: ขาไหนทำหน้าที่อะไร (สำคัญที่สุด)
- แรงดันจ่ายไฟ (VCC / Supply): ช่วงแรงดันที่ใช้ได้ เช่น 4.5–16 V
- Absolute Maximum Ratings: ค่าห้ามเกิน (แรงดัน/กระแส/อุณหภูมิ) ไม่งั้นพัง
- Typical Application: วงจรตัวอย่างพร้อมค่าอุปกรณ์
- Description: what the chip does
- Pinout / Pin configuration: what each pin does (most important)
- Supply voltage (VCC): the usable range, e.g. 4.5–16 V
- Absolute Maximum Ratings: never-exceed values (voltage/current/temp) or it fails
- Typical Application: example circuits with part values
| เบอร์Part | ชนิดType | ทำอะไรWhat it does |
|---|---|---|
| NE555 | ตัวตั้งเวลาTimer | สร้างพัลส์/หน่วงเวลา/ไฟกระพริบ — ดูบทเต็มPulses / delays / blinkers — full lesson |
| LM358 / 741 | op-amp (อนาล็อก)Op-amp (analog) | ขยาย/เปรียบเทียบสัญญาณ — ดูบทเต็มAmplify / compare signals — full lesson |
| 7805 | เรกูเลเตอร์Regulator | รักษาแรงดันคงที่ 5 VHolds a steady 5 V |
| 74xx | ลอจิก (ดิจิทัล)Logic (digital) | เกต AND/OR/NOT, ตัวนับAND/OR/NOT gates, counters |
| ATmega328 | ไมโครคอนโทรลเลอร์Microcontroller | "สมอง" ของบอร์ด Arduino UNOThe "brain" of the Arduino UNO |
- ไฟฟ้าสถิต (ESD) ทำ IC พังได้ — โดยเฉพาะ CMOS/ไมโครฯ ควรแตะกราวด์/ใส่สายรัดข้อมือก่อนจับ
- ใส่ให้ถูกทิศ — Pin 1 ตรงกับซ็อกเก็ต/สัญลักษณ์บน PCB เสมอ
- แนะนำใช้ ซ็อกเก็ต IC สำหรับงานทดลอง จะได้ถอดเปลี่ยนง่ายและไม่ต้องบัดกรีโดนตัว IC
- อย่าจ่ายไฟเกินพิกัด และอย่าสลับขั้วไฟเลี้ยง (VCC/GND)
- ระวัง ความร้อน ขณะบัดกรี — บัดกรีเร็วๆ หรือใช้ซ็อกเก็ต
- Static (ESD) can kill an IC — especially CMOS/MCUs; touch ground or wear a wrist strap before handling
- Insert the right way round — match Pin 1 to the socket/PCB marking
- Use an IC socket for prototyping — easy to swap, and no soldering heat on the IC
- Never exceed the rated supply, and never reverse VCC/GND
- Mind soldering heat — solder quickly or use a socket