Program with Blockly
Use math, logic, loops, variables and discover more programming concepts
Get started


Launch “Thymio Suite”

Click on the Thymio Blockly icon
Your first program in a few clicks
All programming blocks are on the left panel. Drag & drop an event block in the programming area. Then, drag & drop action blocks inside the event block. Press Play.

Examples
Thymio stops at the border of the table

Front sensors make Thymio change color

Example using variables and subroutines
Press the forward button multiple times to make Thymio accelerate
First let’s set the value of the “speed” variable to 0

We create a subroutine called “checkSpeed” that will check the value of the “speed” variable and set the motors speed accordingly. When the “speed” variable value is equal to 3, we set its value to -1 so the next time the forward button is pressed the value will be 0 again

We use the “on forward button touched” event to increment the value of the “speed” variable and to call the “checkSpeed” subroutine

You have 3 different speed levels. If you press one more time the forward button, Thymio will stop. If you press it again, Thymio will go back to the first speed level.
Something is still not clear?
Ask the other users for advices and create amazing things together!
Thymio is the perfect open source robot to assist the teacher in the digital education era. Thymio has been initiated by the MOBOTS group at EPFL with the help of partners and is commercialized by the nonprofit association MOBSYA in Renens, Switzerland.
LEGO®is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this site and the Thymio products.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License
Thymio® is a trademark of Mobsya Association - Privacy Policy - Brand usage guidelines - 2019
info@mobsya.org +41 (0)32 511 64 93