🤖

Arduino AI IDE

Arduino AI IDE

Code with an AI helper — and flash it straight to your Mega2560

有 AI 助手陪你写代码 —— 还能直接烧录到你的 Mega2560

What is it?

这是什么?

A little desktop app made just for you, Jeremy. On the left an assistant guides you; top-right shows the circuit to wire; bottom-right has the code. Press ▶ Run and it compiles and uploads to your board automatically — no copy-pasting.

这是一个专门为你(Jeremy)做的小桌面程序。左边有个助手一步步带你做;右上角显示要怎么接线;右下角放着代码。按一下 ▶ Run,它就会自动编译并上传到你的板子 —— 不用复制粘贴。

It speaks English and 中文, works with the Mega2560 and ESP32 (pick your board up top), has 4 guided lessons, and a built-in AI helper you can ask anything. Best of all, it updates itself — install it once and new versions arrive automatically.

它支持 英文和中文,能用在 Mega2560 和 ESP32 上(在顶部选你的板子),有 4 节带你一步步学的课程,还有一个内置的 AI 助手,什么都可以问它。最棒的是,它会 自己更新 —— 装一次以后,新版本会自动送上门来。

1 · Make the light blink ★

1 · 让灯闪起来 ★

Your first program — the built-in LED.

你的第一个程序 —— 板载 LED。

2 · A button switch ★★

2 · 按钮开关 ★★

Press a button to turn an LED on/off.

按一下按钮,让 LED 开/关。

3 · Breathing light ★★★

3 · 呼吸灯 ★★★

Fade an LED smoothly with PWM.

用 PWM 让 LED 平滑地亮起来又暗下去。

4 · Automatic night light ★★★★

4 · 自动夜灯 ★★★★

A light sensor that lights up in the dark.

用光敏电阻做一个天黑就亮的灯。

Download & install (Windows)

下载 & 安装(Windows)

Step 1 · Get the app
第 1 步 · 拿到这个程序

Windows: open the file and follow the installer. The first time, Windows may show “Windows protected your PC” → click More info → Run anyway (it’s safe, just not signed yet).
Mac: open the .dmg, drag Arduino AI to Applications, then just double-click to open — it’s signed & notarized by Apple, so there’s no security warning.
Everything it needs to compile is built in — the first time you press Run it downloads the board support by itself (needs internet once).

Windows:打开文件,跟着安装程序一步步做。第一次打开时,Windows 可能会弹出“Windows 已保护你的电脑”→ 点 更多信息 → 仍要运行(它是安全的,只是还没签名而已)。
Mac:打开 .dmg,把 Arduino AI 拖到“应用程序”里,然后直接双击打开就行 —— 已经过 Apple 签名 + 公证,不会再有任何安全提示。
编译需要的东西都已经内置好了 —— 第一次按 Run 的时候,它会自己下载板子的支持包(这一次需要联网)。

🔄 You only download this once
🔄 只用下载这一次
Every time you open the app it checks for a new version and updates itself with one click — you won't need to come back to this page.以后每次打开这个程序,它都会检查有没有新版本,点一下就能自己更新 —— 你不用再回到这个页面来。
Step 2 · Run it
第 2 步 · 运行它
  1. 1
    Plug the Mega2560 into the computer with the blue USB cable.
    用那根蓝色的 USB 线,把 Mega2560 插到电脑上。
  2. 2
    Open Arduino AI from the Start menu.
    从“开始”菜单里打开 Arduino AI
  3. 3
    Pick a lesson on the left → wire the circuit shown top-right → choose your port at the bottom → press ▶ Run.
    在左边选一节课程 → 照着右上角的图把电路接好 → 在下面选好你的端口 → 按 ▶ Run
  4. 4
    Watch your board light up. 🎉 Then try the next lesson.
    看着你的板子亮起来。🎉 然后试试下一节课程。
🛠️ The port doesn’t show up?
🛠️ 端口没出现?
Same as the Arduino Lab task: ELEGOO boards use a CH340 chip. If no port appears, install the CH340 driver, unplug and replug the board, then click the ↻ refresh button next to the port menu.和 Arduino Lab 那个任务一样:ELEGOO 的板子用的是 CH340 芯片。如果没有端口出现,先装上 CH340 驱动,把板子拔下来再插回去,然后点端口菜单旁边的 ↻ 刷新按钮。