Chapter 1: Introduction to Annex RDS for ESP32

Annex RDS is a powerful, easy-to-use firmware for ESP32 microcontrollers that allows you to program the device using a web-based IDE, simplifying the development of IoT applications. This system allows developers to write and execute code in a high-level language that is easy to learn and use, making it ideal for rapid prototyping, educational purposes, and hobbyist projects.

Its embedded Web-Based Development environment offers a unique web interface for writing, editing, and executing code directly from a web browser, eliminating the need for a separate development environment.

This chapter guides you through the initial setup and explains how to install Annex RDS on your ESP32 module.

1.1 What is Annex RDS?

Annex RDS (Rapid Development Suite) is a versatile firmware designed specifically for the ESP32 platform, supporting all ESP32 devices, including single and dual-core modules like the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. While a version also exists for the ESP8266, it is no longer fully supported due to its reduced resources.

Annex RDS offers a simplified environment for developing applications using BASIC scripting, removing the complexity of traditional microcontroller programming. It takes full advantage of the powerful hardware architecture of the ESP32, utilizing both cores and available RAM. For modules equipped with PSRAM memory extensions, Annex RDS can also make up to 8 MBytes of additional RAM available for users.

1.2 Key Features of Annex RDS

1.3 Supported Functionalities

Annex RDS provides a wide range of functionalities to support complex projects:

1.4 Supported Devices and Modules

Annex RDS natively supports a wide range of devices with dedicated commands and functions, including but not limited to:

1.5 Advantages of Using Annex RDS

1.6 Use Cases for Annex RDS:

1.7 Getting Started with Annex RDS

To begin using Annex RDS, you need to flash the firmware onto your ESP32 module. The following section provides detailed steps on how to do this, including instructions for using the Online Flasher.

1.7.1 Flashing the Firmware

  1. Visit the Online Flasher: Go to https://flasher.cicciocb.com/.
  2. Connect to the Device:
  1. Auto-Detect Flash Size:
  1. Select Firmware:
  1. Choose Firmware Version:
  1. Select Partitions:
  1. Configure the Device:
  1. Finalise Flashing:
  1. Power Cycle the ESP32:

1.7.2 Connect to the Annex RDS Web Interface

After flashing the firmware, there are several ways to connect to the Annex RDS web interface:

1.8 Running Your First Annex RDS Program

Now that you have set up the development environment, let's run your first program using Annex RDS.

1.8.1 Writing a Simple "Hello World" Program:

  1. Open the Web Interface:
  2. Create a New Script:

Enter the Following Code:

PRINT "Hello, World!"

  1. Save the Script:
  1. Run the Script:

1.8.2 Understanding the Code:

1.8.3 Modifying the Program:

Let's modify the program to make it more interactive:

A = 123

WLOG "The value of A is “; a

  1. Save and Run the Modified Script:

1.9 Exploring the Annex RDS Web Interface

The Annex RDS web interface is the primary tool for developing, testing, and debugging your scripts. Here’s a quick overview of its main features:

1.10 Conclusion

By the end of this chapter, you should have a basic understanding of what Annex RDS is, how it can be used with the ESP32 platform, and how to set up your development environment to run your first programs. In the next chapter, we’ll dive deeper into the Annex RDS interpreter to understand how it handles script execution, memory management, and other core features.