U-Board

School lab water logger

School science practicals · Grid layout — one sensor that answers in rows of a name and a value, read as a card for each

A school lab's water logger for a pond-water practical — the logger answers only in rows of a channel name and a value, yet the board reads the list as one item and makes a card for each channel. Temperature, pH, conductivity, turbidity and dissolved oxygen each take a tone from the range the practical allows (the pH is fine only within a band, the oxygen only above a floor), and beside them are the oxygen's curve as it fell through the afternoon and the groups' notes. An amber-on-black logger screen. Example data.

School lab water logger

A board drawn with U-Board. Its values are example data written for it, not readings from a real site.

Open in the playground →

Board definition (JSON)

Everything that draws this board — where each value is read from (data), what is shown (parts), and where it sits and over what background (layout), in the same format U-Board’s editor and AI assistant write. The background drawing is long, so it is shortened here; the downloaded file has it whole.

Download — board.json
{
  "board": {
    "title": "과학실 수질 로거",
    "theme": "dark",
    "accent": "#39ff8a",
    "skin": {
      "palette": {
        "paper": "#04100a",
        "ink": "#c9f5da",
        "muted": "#6fae88",
        "rule": "#143d28",
        "backdrop": "#030b07"
      },
      "font": "\"JetBrains Mono\", \"D2Coding\", Consolas, \"Malgun Gothic\", monospace",
      "display": "\"JetBrains Mono\", \"D2Coding\", Consolas, \"Malgun Gothic\", monospace",
      "frame": "glow",
      "radius": 2,
      "shadow": "none",
      "numerals": {
        "scale": "xlarge",
        "weight": 300
      }
    }
  },
  "statuses": {
    "ok": {
      "tone": "ok",
      "label": "범위 안"
    },
    "warn": {
      "tone": "warn",
      "label": "주의"
    },
    "alarm": {
      "tone": "alarm",
      "label": "범위 밖"
    },
    "info": {
      "tone": "info",
      "label": "메모"
    }
  },
  "data": {
    "now": {
      "from": "lab",
      "path": "/lab/now",
      "time": "updatedAt",
      "fields": {
        "room": {},
        "class": {},
        "topic": {}
      }
    },
    "channels": {
      "from": "lab",
      "path": "/lab/channels",
      "list": "/value",
      "pivot": {
        "key": "channel",
        "value": "reading"
      },
      "time": "updatedAt",
      "fields": {
        "temp": {
          "label": "수온",
          "unit": "℃",
          "digits": 1,
          "state": [
            "ok",
            25,
            "warn",
            30,
            "alarm"
          ]
        },
        "ph": {
          "label": "pH",
          "digits": 1,
          "state": [
            "alarm",
            6,
            "warn",
            6.5,
            "ok",
            8.6,
            "warn",
            9,
            "alarm"
          ]
        },
        "cond": {
          "label": "전도도",
          "unit": "µS/cm",
          "state": [
            "ok",
            800,
            "warn",
            1500,
            "alarm"
          ]
        },
        "turb": {
          "label": "탁도",
          "unit": "NTU",
          "digits": 1,
          "state": [
            "ok",
            5,
            "warn",
            10,
            "alarm"
          ]
        },
        "oxygen": {
          "label": "용존산소",
          "unit": "mg/L",
          "digits": 1,
          "state": [
            "alarm",
            4,
            "warn",
            6,
            "ok"
          ]
        }
      }
    },
    "oxygen": {
      "from": "lab",
      "path": "/lab/oxygen",
      "list": "/value"
    },
    "notes": {
      "from": "lab",
      "path": "/lab/notes",
      "list": "/value",
      "key": "id",
      "time": "updatedAt",
      "fields": {
        "state": {
          "state": "raw"
        },
        "time": {},
        "who": {},
        "what": {}
      }
    },
    "tempRead": {
      "from": "lab",
      "path": "/lab/channels",
      "list": "/value",
      "pivot": {
        "key": "channel",
        "value": "reading"
      },
      "time": "updatedAt",
      "fields": {
        "temp": {
          "label": "수온",
          "unit": "℃",
          "digits": 1,
          "state": [
            "ok",
            25,
            "warn",
            30,
            "alarm"
          ]
        }
      }
    },
    "phRead": {
      "from": "lab",
      "path": "/lab/channels",
      "list": "/value",
      "pivot": {
        "key": "channel",
        "value": "reading"
      },
      "time": "updatedAt",
      "fields": {
        "ph": {
          "label": "pH",
          "digits": 1,
          "state": [
            "alarm",
            6,
            "warn",
            6.5,
            "ok",
            8.6,
            "warn",
            9,
            "alarm"
          ]
        }
      }
    },
    "condRead": {
      "from": "lab",
      "path": "/lab/channels",
      "list": "/value",
      "pivot": {
        "key": "channel",
        "value": "reading"
      },
      "time": "updatedAt",
      "fields": {
        "cond": {
          "label": "전도도",
          "unit": "µS/cm",
          "state": [
            "ok",
            800,
            "warn",
            1500,
            "alarm"
          ]
        }
      }
    },
    "turbRead": {
      "from": "lab",
      "path": "/lab/channels",
      "list": "/value",
      "pivot": {
        "key": "channel",
        "value": "reading"
      },
      "time": "updatedAt",
      "fields": {
        "turb": {
          "label": "탁도",
          "unit": "NTU",
          "digits": 1,
          "state": [
            "ok",
            5,
            "warn",
            10,
            "alarm"
          ]
        }
      }
    },
    "oxygenRead": {
      "from": "lab",
      "path": "/lab/channels",
      "list": "/value",
      "pivot": {
        "key": "channel",
        "value": "reading"
      },
      "time": "updatedAt",
      "fields": {
        "oxygen": {
          "label": "용존산소",
          "unit": "mg/L",
          "digits": 1,
          "state": [
            "alarm",
            4,
            "warn",
            6,
            "ok"
          ]
        }
      }
    }
  },
  "parts": {
    "title": {
      "as": "header",
      "of": "now",
      "title": "{{room}} · {{class}}",
      "kicker": "WATER LOGGER · 수질 실습 로거 · CH 1–5",
      "subtitle": "{{topic}} · 예시 데이터",
      "scale": "xlarge",
      "kickerInk": "accent"
    },
    "temp": {
      "as": "status-card",
      "of": "tempRead",
      "title": "수온 TEMP",
      "state": "temp",
      "meter": {
        "field": "temp",
        "min": 0,
        "max": 40
      },
      "numerals": {
        "scale": "xlarge",
        "weight": 300
      }
    },
    "ph": {
      "as": "status-card",
      "of": "phRead",
      "title": "pH",
      "state": "ph",
      "meter": {
        "field": "ph",
        "min": 4,
        "max": 11
      },
      "numerals": {
        "scale": "xlarge",
        "weight": 300
      }
    },
    "cond": {
      "as": "status-card",
      "of": "condRead",
      "title": "전도도 COND",
      "state": "cond",
      "meter": {
        "field": "cond",
        "min": 0,
        "max": 2000
      },
      "numerals": {
        "scale": "xlarge",
        "weight": 300
      }
    },
    "turb": {
      "as": "status-card",
      "of": "turbRead",
      "title": "탁도 TURB",
      "state": "turb",
      "meter": {
        "field": "turb",
        "min": 0,
        "max": 15
      },
      "numerals": {
        "scale": "xlarge",
        "weight": 300
      }
    },
    "oxygen": {
      "as": "status-card",
      "of": "oxygenRead",
      "title": "용존산소 DO",
      "state": "oxygen",
      "meter": {
        "field": "oxygen",
        "min": 0,
        "max": 10
      },
      "numerals": {
        "scale": "xlarge",
        "weight": 300
      }
    },
    "curve": {
      "as": "chart.line",
      "of": "oxygen",
      "title": "DO 용존산소 mg/L — 오늘 실습 시간",
      "x": "time",
      "y": "oxygen",
      "echarts": {
        "yAxis": {
          "min": 3,
          "max": 9
        },
        "series": [
          {
            "symbol": "circle",
            "symbolSize": 7,
            "lineStyle": {
              "width": 3,
              "shadowBlur": 12,
              "shadowColor": "#39ff8a"
            },
            "markLine": {
              "symbol": "none",
              "silent": true,
              "lineStyle": {
                "type": "dashed",
                "width": 1.5
              },
              "data": [
                {
                  "yAxis": 6,
                  "lineStyle": {
                    "color": "#ffb020"
                  },
                  "label": {
                    "formatter": "6.0 주의선",
                    "color": "#ffb020",
                    "position": "insideEndTop"
                  }
                },
                {
                  "yAxis": 4,
                  "lineStyle": {
                    "color": "#ff4a4a"
                  },
                  "label": {
                    "formatter": "4.0 위험선",
                    "color": "#ff4a4a",
                    "position": "insideEndTop"
                  }
                }
              ]
            },
            "endLabel": {
              "show": true,
              "formatter": "{c} mg/L",
              "color": "#ffb020",
              "fontSize": 20,
              "fontWeight": 700,
              "distance": 10
            }
          }
        ],
        "xAxis": {
          "splitLine": {
            "show": true,
            "lineStyle": {
              "color": "#143d28"
            }
          }
        }
      }
    },
    "notes": {
      "as": "list",
      "of": "notes",
      "title": "LOG 모둠 기록",
      "primary": "what",
      "secondary": "who",
      "trailing": "time",
      "state": "state",
      "numerals": {
        "scale": "large"
      }
    },
    "foot": {
      "as": "label",
      "title": "예시 데이터 — 실제 학교의 측정값이 아닙니다 · 색은 허용 범위에 견준 상태",
      "scale": "small",
      "ink": "muted"
    }
  },
  "layout": {
    "kind": "canvas",
    "size": [
      1600,
      1000
    ],
    "place": {
      "title": [
        56,
        30,
        900,
        124
      ],
      "temp": [
        56,
        168,
        276,
        190
      ],
      "ph": [
        359,
        168,
        276,
        190
      ],
      "cond": [
        662,
        168,
        276,
        190
      ],
      "turb": [
        965,
        168,
        276,
        190
      ],
      "oxygen": [
        1268,
        168,
        276,
        190
      ],
      "curve": [
        56,
        384,
        900,
        560
      ],
      "notes": [
        988,
        384,
        556,
        560
      ],
      "foot": [
        56,
        962,
        1200,
        22
      ]
    }
  }
}
Data (source answers JSON)

