Connect and upload

Is your code ready? Then it can go to your Arduino now. You do this in three steps.

Important: use Google Chrome or Microsoft Edge on your computer. Only these browsers may talk to your Arduino through USB. Safari, Firefox, and most phones cannot do that (yet).

  1. 1
    Connect your Arduino

    Plug the USB cable into your Arduino and into your computer. A green light (ON) will turn on.

  2. 2
    Click Compile & Upload to board

    Codey checks your code and gets it ready (compiles it). The first time, this can take a minute.

  3. 3
    Choose your Arduino in the port window

    A window with ports will appear. Choose your Arduino and click Connect. The RX and TX lights will blink for a moment: your code is going in (uploading). Done!

What is my Arduino called in the port window?

That depends on your computer. Do you see more than one? Unplug the cable for a moment and see which one disappears. That is your Arduino.

Windows

A COM port with a number, for example Arduino Uno (COM4) or USB-SERIAL CH340 (COM5). COM1 is almost never your Arduino.

Serial monitor: some projects send messages to your computer, for example the temperature. You see them when you click Serial Monitor in Codey. This way you can see what your Arduino "thinks".

Not working? Don't panic!

I do not see my Arduino in the port window.

Try a different USB cable. Some cables can only charge and cannot send data. Also try a different USB port on your computer.

I see CH340 or USB2.0-Serial, but uploading does not work (Windows/Mac).

Then your Arduino uses a CH340 chip. Install the free CH340 driver once (search for "CH340 driver") and restart your computer.

Uploading stops halfway.

Close other programs that use the Arduino, like the Arduino IDE or a second Codey tab. Unplug the cable for a moment, plug it back in, and try again.

It works, but my circuit does nothing.

Check the wires with the wiring diagram. Are 5V and GND connected correctly? Then ask Codey: "My LED does not turn on, what could it be?"

⬇️ Download this page as a PDF 📚 Download the complete tutorial (PDF)

Codey Online is a product of OTRONIC

Build your Arduino or ESP32 project with AI

Describe what you want to build. Codey Online writes the code, draws the wiring diagram, compiles it and flashes your board straight from the browser.

Start for free