CUBROID Simulator
Build robots with Cubroid blocks, program them, and watch them drive!
Select Language
๐Ÿ‡บ๐Ÿ‡ธ
English
Global
๐Ÿ‡ฐ๐Ÿ‡ท
ํ•œ๊ตญ์–ด
Korean
๐Ÿ‡ช๐Ÿ‡ธ
Espaรฑol
Spanish
๐Ÿ‡ป๐Ÿ‡ณ
Tiแบฟng Viแป‡t
Vietnamese
๐Ÿ‡ฏ๐Ÿ‡ต
ๆ—ฅๆœฌ่ชž
Japanese
๐Ÿ‡จ๐Ÿ‡ณ
ไธญๆ–‡
Chinese
๐Ÿ‡น๐Ÿ‡ญ
เน„เธ—เธข
Thai
๐Ÿ‡ธ๐Ÿ‡ฆ
ุงู„ุนุฑุจูŠุฉ
Arabic
๐Ÿ‡ซ๐Ÿ‡ท
Franรงais
French
๐Ÿ‡ง๐Ÿ‡ท
Portuguรชs
Brazilian
๐Ÿ‡ฉ๐Ÿ‡ช
Deutsch
German
๐Ÿ‡ท๐Ÿ‡บ
ะ ัƒััะบะธะน
Russian
๐Ÿ‡ฎ๐Ÿ‡น
Italiano
Italian
๐Ÿ‡ต๐Ÿ‡ฑ
Polski
Polish
๐Ÿ‡ฎ๐Ÿ‡ณ
เคนเคฟเคจเฅเคฆเฅ€
Hindi
๐Ÿ‡ฒ๐Ÿ‡พ
Bahasa Melayu
Malay
Teaching Materials
๐Ÿ“š Download Teaching Materials
๐ŸšซOffNo obstacles
โญEasyWide arena, few obstacles
โญโญNormalStandard arena, random sizes
โญโญโญHardNarrow arena, walls
๐Ÿ’€ExpertTiny arena, moving obstacles
๐ŸŽฒRandomEverything random!
๐ŸงฑMaze (Simple)Code the path!
๐Ÿค–Maze (Sensor)Use sensors!
โ˜€๏ธLight ZoneFollow the light!
๐Ÿ“ฆSokoban 1Push 1 block!
๐Ÿ“ฆ๐Ÿ“ฆSokoban 2Push 2 blocks!
๐Ÿ“ฆ๐Ÿ“ฆ๐Ÿ“ฆSokoban 3Push 3 blocks!
๐Ÿ”ฌLabDefault lab
๐Ÿš€SpaceMars rover
๐ŸŒŠOceanUnderwater
๐ŸŒฟFieldNature
๐ŸœDesertExpedition
๐ŸŒ™NightNight patrol
๐Ÿ”SnowPolar
Presets
Smart Blocks
Accessories & Structure
How to Build
Drag to grid:
Speed
0 cm/s
1Select preset or drag blocks
โ†’
2Code your robot
โ†’
3Drive!
Drag Place / Move Click Select & Rotate Del Remove LMB drag Orbit
0
Blocks
0
Connections
No blocks yet
M1
0
Stop
M2
0
Stop
Loading...
Program
Drag commands to build your program
Ready
Presets
Preview
Hex16
0000000000000000
Bytes
[0, 0, 0, 0, 0, 0, 0, 0]
PPenEEraserFFillโ†‘โ†“โ†โ†’ShiftCtrl+ZUndo
1 frames
Export JSON
Import
Code
wCh('led', [0,0,0,0,0,0,0,0]);
๐ŸŽต Melodies
Click a key to play
โšก Sound FX
wCh('sound', [cmd]); // 100ms interval write
๐Ÿ’ป Code
wCh('sound', [cmd]);
โ„น๏ธ Sound Info

25 keys: C4 โ€“ C6

Click or touch keys to play.

Melodies play note-by-note.

100ms interval write to Piezo Buzzer

๐ŸŽจ Color Effects
RGB(0, 0, 0)
0
0
0
Color Presets
wCh('master', [0x00, 0x00, 0x00]); // RGB
๐Ÿ’ป Code
wCh('master', [0, 0, 0]);
โ„น๏ธ Info

Master block RGB LED.

Pick color or use sliders.

FX cycle through sequences.

3 bytes [R, G, B] to Master

๐Ÿš— Car Control

M1 = Left wheel (driver side)

M2 = Right wheel (passenger side)

Mirror-mounted: M1 CW + M2 CCW = forward

Min โ‰ˆ80, Recommended โ‰ฅ80

โš™ Motor 1 (Left)
0 STOP
โš™
โš™ Motor 2 (Right)
0 STOP
โš™
BLE Bytes
M1: [0, 0] M2: [0, 0]
wCh('dcmotor1', [0, 0]); wCh('dcmotor2', [0, 0]);
๐Ÿ’ป Code
wCh('dcmotor1', [0, 0]);
wCh('dcmotor2', [0, 0]);

Car mode:

FWD: M1=[255,0] M2=[0,255]

REV: M1=[0,255] M2=[255,0]

LEFT: M1=[0,255] M2=[0,255]

RIGHT: M1=[255,0] M2=[255,0]

Mirror-mounted. Min โ‰ˆ80.

โ„น๏ธ Sensor Info

Proximity: 0x01 = detected. Poll 200ms.

Touch: 0x01 = pressed. Poll 500ms.

Light: b0 + b1ร—255. Poll 500ms.

Use sliders to simulate when no hardware is connected.

๐Ÿ“ Proximity Sensor
Clear
rCh('proximity') โ†’ 0x01=near
๐Ÿ– Touch Sensor
Released
rCh('bnl','touch') โ†’ 0x01=pressed
๐Ÿ’ก Light Sensor
Value: 0
rCh('bnl','light') โ†’ b0+b1ร—255
๐Ÿ”— Block Connection
No group: search all blocks
ยฉ 2017โ€“2026 CUBROID Co., Ltd.
? = Shortcuts