0Pricing
Arduino & IoT Academy · บทเรียน

ตัวต้านทานและกฎของโอห์มภาคปฏิบัติ

เลือกตัวต้านทานให้เหมาะสมเพื่อป้องกันชิ้นส่วนไหม้

ตัวต้านทานและกฎของโอห์มภาคปฏิบัติ เป็นบทเรียน Arduino & IoT Academy ฟรีบน CoddyKit นี่คือบทเรียนที่ 2 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7 บทเรียนนี้เป็นส่วนหนึ่งของเส้นทางการเรียน Arduino & IoT Academy และความก้าวหน้าของคุณจะซิงค์ข้ามเว็บและแอป CoddyKit คอร์ส Arduino & IoT Academy มีบทเรียนทั้งหมด 4 บทเรียน

บางส่วนของบทเรียนนี้ยังไม่ได้รับการแปล และแสดงเป็นภาษาอังกฤษ

What a Resistor Does

A resistor limits how much current flows through a wire. It is the part that stops sensitive components from drawing too much and burning out. 🔥

Measured in Ohms

Resistance is measured in ohms, shown by the symbol Greek omega. More ohms means more push-back, so less current gets through.

Ohm's Law in One Line

Ohm's Law ties it together: voltage equals current times resistance. Know any two values and you can find the third.

V = I * R

Solve for Current

Rearrange to find current: I equals V divided by R. Bigger resistance gives smaller current for the same voltage.

I = V / R

Why an LED Needs One

An LED has almost no resistance of its own. Without a resistor it gulps too much current and dies in a flash.

The Voltage Across It

Your pin gives 5V and an LED uses about 2V. The resistor must drop the leftover 3V, and that number sets its size.

Pick a Safe Current

A typical LED is happy near 10 to 20 milliamps. Aiming for about 15mA keeps it bright without stressing the pin.

Crunch the Numbers

Plug it in: 3V divided by 0.015A is 200 ohms. A common 220 ohm resistor is the easy, safe choice.

R = 3V / 0.015A = 200 ohm

Reading Color Bands

Resistors show their value with color bands. A 220 ohm part reads red, red, brown, a pattern worth memorizing.

Resistors Have No Direction

Good news: a resistor is not polarized. You can plug it in either way and it works exactly the same.

When in Doubt, Go Bigger

Unsure of the exact value? A slightly larger resistor just dims the LED a touch. That is far safer than too small. 👍

Quick Check

Apply Ohm's Law to a real choice.

Recap

You can now size a resistor with Ohm's Law: divide the leftover voltage by your target current, then round up to a safe standard value. 🎉

คำถามที่พบบ่อย

บทเรียน “ตัวต้านทานและกฎของโอห์มภาคปฏิบัติ” ฟรีหรือไม่

ใช่ — ข้อความเต็มของ “ตัวต้านทานและกฎของโอห์มภาคปฏิบัติ” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7) และปลดล็อคส่วนที่เหลือของคอร์ส Arduino & IoT Academy ให้อัปเกรดเป็น CoddyKit PRO คอร์ส Arduino & IoT Academy มีบทเรียนทั้งหมด 4 บทเรียน

คุณจะเรียนรู้อะไรในบทเรียน “ตัวต้านทานและกฎของโอห์มภาคปฏิบัติ”

เลือกตัวต้านทานให้เหมาะสมเพื่อป้องกันชิ้นส่วนไหม้ คุณปฏิบัติ Arduino & IoT Academy ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 24/7 ตอบคำถามของคุณขณะที่คุณไปผ่านบทเรียน

คุณต้องมีประสบการณ์ก่อนที่จะเริ่มเรียน Arduino & IoT Academy หรือไม่

ไม่จำเป็นต้องมีประสบการณ์มาก่อน Arduino & IoT Academy บน CoddyKit ออกแบบมาสำหรับผู้เริ่มต้นไปจนถึงผู้เรียนขั้นสูง คุณสามารถเริ่มต้นที่นี่หรือเริ่มจากตัวแรกและเรียนด้วยความเร็วของคุณเอง นี่คือบทเรียนที่ 2 จากทั้งหมด 4 บทเรียน

บทเรียน “ตัวต้านทานและกฎของโอห์มภาคปฏิบัติ” ใช้เวลานานแค่ไหน

บทเรียน CoddyKit ส่วนใหญ่ใช้เวลาประมาณ 5–10 นาที แต่ละบทเรียนจึงสั้นและเป็นแบบโต้ตอบ คุณสามารถก้าวหน้าอย่างต่อเนื่องและกลับมาเรียนต่อจากตรงที่เพิ่งหยุดบนเว็บและแอปได้เลย

ฉันเขียนและรันโค้ดในบทเรียน Arduino & IoT Academy นี้ได้ไหม

ได้ บทเรียน Arduino & IoT Academy ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ

บทเรียนทั้งหมดในหลักสูตรนี้

  1. เบรดบอร์ดเชื่อมต่อกันอย่างไร
  2. ตัวต้านทานและกฎของโอห์มภาคปฏิบัติ
  3. ไฟเลี้ยง กราวด์ และข้อผิดพลาดที่พบบ่อย
  4. อ่านแผนผังวงจรง่าย ๆ
← กลับไปที่ Arduino & IoT Academy