戻る

3 AI IoT Projects to Build with CodeCraft and Wio Terminal

Explore three practical AI IoT projects built with CodeCraft and Wio Terminal, including connected clocks, weather data, BLE dashboards, and a tested workflow.

CodeCraft AI coding workflow on a laptop connected to a Wio Terminal running an IoT display project.

AI IoT projects can use AI during development, at runtime, or both. In this guide, the three examples are AI-assisted IoT projects: connected hardware applications built with help from an AI coding assistant, rather than devices claimed to run an AI model. For beginners, the difficult part is often not the idea—it is connecting hardware libraries, network services, displays, and deployment tools into one working system.

CodeCraft provides a browser-based, hardware-focused AI coding workflow: describe the intended behavior, generate a first version, compile it in the cloud, upload it to supported hardware, then test and refine it on the device. This guide explains that workflow through three real projects created for Wio Terminal.

Quick answer: A practical AI IoT project needs a physical device, a data or network connection, a clearly defined output, and a repeatable test—not just an AI-generated code sample.

What Counts as an AI IoT Project?

An IoT project connects a physical device to another device, a local service, or an internet service so that information can be collected, exchanged, displayed, or used to trigger an action. AI can contribute in two different ways:

  • AI-assisted development: an AI coding assistant helps generate, explain, or revise the firmware and supporting software.
  • AI inside the application: a model analyzes sensor, image, audio, or other data while the system is running.

The three examples below mainly demonstrate AI-assisted development. They should not be described as machine-learning systems unless an application actually runs an AI model. This distinction keeps the term “AI IoT projects” accurate.

A useful project can be described as a simple chain:

Input or data source → connection → processing → physical or visual output → test condition

For example, a clock requests time data over Wi-Fi, processes the response, displays it on Wio Terminal, and can be tested by comparing the screen with a trusted time source.

Why Use Wio Terminal for Connected Projects?

Wio Terminal is a microcontroller-based development device built around the Microchip ATSAMD51. According to the official product page, it includes Wi-Fi and Bluetooth connectivity through the Realtek RTL8720DN and is compatible with Arduino and MicroPython. Its integrated screen and physical controls make it useful for projects that need an immediate local interface.

Those features do not automatically make every Wio Terminal build an IoT project. The application must use a connection meaningfully—for example, fetching network data, exchanging information with a computer, or controlling another service.

CodeCraft supports Wio Terminal as part of its current hardware list. Its official site describes a browser-based workflow with AI code generation, cloud compilation, and upload support. Generated code still needs to be reviewed and tested, especially when a project depends on Wi-Fi credentials, external APIs, time zones, or changing data formats.

Three AI IoT Projects Built with CodeCraft

Network Clock and Weather Display

Network clock and weather information displayed on Wio Terminal

The Network Clock and Weather Display turns Wio Terminal into a connected information screen. After joining Wi-Fi, it displays the current time, date, weekday, temperature, and a weather icon. The published project description also states that the local clock continues showing time when the network is unavailable.

Why it qualifies as an IoT project

The device depends on a network connection to obtain current external information and presents that information through a physical display. It also demonstrates a useful IoT design principle: a temporary network failure should not make every local function disappear.

What you can learn

  • Connecting an embedded device to Wi-Fi
  • Separating network data from locally maintained state
  • Formatting time, date, and weather information for a small screen
  • Handling connection loss and deciding what the device should still display

A clear success test is to confirm that online information updates after connection and that the clock remains usable during a short network interruption. Before adapting the project, verify the weather-data source, its usage terms, and whether an API key is required.

Anime Desktop Clock

Anime wallpaper clock running on Wio Terminal

The Anime Desktop Clock is a networked wallpaper clock for Wio Terminal. Its project page describes automatic Beijing Time synchronization through NTP every six hours, with an option to trigger synchronization using the center button. A companion Python script can convert an image into a wallpaper asset and compile it into the firmware.

Why it qualifies as an IoT project

NTP synchronization is the connected function. The device uses a network service to correct its local time while keeping the display and user interaction on the hardware.

What you can learn

  • Requesting time from an NTP service
  • Managing periodic and user-triggered synchronization
  • Distinguishing UTC, local time, and time-zone settings
  • Combining network logic with display assets and physical buttons

The published version is configured around Beijing Time. If you reuse the project elsewhere, specify the required time zone and daylight-saving behavior in the prompt, then verify the displayed result instead of assuming the generated configuration is correct.

Wio Terminal AI Token Dashboard

Codex and Claude usage dashboard displayed on Wio Terminal

The Wio Terminal AI Token Dashboard uses Wio Terminal as a physical usage display. Its published description presents it as an open-source BLE dashboard that displays Codex and Claude usage data obtained from accounts already signed in on the local computer. It also shows an estimated daily API cost based on the usage data available to the project and provides a local web preview.

Why it qualifies as an IoT project

This project links a computer-side data source with a separate physical dashboard over BLE. It is a connected-device application even though the last hop does not use the public internet directly.

