Skip to content

Tiny Basic for Arduino

Tiny Basic for Arduino is a compact BASIC interpreter designed for mid-range Arduino boards and similar microcontroller platforms. It was created for primary and junior grade students who are new to hardware programming and may not yet have a strong introduction to more complex languages such as C/C++ or Python. The language provides many built-in features that make it easier for newcomers to learn about MCU programming and hardware interaction.

It is especially suitable for low-cost development boards such as the Arduino Due, where students can explore programming concepts while working directly with sensors, LEDs, input/output pins, and other simple hardware components.

What this project provides

  • A small BASIC-style language for writing simple programs and automations.
  • Support for variables, expressions, loops, conditionals, and input/output commands.
  • Built-in access to common hardware-oriented features such as digital and analog I/O, timing, and device interactions.
  • A plug-and-play experience with an external in-hardware editor, so there is no need for host-side IDE setup or cross-compiling; a serial terminal is often sufficient.
  • A growing documentation set that covers both language statements and built-in functions.

Documentation portal

Use the links below to explore the language and the available built-in features:

  • Language reference - overview of syntax, statements, and control structures.
  • Functions - quick access to the built-in math, bitwise, and hardware helpers.

Contributing

Contributions are welcome. You can help by:

  • improving the interpreter or fixing issues in the source tree,
  • adding or refining documentation pages and examples,
  • reporting bugs or suggesting new language features,
  • improving compatibility and testing across supported boards.

If you would like to contribute, start by reviewing the repository sources and open a pull request with a clear description of the change you are proposing.