{"id":8605,"date":"2026-05-13T22:27:06","date_gmt":"2026-05-13T13:27:06","guid":{"rendered":"https:\/\/www.ekit-tech.com\/?p=8605"},"modified":"2026-05-13T22:27:08","modified_gmt":"2026-05-13T13:27:08","slug":"%e6%8a%b5%e6%8a%97%e5%99%a8%e3%82%92%e6%b8%ac%e5%ae%9a%e3%81%a7%e3%81%8d%e3%82%8b%e5%b0%8f%e5%9e%8b%e3%83%81%e3%82%a7%e3%83%83%e3%82%ab%e3%83%bc%e3%82%92%e8%87%aa%e4%bd%9c","status":"publish","type":"post","link":"https:\/\/www.ekit-tech.com\/?p=8605","title":{"rendered":"\u62b5\u6297\u5668\u3092\u6e2c\u5b9a\u3067\u304d\u308b\u5c0f\u578b\u30c1\u30a7\u30c3\u30ab\u30fc\u3092\u81ea\u4f5c"},"content":{"rendered":"\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper youtube\"><iframe src=\"https:\/\/www.youtube.com\/embed\/gK-m_-rqoT8\"><\/iframe><\/div><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><span class=\"unber\">\u300c\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u3067\u56de\u8def\u3092\u7d44\u3093\u3060\u3042\u3068\u3001\u62b5\u6297\u3092\u7247\u3065\u3051\u308b\u306e\u304c\u9762\u5012\u3059\u304e\u308b\uff01\u300d<\/span><\/p>\n\n\n\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u30ea\u30fc\u30c9\u4ed8\u304d\u62b5\u6297\u5668\u3092\u624b\u8efd\u306b\u6e2c\u5b9a\u3067\u304d\u308b\u5c0f\u578b\u30c1\u30a7\u30c3\u30ab\u30fc\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u30b9\u30a4\u30c3\u30c1\u3092ON\u306b\u3057\u3066\u62b5\u6297\u3092\u5dee\u3057\u8fbc\u3080\u3068\u3001\u3059\u3050\u306b\u5024\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303a.jpg\"><img loading=\"lazy\" width=\"1200\" height=\"675\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303a-1200x675.jpg\" alt=\"\u62b5\u6297\u3092\u5dee\u3057\u8fbc\u3093\u3060\u62b5\u6297\u30c1\u30a7\u30c3\u30ab\u30fc\" class=\"wp-image-8613\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303a-1200x675.jpg 1200w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303a-300x169.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303a-768x432.jpg 768w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303a-1536x864.jpg 1536w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303a.jpg 1920w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<p>\u305f\u3060\u3057\u3001\u3053\u306e\u8868\u793a\u5024\u306f\u3042\u3048\u3066\u6b63\u78ba\u306b\u306f\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u305f\u3068\u3048\u3070\u300c10.1k\u03a9\u300d\u3084\u300c9.9k\u03a9\u300d\u306f\u3001\u3069\u3061\u3089\u3082\u300c10k\u03a9\u300d\u3068\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u3053\u308c\u306f\u3001\u3053\u306e\u30c1\u30a7\u30c3\u30ab\u30fc\u304c\u6b63\u78ba\u306a\u62b5\u6297\u5024\u3092\u6e2c\u5b9a\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u306f\u306a\u304f\u3001\u300c\u3069\u306e\u888b\u306b\u623b\u3059\u304b\u300d\u3092\u7d20\u65e9\u304f\u5224\u65ad\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3060\u304b\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3042\u3048\u3066\u4e00\u822c\u7684\u306a\u5024\u306b\u4e38\u3081\u308b\u3053\u3068\u3067\u3001\u7d30\u304b\u3044\u8aa4\u5dee\u3092\u6c17\u306b\u305b\u305a\u3001\u76f4\u611f\u7684\u306b\u4ed5\u5206\u3051\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/div><h2><strong>\u4f7f\u7528\u90e8\u54c1<\/strong><\/h2><div class=\"inner\">\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303d.jpg\"><img loading=\"lazy\" width=\"1200\" height=\"675\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303d-1200x675.jpg\" alt=\"\u62b5\u6297\u30c1\u30a7\u30c3\u30ab\u30fc\u90e8\u54c1\u5b9f\u88c5\u57fa\u677f\uff08OLED\u306a\u3057\uff09\" class=\"wp-image-8618\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303d-1200x675.jpg 1200w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303d-300x169.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303d-768x432.jpg 768w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303d-1536x864.jpg 1536w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303d.jpg 1920w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303c.jpg\"><img loading=\"lazy\" width=\"1200\" height=\"675\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303c-1200x675.jpg\" alt=\"\u62b5\u6297\u30c1\u30a7\u30c3\u30ab\u30fc\u90e8\u54c1\u5b9f\u88c5\u57fa\u677f\uff08OLED\u3042\u308a\uff09\" class=\"wp-image-8619\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303c-1200x675.jpg 1200w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303c-300x169.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303c-768x432.jpg 768w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303c-1536x864.jpg 1536w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303c.jpg 1920w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<ul><li>ATTINY1604-SSN<\/li><li>Mini\u30d6\u30ec\u30c3\u30c8\u30dc\u30fc\u30c9\uff0fZY-55 \uff0d <a href=\"https:\/\/s.click.aliexpress.com\/e\/_c3qHeX5d\">AliExpress<\/a><\/li><li>OLED\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\uff0f0.91inch<\/li><li>CR2032\u30b3\u30a4\u30f3\u96fb\u6c60\u30db\u30eb\u30c0\u30fc<\/li><li>\u6a2a\u578b\u30b9\u30e9\u30a4\u30c9\u30b9\u30a4\u30c3\u30c1<\/li><li>\u30d4\u30f3\u30d8\u30c3\u30c0\uff0f4Pin<\/li><li>XH\u30b3\u30cd\u30af\u30bf\uff0f3Pin\uff08UPDI\u66f8\u304d\u8fbc\u307f\u7528\uff09<\/li><li>\u62b5\u6297\uff0f10k\u03a9<\/li><li>\u7a4d\u5c64\u30bb\u30e9\u30df\u30c3\u30af\u30b3\u30f3\u30c7\u30f3\u30b5\uff0f0.1\u03bcF<\/li><li>\u9285\u7b94\u30c6\u30fc\u30d7<\/li><\/ul>\n\n\n\n<\/div><h2><strong>\u56de\u8def\u56f3<\/strong><\/h2><div class=\"inner\">\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303b.jpg\"><img loading=\"lazy\" width=\"1190\" height=\"845\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303b.jpg\" alt=\"\u5c0f\u578b\u62b5\u6297\u30c1\u30a7\u30c3\u30ab\u30fc\u306e\u56de\u8def\u56f3\" class=\"wp-image-8615\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303b.jpg 1190w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303b-300x213.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303b-768x545.jpg 768w\" sizes=\"(max-width: 1190px) 100vw, 1190px\" \/><\/a><\/figure>\n\n\n\n<\/div><h2><strong>\u30d7\u30ed\u30b0\u30e9\u30e0<\/strong><\/h2><div class=\"inner\">\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;Wire.h&gt;\n#include &lt;SSD1306Ascii.h&gt;\n#include &lt;SSD1306AsciiWire.h&gt;\n#include \"fonts\/allFonts.h\"\n\n#define OLED_ADDR 0x3C\n#define RREF      10000UL\n#define ADC_PIN   PIN_PA7\n\nSSD1306AsciiWire oled;\n\n\/\/ =====================================\n\/\/ \u8868\u793a\u4f4d\u7f6e\u8abf\u6574\n\/\/ =====================================\nconst int8_t CENTER_OFFSET = +16;\n\n\/\/ =====================================\n\/\/ ADC \/ \u30d5\u30a3\u30eb\u30bf\u8a2d\u5b9a\n\/\/ =====================================\nconst uint8_t ADC_SAMPLES = 15;\nconst uint8_t ADC_AVG_START = 4;\nconst uint8_t ADC_AVG_END   = 10;\nconst uint16_t ADC_SAMPLE_DELAY_US = 250;\n\nconst uint8_t RX_FILTER_NUM = 1;\nconst uint8_t RX_FILTER_DEN = 4;\n\nconst uint16_t LOOP_DELAY_MS = 120;\n\nconst uint16_t OPEN_ADC_TH  = 1000;\nconst uint16_t SHORT_ADC_TH = 5;\nconst uint8_t OPEN_SHORT_CONFIRM = 3;\n\n\/\/ =====================================\n\/\/ 2\u500d\u8868\u793a\u6642\u306e\u4eee\u60f3\u6587\u5b57\u5e45\n\/\/ =====================================\nuint8_t charWidth2x(char c) {\n  if ((c &gt;= '0' &amp;&amp; c &lt;= '9') || c == 'k' || c == 'M') {\n    return 16;\n  }\n  if (c == '.') {\n    return 8;\n  }\n  return 16;\n}\n\nuint8_t textWidth2x(const char *s) {\n  uint8_t w = 0;\n  for (uint8_t i = 0; s&#91;i]; i++) {\n    w += charWidth2x(s&#91;i]);\n  }\n  return w;\n}\n\n\/\/ =====================================\n\/\/ \u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\n\/\/ =====================================\nvoid sortU16(uint16_t *arr, uint8_t n) {\n  for (uint8_t i = 0; i &lt; n - 1; i++) {\n    for (uint8_t j = i + 1; j &lt; n; j++) {\n      if (arr&#91;j] &lt; arr&#91;i]) {\n        uint16_t t = arr&#91;i];\n        arr&#91;i] = arr&#91;j];\n        arr&#91;j] = t;\n      }\n    }\n  }\n}\n\nuint32_t absDiffU32(uint32_t a, uint32_t b) {\n  return (a &gt; b) ? (a - b) : (b - a);\n}\n\nuint32_t pow10u8(uint8_t n) {\n  uint32_t p = 1;\n  while (n--) {\n    p *= 10UL;\n  }\n  return p;\n}\n\n\/\/ =====================================\n\/\/ \u672a\u633f\u5165\u30e1\u30c3\u30bb\u30fc\u30b8\n\/\/ =====================================\nvoid showInsertMessage() {\n  oled.clear();\n  oled.setFont(System5x7);\n  oled.set1X();\n\n  const char* line1 = \"Insert\";\n  const char* line2 = \"Resistor\";\n\n  int16_t x1 = (128 - (int16_t)strlen(line1) * 6) \/ 2;\n  int16_t x2 = (128 - (int16_t)strlen(line2) * 6) \/ 2;\n\n  if (x1 &lt; 0) x1 = 0;\n  if (x2 &lt; 0) x2 = 0;\n\n  oled.setCursor(x1, 0);\n  oled.print(line1);\n\n  oled.setCursor(x2, 2);\n  oled.print(line2);\n}\n\n\/\/ =====================================\n\/\/ ADC\u8907\u6570\u56de\u8aad\u307f + \u4e2d\u592e\u4ed8\u8fd1\u5e73\u5747\n\/\/ =====================================\nuint16_t readAdcFiltered() {\n  uint16_t samples&#91;ADC_SAMPLES];\n\n  analogRead(ADC_PIN);\n  delayMicroseconds(ADC_SAMPLE_DELAY_US);\n\n  for (uint8_t i = 0; i &lt; ADC_SAMPLES; i++) {\n    samples&#91;i] = analogRead(ADC_PIN);\n    delayMicroseconds(ADC_SAMPLE_DELAY_US);\n  }\n\n  sortU16(samples, ADC_SAMPLES);\n\n  uint32_t sum = 0;\n  uint8_t count = 0;\n  for (uint8_t i = ADC_AVG_START; i &lt;= ADC_AVG_END; i++) {\n    sum += samples&#91;i];\n    count++;\n  }\n\n  return (uint16_t)(sum \/ count);\n}\n\n\/\/ =====================================\n\/\/ ADC -&gt; \u62b5\u6297\u5024\n\/\/ Rx = Rref * a \/ (1023 - a)\n\/\/ =====================================\nuint32_t adcToResistance(uint16_t a) {\n  if (a &gt;= 1023) return 0xFFFFFFFFUL;\n  if (a == 0) return 0;\n\n  return (uint32_t)RREF * a \/ (1023UL - a);\n}\n\n\/\/ =====================================\n\/\/ \u8868\u793a\u66f4\u65b0\u7528\u3057\u304d\u3044\u5024\n\/\/ =====================================\nuint32_t getUpdateThreshold(uint32_t prevRx) {\n  if (prevRx &lt; 1000UL) {\n    return 10;\n  } else if (prevRx &lt; 10000UL) {\n    uint32_t t = prevRx \/ 50UL;\n    if (t &lt; 20) t = 20;\n    return t;\n  } else if (prevRx &lt; 100000UL) {\n    uint32_t t = prevRx * 3UL \/ 100UL;\n    if (t &lt; 500) t = 500;\n    return t;\n  } else if (prevRx &lt; 1000000UL) {\n    uint32_t t = prevRx * 5UL \/ 100UL;\n    if (t &lt; 5000) t = 5000;\n    return t;\n  } else {\n    uint32_t t = prevRx * 8UL \/ 100UL;\n    if (t &lt; 50000) t = 50000;\n    return t;\n  }\n}\n\n\/\/ =====================================\n\/\/ E12\u7cfb\u5217\u3078\u5438\u7740\n\/\/ 1.0, 1.2, 1.5, 1.8, 2.2, 2.7,\n\/\/ 3.3, 3.9, 4.7, 5.6, 6.8, 8.2, 10.0\n\/\/ =====================================\nuint32_t snapToE12(uint32_t rx) {\n  if (rx == 0) return 0;\n\n  static const uint16_t e12x10&#91;13] = {\n    10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82, 100\n  };\n\n  uint32_t norm = rx;\n  uint8_t exp10 = 0;\n\n  while (norm &gt;= 100UL) {\n    norm \/= 10UL;\n    exp10++;\n  }\n\n  uint32_t best = e12x10&#91;0];\n  uint32_t bestDiff = absDiffU32(norm, e12x10&#91;0]);\n\n  for (uint8_t i = 1; i &lt; 13; i++) {\n    uint32_t diff = absDiffU32(norm, e12x10&#91;i]);\n    if (diff &lt; bestDiff) {\n      bestDiff = diff;\n      best = e12x10&#91;i];\n    }\n  }\n\n  return best * pow10u8(exp10);\n}\n\n\/\/ =====================================\n\/\/ \u8868\u793a\u6587\u5b57\u5217\u4f5c\u6210\n\/\/\n\/\/ unit:\n\/\/   0 = \u03a9\n\/\/   1 = k\u03a9(\u5c0f\u65701\u6841)\n\/\/   2 = k\u03a9(\u6574\u6570)\n\/\/   3 = M\u03a9(\u5c0f\u65701\u6841)\n\/\/ =====================================\nvoid buildDisplayText(uint32_t rx, uint8_t &amp;unit, uint32_t &amp;val, char *buf, uint8_t bufSize) {\n  buf&#91;0] = '\\0';\n  unit = 0;\n  val = 0;\n\n  uint32_t dispRx;\n\n  \/\/ 1k\u03a9\u672a\u6e80\u3067\u306fE12\u4e38\u3081\u3092\u3057\u306a\u3044\n  if (rx &lt; 100UL) {\n    dispRx = rx;\n  } else {\n    dispRx = snapToE12(rx);\n  }\n\n  if (dispRx &lt; 1000UL) {\n    unit = 0;\n    val = dispRx;\n    ultoa(val, buf, 10);\n    return;\n  }\n\n  if (dispRx &lt; 10000UL) {\n    unit = 1;\n    val = dispRx \/ 100UL;  \/\/ 0.1k\u03a9\u5358\u4f4d\n\n    ultoa(val \/ 10UL, buf, 10);\n    uint8_t idx = strlen(buf);\n\n    if (idx &lt; bufSize - 3) {\n      buf&#91;idx++] = '.';\n      buf&#91;idx++] = '0' + (val % 10UL);\n      buf&#91;idx++] = 'k';\n      buf&#91;idx]   = '\\0';\n    }\n    return;\n  }\n\n  if (dispRx &lt; 1000000UL) {\n    unit = 2;\n    val = dispRx \/ 1000UL;  \/\/ \u6574\u6570k\u03a9\n\n    ultoa(val, buf, 10);\n    uint8_t idx = strlen(buf);\n\n    if (idx &lt; bufSize - 1) {\n      buf&#91;idx++] = 'k';\n      buf&#91;idx]   = '\\0';\n    }\n    return;\n  }\n\n  unit = 3;\n  val = dispRx \/ 100000UL;  \/\/ 0.1M\u03a9\u5358\u4f4d\n\n  ultoa(val \/ 10UL, buf, 10);\n  uint8_t idx = strlen(buf);\n\n  if (idx &lt; bufSize - 3) {\n    buf&#91;idx++] = '.';\n    buf&#91;idx++] = '0' + (val % 10UL);\n    buf&#91;idx++] = 'M';\n    buf&#91;idx]   = '\\0';\n  }\n}\n\n\/\/ =====================================\n\/\/ \u8868\u793a\u63cf\u753b\n\/\/ =====================================\nvoid drawResistanceText(const char *buf) {\n  const uint8_t OLED_W   = 128;\n  const uint8_t OMEGA_W2 = 16;\n\n  uint8_t w_num   = textWidth2x(buf);\n  uint8_t total_w = w_num + OMEGA_W2;\n\n  int16_t x = (OLED_W - total_w) \/ 2;\n  x += CENTER_OFFSET;\n  if (x &lt; 0) x = 0;\n\n  oled.setFont(Arial14);\n  oled.set2X();\n  oled.clear();\n\n  oled.setCursor(x, 0);\n  oled.print(buf);\n\n  int16_t xOmega = x + w_num;\n  oled.setCursor(xOmega, 0);\n  oled.print((char)0xCE);\n  oled.print((char)0xA9);\n}\n\n\/\/ =====================================\n\/\/ setup\n\/\/ =====================================\nvoid setup() {\n  delay(200);\n\n  Wire.begin();\n  delay(50);\n\n  oled.begin(&amp;Adafruit128x32, OLED_ADDR);\n  oled.setFont(Arial14);\n  oled.set2X();\n  oled.clear();\n\n  showInsertMessage();\n}\n\n\/\/ =====================================\n\/\/ loop\n\/\/ =====================================\nvoid loop() {\n  static bool prevOpenScreen = true;\n\n  static uint8_t openCount  = 0;\n  static uint8_t shortCount = 0;\n\n  static uint32_t filteredRx = 0;\n  static uint32_t prevRxShown = 0;\n  static uint32_t prevVal = 0xFFFFFFFFUL;\n  static uint8_t  prevUnit = 0xFF;\n\n  uint16_t a = readAdcFiltered();\n\n  bool isOpenNow  = (a &gt;= OPEN_ADC_TH);\n  bool isShortNow = (a &lt;= SHORT_ADC_TH);\n\n  if (isOpenNow) {\n    if (openCount &lt; 255) openCount++;\n  } else {\n    openCount = 0;\n  }\n\n  if (isShortNow) {\n    if (shortCount &lt; 255) shortCount++;\n  } else {\n    shortCount = 0;\n  }\n\n  if (isOpenNow || isShortNow) {\n    if ((openCount &gt;= OPEN_SHORT_CONFIRM) || (shortCount &gt;= OPEN_SHORT_CONFIRM)) {\n      if (!prevOpenScreen) {\n        showInsertMessage();\n        prevOpenScreen = true;\n      }\n\n      filteredRx = 0;\n      prevRxShown = 0;\n      prevVal = 0xFFFFFFFFUL;\n      prevUnit = 0xFF;\n    }\n\n    delay(LOOP_DELAY_MS);\n    return;\n  }\n\n  if (prevOpenScreen) {\n    oled.clear();\n    prevOpenScreen = false;\n  }\n\n  uint32_t rxRaw = adcToResistance(a);\n\n  if (filteredRx == 0) {\n    filteredRx = rxRaw;\n  } else {\n    filteredRx =\n      (\n        filteredRx * (RX_FILTER_DEN - RX_FILTER_NUM) +\n        rxRaw * RX_FILTER_NUM\n      ) \/ RX_FILTER_DEN;\n  }\n\n  uint32_t rx = filteredRx;\n\n  if (prevRxShown != 0) {\n    uint32_t diff = absDiffU32(rx, prevRxShown);\n    uint32_t threshold = getUpdateThreshold(prevRxShown);\n\n    if (diff &lt; threshold) {\n      delay(LOOP_DELAY_MS);\n      return;\n    }\n  }\n\n  char buf&#91;16];\n  uint8_t unit;\n  uint32_t val;\n\n  buildDisplayText(rx, unit, val, buf, sizeof(buf));\n\n  if (val == prevVal &amp;&amp; unit == prevUnit) {\n    delay(LOOP_DELAY_MS);\n    return;\n  }\n\n  prevVal = val;\n  prevUnit = unit;\n  prevRxShown = rx;\n\n  drawResistanceText(buf);\n\n  delay(LOOP_DELAY_MS);\n}<\/code><\/pre>\n\n\n\n<p>\u5c0f\u578b\u306eATTINY402\u3082\u8a66\u3057\u307e\u3057\u305f\u304c\u3001\u5bb9\u91cf\u304c\u8db3\u308a\u306a\u304b\u3063\u305f\u305f\u3081\u3001ATTINY1604\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/div><h2><strong>\u56de\u8def\u89e3\u8aac<\/strong><\/h2><div class=\"inner\">\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303e.jpg\"><img loading=\"lazy\" width=\"1200\" height=\"675\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303e-1200x675.jpg\" alt=\"\u62b5\u6297\u5206\u5727\u56de\u8def\u306e\u8aac\u660e\u56f3\" class=\"wp-image-8623\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303e-1200x675.jpg 1200w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303e-300x169.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303e-768x432.jpg 768w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303e-1536x864.jpg 1536w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303e.jpg 1920w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<p>\u5206\u5727\u56de\u8def\u3067\u96fb\u5727\u3092\u8aad\u307f\u53d6\u308a\u3001\u305d\u3053\u304b\u3089\u62b5\u6297\u5024\u3092\u8a08\u7b97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u57fa\u6e96\u62b5\u6297\u3068\u3057\u3066\u4f7f\u7528\u3057\u3066\u3044\u308b10k\u03a9\u3068\u3001\u6e2c\u5b9a\u3059\u308b\u62b5\u6297\u304c\u540c\u305810k\u03a9\u3060\u3063\u305f\u5834\u5408\u3001\u30de\u30a4\u30b3\u30f3\u306f\u7d041.5V\u3092\u8a08\u6e2c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6e2c\u5b9a\u3059\u308b\u62b5\u6297\u5024\u304c\u57fa\u6e96\u62b5\u6297\u3088\u308a\u5927\u304d\u304f\u306a\u308b\u3068\u3001\u30de\u30a4\u30b3\u30f3\u304c\u8a08\u6e2c\u3059\u308b\u96fb\u5727\u3082\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u9006\u306b\u3001\u6e2c\u5b9a\u3059\u308b\u62b5\u6297\u5024\u304c\u57fa\u6e96\u62b5\u6297\u3088\u308a\u5c0f\u3055\u304f\u306a\u308b\u3068\u3001\u30de\u30a4\u30b3\u30f3\u304c\u8a08\u6e2c\u3059\u308b\u96fb\u5727\u306f\u4f4e\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/div><h2><strong>\u7d44\u307f\u8fbc\u307f<\/strong><\/h2><div class=\"inner\">\n\n\n\n<p>\u57fa\u677f\u3068\u30b1\u30fc\u30b9\u306f\u3001JLCPCB\u306b\u6ce8\u6587\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u2192 <a href=\"https:\/\/www.ekit-tech.com\/?p=8625\">3D\u30d7\u30ea\u30f3\u30c8\u3092\u5916\u6ce8\u3057\u3066\u307f\u305f<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u7279\u306b\u96e3\u3057\u3044\u3068\u3053\u308d\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u62b5\u6297\u306e\u30ea\u30fc\u30c9\u3092\u5dee\u3057\u8fbc\u3080\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u90e8\u5206\u3060\u3051\u3001\u5c11\u3057\u5de5\u592b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7e26\u65b9\u5411\u306e\u5217\u306f\u3069\u3053\u306b\u5dee\u3057\u3066\u3082\u5c0e\u901a\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u304b\u3063\u305f\u305f\u3081\u3001\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u3092\u5206\u89e3\u3057\u3001\u5185\u90e8\u3092\u9285\u7b94\u30c6\u30fc\u30d7\u3067\u63a5\u7d9a\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303f.jpg\"><img loading=\"lazy\" width=\"1200\" height=\"675\" src=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303f-1200x675.jpg\" alt=\"\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u3092\u5206\u89e3\u3057\u3001\u5185\u90e8\u3092\u9285\u7b94\u30c6\u30fc\u30d7\u3067\u63a5\u7d9a\" class=\"wp-image-8627\" srcset=\"https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303f-1200x675.jpg 1200w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303f-300x169.jpg 300w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303f-768x432.jpg 768w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303f-1536x864.jpg 1536w, https:\/\/www.ekit-tech.com\/wp-content\/uploads\/20260303f.jpg 1920w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\n\n<\/div><h2><strong>\u639b\u304b\u3063\u305f\u8cbb\u7528<\/strong><\/h2><div class=\"inner\">\n\n\n\n<ul><li>\u57fa\u677f\u4ee3\uff1a100\u5186<\/li><li>\u30b1\u30fc\u30b9\u4ee3\uff1a500\u5186<\/li><li>OLED\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\uff1a500\u5186<\/li><li>IC\uff08ATTINY1604\uff09\uff1a100\u5186<\/li><li>CR2032\u96fb\u6c60\uff06\u30b1\u30fc\u30b9\uff1a200\u5186<\/li><li>\u30b9\u30e9\u30a4\u30c9\u30b9\u30a4\u30c3\u30c1\uff1a30\u5186<\/li><li>\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\uff1a200\u5186<\/li><li>\u305d\u306e\u4ed6\uff08\u62b5\u6297\uff0f\u30b3\u30f3\u30c7\u30f3\u30b5\uff0f\u30b3\u30cd\u30af\u30bf\u7b49\uff09\uff1a100\u5186<\/li><\/ul>\n\n\n\n<p>\u7dcf\u8cbb\u7528\uff1a\u7d041,730\u5186<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300c\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u3067\u56de\u8def\u3092\u7d44\u3093\u3060\u3042\u3068\u3001\u62b5\u6297\u3092\u7247\u3065\u3051\u308b\u306e\u304c\u9762\u5012\u3059\u304e\u308b\uff01\u300d \u3068\u3044\u3046\u3053\u3068\u3067\u3001\u30ea\u30fc\u30c9\u4ed8\u304d\u62b5\u6297\u5668\u3092\u624b\u8efd\u306b\u6e2c\u5b9a\u3067\u304d\u308b\u5c0f\u578b\u30c1\u30a7\u30c3\u30ab\u30fc\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002 \u30b9\u30a4\u30c3\u30c1\u3092ON\u306b\u3057\u3066\u62b5\u6297\u3092\u5dee\u3057\u8fbc\u3080\u3068\u3001\u3059\u3050\u306b\u5024\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002 \u305f\u3060 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8613,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[100],"tags":[],"_links":{"self":[{"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/posts\/8605"}],"collection":[{"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8605"}],"version-history":[{"count":16,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/posts\/8605\/revisions"}],"predecessor-version":[{"id":8659,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/posts\/8605\/revisions\/8659"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=\/wp\/v2\/media\/8613"}],"wp:attachment":[{"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ekit-tech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}