Glucoled installer

For diabetics who just want to see their blood sugar at a glance. 血糖値をひと目で確認したい糖尿病の方へ。

A tiny glucose display: just the number and the trend arrow, from Dexcom Share (including Japanese accounts) or Nightscout. Dexcom Share(日本のアカウント対応)またはNightscoutから、血糖値と矢印だけを表示する小さなディスプレイ。

Glucoled on a LilyGO T-Display S3 above a motorcycle's red dashboard, showing 17:43, NS and 94 with a flat arrow

1. You need 準備するもの

Also works on the ideaspark ESP32 1.9" board. Source code and details.

2. Install (on the computer) インストール(パソコンで)

Plug the board into the computer with the USB cable, then click: ボードをUSBでパソコンにつないで、下のボタンを押す:

This browser can't install firmware. Please open this page in Chrome or Edge on a computer.
このブラウザは使えません。パソコンのChromeかEdgeで開いてください。
Installing needs a secure page (https).
  1. Pick the board and click Connect. Click the line that says USB JTAG/serial debug unit (or usbmodem… / usbserial…), then Connect. Not "Bluetooth" or "debug-console". 「USB JTAG/serial debug unit」の行をクリックして「接続」。BluetoothやDebug-consoleではありません。
    Chrome's serial port list with USB JTAG/serial debug unit selected and the Connect button
  2. If you see a menu, click Install Glucoled. (It appears when the board already has software on it.) メニューが出たら「Install Glucoled」をクリック。
    Menu with Install Glucoled and Logs & Console
  3. Leave "Erase device" ticked and click Next. 「Erase device」にチェックのまま「Next」。
    Erase device dialog with the box ticked and the Next button
  4. Click Install. 「Install」をクリック。
    Confirm Installation dialog with the Install button
  5. Wait about 2 minutes. Keep this page in front and don't unplug the board. 約2分待ちます。このページを表示したまま、ケーブルを抜かないでください。
    Installing, 41%
  6. Done! Click Next and close the window. The board restarts and shows a QR code. 完了!「Next」を押して閉じます。ボードが再起動してQRコードが表示されます。
    Installation complete
Error "Failed to open serial port"? Another tab or program is using the board. Close other tabs with this page (or Arduino), unplug the board, plug it back in and try again.
「Failed to open serial port」:他のタブやアプリがボードを使っています。閉じてからUSBを抜き差しして再試行。
Board not in the list? Try another USB cable (many are charge-only). Still nothing: hold the BOOT button (the lower one) while plugging it in, try again, and press the reset button on the side afterwards.
一覧に出ない:別のケーブルを試す。だめなら下のBOOTボタンを押しながらUSBを差し込み、再試行。終わったら側面のリセットボタン。

3. Set it up (on your phone) 設定(スマホで)

The board can now be unplugged from the computer and powered from any USB charger. パソコンから外して、USB充電器につないでもOKです。

  1. Scan the QR code on the board with the phone camera and tap Join "Glucoled-Setup". ボードのQRコードをカメラで読み取り、「Glucoled-Setup」に接続。
    Glucoled setup screen with a QR code, network name and password
  2. A setup page opens. Type your WiFi name and password (home, and your phone's hotspot if you want it in the car). If the page doesn't open, open 192.168.4.1 in the browser. 設定画面が開きます。WiFi名とパスワードを入力(自宅、車で使うならスマホのテザリングも)。開かない場合はブラウザで192.168.4.1。
    Setup page: four WiFi name and password rows
  3. Enter the Dexcom email and password, choose the region (Japan for Japanese accounts), then tap Save and restart. Leave Nightscout empty if you don't use it. Dexcomのメールとパスワードを入力、地域は「Japan / 日本」を選んで「保存して再起動」。Nightscoutは空欄でOK。
    Setup page: region Japan, Nightscout empty, time zone Japan, Save and restart button
  4. Your number appears within about 20 seconds. Reconnect your phone to your normal WiFi. 約20秒で血糖値が表示されます。スマホのWiFiを元に戻してください。
"No WiFi. Hold the button 6 s for setup"? The WiFi name or password is wrong, or it's a 5 GHz network. Hold the lower button for 6 seconds to open setup again. iPhone hotspot: turn on Maximize Compatibility.
WiFi名・パスワードの間違いか5GHzです。下のボタンを6秒長押しで設定し直し。iPhoneのテザリングは「互換性を優先」をオン。
Shows "--"? WiFi works but Dexcom didn't answer: check the email, password and region, and that Share is on in the Dexcom app. Hold the button 6 seconds to fix it.
「--」表示:Dexcomのメール・パスワード・地域、アプリの共有設定を確認。ボタン6秒長押しで修正。

Good to know 注意