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).
- 1Connect your Arduino
Plug the USB cable into your Arduino and into your computer. A green light (ON) will turn on.
- 2Click Compile & Upload to board
Codey checks your code and gets it ready (compiles it). The first time, this can take a minute.
- 3Choose 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.
Mac
Something with usbmodem or usbserial, for example /dev/cu.usbmodem14101, cu.usbserial-1420, or cu.wchusbserial1420. Always choose the cu. version.
Linux
/dev/ttyACM0 or /dev/ttyUSB0. No access? Add yourself to the dialout group and log in again.
Chromebook
Chrome shows the name of the device, for example Arduino Uno, USB2.0-Serial, or USB Serial.
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?"
Codey Online is a product of OTRONIC