The sources the board reads and what they answered — only the fields the board reads. This page draws the board from these answers, with no server.

Download — data.json
{
  "connectors": [
    {
      "key": "lab",
      "name": "예시 과학실 로거",
      "example": true,
      "attribution": {
        "text": "예시 데이터 — 실제 학교의 측정값이 아닙니다"
      }
    }
  ],
  "capturedAt": "2026-10-29T05:40:30.000Z",
  "responses": {
    "lab": {
      "/lab/now": {
        "room": "과학실 2",
        "class": "2학년 3반",
        "topic": "연못물 수질 비교",
        "updatedAt": "2026-10-29T05:40:00Z"
      },
      "/lab/channels": {
        "value": [
          {
            "channel": "temp",
            "reading": 22.8,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "channel": "ph",
            "reading": 7.4,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "channel": "cond",
            "reading": 412,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "channel": "turb",
            "reading": 6.2,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "channel": "oxygen",
            "reading": 5.4,
            "updatedAt": "2026-10-29T05:40:00Z"
          }
        ],
        "updatedAt": "2026-10-29T05:40:00Z"
      },
      "/lab/oxygen": {
        "value": [
          {
            "time": "09:00",
            "oxygen": 8.4
          },
          {
            "time": "09:30",
            "oxygen": 8.3
          },
          {
            "time": "10:00",
            "oxygen": 8.1
          },
          {
            "time": "10:30",
            "oxygen": 7.9
          },
          {
            "time": "11:00",
            "oxygen": 7.6
          },
          {
            "time": "11:30",
            "oxygen": 7.2
          },
          {
            "time": "12:00",
            "oxygen": 6.9
          },
          {
            "time": "12:30",
            "oxygen": 6.5
          },
          {
            "time": "13:00",
            "oxygen": 6.2
          },
          {
            "time": "13:30",
            "oxygen": 5.9
          },
          {
            "time": "14:00",
            "oxygen": 5.6
          },
          {
            "time": "14:30",
            "oxygen": 5.4
          }
        ],
        "updatedAt": "2026-10-29T05:40:00Z"
      },
      "/lab/notes": {
        "value": [
          {
            "id": "n-4",
            "time": "14:10",
            "who": "3모둠",
            "what": "용존산소가 6 아래로 — 시료에 공기를 불어 넣어 봄",
            "state": "warn",
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "n-3",
            "time": "13:20",
            "who": "1모둠",
            "what": "탁도 6 — 시료를 가라앉혀 윗물만 다시 잼",
            "state": "warn",
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "n-2",
            "time": "11:00",
            "who": "2모둠",
            "what": "pH 7.4 · 전도도 412 — 수돗물과 비교표에 적음",
            "state": "ok",
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "n-1",
            "time": "09:10",
            "who": "선생님",
            "what": "로거 다섯 채널 보정 확인",
            "state": "info",
            "updatedAt": "2026-10-29T05:40:00Z"
          }
        ],
        "updatedAt": "2026-10-29T05:40:00Z"
      }
    }
  }
}