ခဏလေး ဒီလိုပဲ စဉ်းစားကြည့်
Breadboard က solder (ကြေးမီးအိုးရိုက်) မလိုဘဲ circuit ကို temporary ချိတ်ဆက်စမ်းသပ်နိုင်တဲ့ board ပါ — row/column တွေက internally ချိတ်ဆက်ထားပြီး, component leg ကို hole ထဲ ထိုးထည့်ရုံနဲ့ circuit ပြည့်စုံသွားပါတယ်။ Resistor (330Ω-1kΩ) ကို LED နဲ့ series ချိတ်ဆက်ရပါတယ် — resistor မပါရင် current များလွန်းပြီး LED ပူလောင်ပျက်စီးနိုင်ပါတယ် (LED ကို 'protect' လုပ်ပေးတာပါ)။
လက်တွေ့ scenario နဲ့ ချိတ်ကြည့်မယ်
Circuit ရေးနည်း — Pi ရဲ့ GPIO pin (ဥပမာ BCM 17) ကနေ wire တစ်ချောင်း → breadboard row → resistor → LED long leg (anode) → LED short leg (cathode) → wire → Pi ရဲ့ Ground (GND) pin ပြန်ချိတ်ရပါတယ် — 'circuit loop' ကို ပြည့်စုံအောင် ဖန်တီးရတာပါ။ LED ကို reverse (contrary direction) ချိတ်ရင် light မလင်းနိုင်ပါဘူး (LED က current ကို direction တစ်ခုတည်းကနေပဲ ဖြတ်သန်းခွင့်ပြုလို့ — polarity matters)။
အတူတူ ကြည့်မယ်
LED Circuit Wiring
--------------------
GPIO pin (e.g. BCM 17) → wire → breadboard
breadboard → resistor (330Ω) → LED anode (long leg)
LED cathode (short leg) → wire → GND pin
(Full loop: GPIO → resistor → LED → GND)Wiring ကို ကြည့်ပြီး circuit loop ပြည့်စုံမပြည့်စုံ (GPIO → resistor → LED → GND) စစ်ဆေးနိုင်မည်။၅ မိနစ် စမ်းကြည့်
Breadboard, LED, resistor (330Ω), jumper wire ၂ ချောင်းကို ပြင်ဆင်ပြီး (Pi ရှိရင်) circuit ကို wiring diagram အတိုင်း ကိုယ်တိုင် ချိတ်ဆက်ကြည့်ပါ (code မရေးရသေးပါ, နောက်ခန်းမှာ ဆက်လုပ်ပါမယ်)။
သတိလေးတစ်ချက်
Wiring လုပ်ချိန် Pi ကို power ပိတ်ထားပါ — power ဖွင့်ထားချိန် wire ပြောင်းလဲမိရင် short circuit ဖြစ်ပြီး GPIO pin ပျက်စီးနိုင်ပါတယ် (Pi board တစ်ခုလုံးလည်း ထိခိုက်နိုင်ပါတယ်)။