Boards

The students tested the following boards:

  • Seeed XIAO rp2040
  • Seeed XIAO esp32c3
  • DOIT esp32 development board
  • Arduino UNO
  • ESP-WROOM-32
  • arduino NANO
  • Performance test

    The sketch used to test the performance calculates how many loop iterations run in 10 seconds.

                    #include "Arduino.h"
     
                    unsigned long timeNow, it = 0;
                    unsigned long timeLast = 0;
                    boolean running = true;
                     
                    void setup() {
                        Serial.begin(115200);
                        timeNow = millis() / 1000;
                        timeLast = timeNow;
                    }
                     
                    void loop() {
                        if (!running)
                            return;
                    // Time Range of exact 10 seconds
                        if (timeLast + 10 > timeNow) {
                            it = it + 1;
                        } else {
                            Serial.print("Duration: ");
                            Serial.print(timeNow);
                            Serial.print(" seconds, iterations: ");
                            Serial.println(it);
                            running = false;
                        }
                        timeNow = millis() / 1000;
                    }
                    

    The sketch was taken from this page .

    Results

    Board MCU Iterations in 10sec
    Seeed XIAO rp2040 rp2040 6467261
    Seeed ESP32-C3 ESP32-C3 2633394
    ESP-WROOM-32 ESP32-D0WDQ6 1216521
    Arduino NANO atmega328P 243397
    Arduino UNO atmega328p 243397