What you can learn

  • Dividing an application between host software and device firmware
  • Sending structured data over BLE
  • Designing a compact hardware dashboard
  • Handling missing, delayed, or unavailable usage data

Treat usage and cost information as operational data, not as a guaranteed billing record. Confirm it against the relevant provider’s official account or billing page. Do not place passwords, session tokens, or API keys directly in firmware, screenshots, repositories, or shared project files.

Comparing the Three Projects

The network clock and weather display is the broadest introduction because it combines Wi-Fi, external data, a display, and offline fallback. The anime clock is narrower and makes a good first networking exercise because the main remote dependency is time synchronization. The token dashboard is more advanced because it includes both computer-side software and device-side BLE communication.

Choose by learning goal:

  • Start with the Anime Desktop Clock to learn one network service and one clear output.
  • Choose the Network Clock and Weather Display to practice multiple data fields and failure handling.
  • Choose the AI Token Dashboard to explore BLE, structured data, and a two-part system.

How to Build AI IoT Projects with CodeCraft

Define one observable behavior

Avoid starting with “build a smart dashboard.” State the input, connection, output, and expected behavior:

“Connect Wio Terminal to Wi-Fi, obtain the current time using NTP, display hours and minutes, and show a connection warning if synchronization fails.”

A testable prompt gives both the AI assistant and the builder a clearer target.

Specify the hardware and constraints

Include the exact board, screen, buttons, sensors, communication method, time zone, and required libraries where known. State constraints such as offline fallback, refresh interval, or whether credentials must stay outside shared source files.

Generate the smallest working version

Begin with one data source and one output. Confirm that the board connects, compiles, uploads, and displays a valid result before adding animation, several APIs, or a complex interface.

Compile and upload

CodeCraft’s current product page describes cloud compilation and upload for supported hardware. Compilation only proves that the program can be built; it does not prove that the network, data source, or physical behavior works correctly.

Test the real system

Record expected and observed behavior for at least these conditions:

  • Correct connection and valid data
  • Wrong or missing credentials
  • Network interruption
  • Unavailable or malformed remote data
  • Device restart
  • Long-running operation

Refine one failure at a time

When a test fails, describe the actual result to CodeCraft and request a focused change. Keep versions so that a new revision can be compared with the last working build.

AI IoT Project Planning Checklist

Before calling a project complete, confirm:

  • The device and all required modules are named precisely.
  • The network or BLE connection has a clear purpose.
  • The external data source and its limits are documented.
  • Credentials are not hard-coded into public files.
  • The interface shows connection and error states.
  • The device has sensible behavior when the network fails.
  • Time-zone, units, and refresh intervals are explicit.
  • Each claimed feature has been tested on the physical device.
  • The project page distinguishes demonstrated behavior from planned improvements.

Where CodeCraft Fits

CodeCraft can shorten the path from a natural-language specification to a first firmware version, especially for builders who do not want to configure a local toolchain before testing an idea. Its value is clearest when the user provides precise requirements and iterates against observed hardware behavior.

It does not remove the need to understand the system. Builders still need to check wiring, permissions, credentials, API responses, communication reliability, and generated code. For education, this makes testing and explanation important parts of the activity rather than treating the first generated output as the final answer.

Frequently Asked Questions

Are all connected hardware projects AI IoT projects?

No. A connected device is an IoT project, but it becomes an AI IoT project only when AI assists the development process or performs a defined function in the running system. State which role AI actually plays.

Do I need cloud services for an IoT project?

Not always. The token dashboard demonstrates a local computer-to-device BLE connection. Local dashboards, LAN control, and device-to-device communication can also be IoT architectures when connected components exchange data for a useful purpose.

Can Wio Terminal run when the internet is unavailable?

It depends on the design. Local display, controls, and stored state can continue working, while live weather, NTP synchronization, or other remote data will be unavailable. Plan the fallback behavior explicitly.

Does CodeCraft guarantee that generated code will work immediately?

No coding assistant can guarantee correct behavior across every device, network, library, and external service. Treat generated code as a first implementation that must be compiled, uploaded, observed, and revised.

What hardware do I need for these examples?

All three featured projects use Wio Terminal. Requirements may also include a Wi-Fi network, a BLE-capable computer, or computer-side software depending on the application. Check each project page before starting.

Start Your First AI IoT Project

A strong AI IoT project is not defined by the number of features it contains. It has a clear data path, a useful physical output, safe handling of credentials, and tests that show what happens both when the connection works and when it fails.

Explore the three published examples, choose the smallest one that matches your learning goal, and use CodeCraft to generate and improve a first working version.

 

共有

XLinkedInWhatsAppTelegramReddit微博LINE

コメント

返信を投稿してください。モデレーション後に表示されます。

SenseCraftでものづくりを続けよう

AIワークスペースを試すか、Seeed Studioでハードウェアを購入できます。

SenseCraft AISeeed Studioストア

関連記事