Skip to content
Thnotron

Code your robot with blocks, right in the browser

“Rean” (រៀន) means “learn” in Khmer.

Snap blocks together or type Arduino C++, then upload to your Arduino robot over a USB cable. ReanCode is free and there is nothing to install.

See what your blocks really do

Every block becomes a line of Arduino C++. Students learn the ideas with blocks and read the real code at the same time.

Blocks
Arduino C++
void setup() {
    pinMode(13, OUTPUT);
}

void loop() {
    digitalWrite(13, HIGH);
    delay(1000);
    digitalWrite(13, LOW);
    delay(1000);
}

Everything a student needs to program a robot

Visual blocks

Beginner-friendly blocks for pins, sensors, motors, servos, loops and variables. The real C++ is shown live beside them.

Arduino C++ when ready

Turn a blocks project into code and keep going in a full text editor: the path from blocks to real programming.

Mistakes shown as you work

Problems are marked on the blocks and in the code within seconds, explained in plain language.

Upload over USB

Compiles on your own computer and writes the program to the board, then checks it was written correctly.

Serial Monitor

See what your robot is saying and send it messages while it runs.

Works offline

After the first visit, ReanCode opens, checks code and uploads without internet. Projects sync when you are back online.

Khmer interface: in development. ReanCode will be available in Khmer and English. Our lessons are already in both languages.

Upload your first program in three steps

  1. Open ReanCode

    Use Chrome or Edge on a computer or Chromebook. You can try it without an account; sign in with Google to save projects to any computer.

  2. Build your program

    Start from the Blink example or a blank project, and choose your board: Arduino Uno, Nano or Mega 2560.

  3. Plug in and Upload

    Connect the board with a USB cable and click Upload. The first time, choose your board in the list Chrome shows.

What you need

Browser
Chrome or Edge on a computer or Chromebook. Phones, tablets and other browsers can edit code, but can’t send it to the robot.
Boards
Arduino Uno, Nano, Mega 2560 and similar boards. Some low-cost copies need a small driver on older Windows computers.
Internet
Needed the first time you open ReanCode and to save projects online. After that, it works without internet too.