Thuta Learning
ရှာဖွေရန်
AdvancedHardwarebeginner

Cooling, Power & Reliability

စိတ်လျှော့ပါ။ ဒီခန်းကို စာအုပ်လိုမဟုတ်ဘဲ စကားပြောသလိုပဲ၊ နားလည်လွယ်အောင် ရှင်းပါမယ်။

ဒီခန်းပြီးရင် ဘာတတ်သွားမလဲ

  • Cooling, Power & Reliability ကို ကြောက်စရာမလိုအောင် နားလည်မယ်
  • ကိုယ်တိုင် hardware wiring/code ကို run ကြည့်တတ်မယ်
  • Real project ထဲမှာ ဒီ concept ကို ချက်ချင်း အသုံးချတတ်မယ်

ခဏလေး ဒီလိုပဲ စဉ်းစားကြည့်

Raspberry Pi 4/5 က heavy workload (web server, media transcoding) ဆောင်ရွက်ချိန် heat ထုတ်လုပ်ပြီး, overheat ဖြစ်ရင် CPU throttle (speed လျှော့) ဖြစ်နိုင်ပါတယ် — heatsink/fan ကို attach ထားရင် sustained performance ကို ထိန်းသိမ်းနိုင်ပါတယ်။ Power instability (voltage fluctuation) ကလည်း random reboot/SD card corruption ရဲ့ common cause တစ်ခုပါ — official power supply, quality micro-USB/USB-C cable ကို ဦးစားပေးသင့်ပါတယ်။ MicroSD card ကို write cycle များစွာ (log ဖိုင် ပုံမှန်ရေး) run ရင် corrupt ဖြစ်နိုင်ချေ တိုးလာနိုင်ပါတယ် — SSD (USB-connected) ကို boot drive အဖြစ် သုံးရင် reliability ပိုကောင်းပါတယ် (Pi 4/5 က USB boot support ရှိပါတယ်)။

လက်တွေ့ scenario နဲ့ ချိတ်ကြည့်မယ်

vcgencmd measure_temp ကို run ရင် CPU temperature ကို ချက်ချင်း ကြည့်နိုင်ပါတယ် — 80°C ကျော်ရင် throttle စတင်နိုင်ပါတယ်, heatsink/case fan ရှိရင် idle temperature ကို 40-50°C အောက် ထိန်းထားနိုင်ပါတယ်။ 24/7 project (Pi-hole, home server) ကို ကြာကြာသုံးမယ်ဆိုရင် SD card ထက် USB SSD boot ကို ကနေထဲက စဉ်းစားထားတာက reliability ပိုကောင်းပါတယ်။

အတူတူ ကြည့်မယ်

bash
# Check CPU temperature
vcgencmd measure_temp

# Check for undervoltage warnings (throttled flag)
vcgencmd get_throttled
# 0x0 = no issues
# non-zero = undervoltage/throttling detected (check bit flags)
You should see
vcgencmd measure_temp ကို run ရင် 'temp=45.2'C' ပုံစံနဲ့ current CPU temperature ကို ပြသမည်။

၅ မိနစ် စမ်းကြည့်

vcgencmd measure_temp နဲ့ vcgencmd get_throttled ကို run ကြည့်ပါ (Pi ရှိရင်) — throttled flag က 0x0 ဟုတ်/မဟုတ် စစ်ကြည့်ပါ။

သတိလေးတစ်ချက်

SD card corruption ဖြစ်ရင် data ဆုံးရှုံးနိုင်ပါတယ် — Cybersecurity tutorial ရဲ့ 3-2-1 Backup Rule ကို Pi project အတွက်လည်း လိုက်နာသင့်ပါတယ်, SD card image ကို ပုံမှန် backup ယူထားပါ။

ဒီနေရာမှာ လူအများမှားတတ်တယ်

  • 24/7 run ချင်တဲ့ project ကို cooling solution (heatsink/fan) မထည့်ဘဲ ထားပြီး performance throttle ဖြစ်နေကြောင်း သတိမပြုမိခြင်း
  • Power supply ကို official/certified adapter မဟုတ်ဘဲ generic USB charger သုံးပြီး random reboot ဖြစ်တာကို 'software bug' လို့ ထင်ခြင်း

အခု ကိုယ်တိုင် စမ်းကြည့်

vcgencmd measure_temp နဲ့ vcgencmd get_throttled ကို run ကြည့်ပါ (Pi ရှိရင်) — throttled flag က 0x0 ဟုတ်/မဟုတ် စစ်ကြည့်ပါ။

You'll know it worked when: vcgencmd measure_temp ကို run ရင် 'temp=45.2'C' ပုံစံနဲ့ current CPU temperature ကို ပြသမည်။

Cooling, Power & Reliability | Thuta Learning