What are "IDE: Serial Monitor Console", "IDE: Serial Monitor", "App Lab: Serial Monitor Console", "App Lab: Python Console" in UNO Q?

I have prepared this tutorial to explain and clarify the definitions of the objects mentioned in the title. I would greatly appreciate feedback to correct any misconceptions if any from my part.

With the advent of UNO Q Board, we have the following monitoring/communicating windows (Fig-1):

  • Arduino IDE: Serial Monitor Console (Monitor object driven console window frpm Arduino skech)

  • Ardino IDE: Serial Monitor (Serial object driven console window from Arduino Sketch)

  • App Lab: Serial Monitor Console (Monitor object driven console window Arduino sketch)

  • App Lab: Python Console (print driven console window from Python script)


Figure-1:
//====================================================

1. Arduino IDE: Serial Monitor Console
This console window communicates with the MCU of UNO Q board in the followin path (Fig-1)

Arduino IDE 2.3.7 ----> Serial Monitor Console <----> virtual COMX Port in PC <----> USB-A Port of PC <----> USB-C Port of UNO Q <----> MPU <----> Router Bridge <-----> flash of MCU

Test Sketch: Hello message appears on Serial Monitor Console
Use IDE 2.3.7 to upload the following sketch into the flash of MCU and check the message Hello appears on the Serial Monitor Console.

#include <Arduino_RouterBridge.h>

void setup() {
  Bridge.begin();
  Monitor.begin(); //creates Serial Monitor Console
  delay(5000);
  }

void loop() {

  Monitor.println("Hello");
  delay(1000);                      // wait for a second
}

//=====================================================

2. Arduino IDE: Serial Monitor
This console window communicates with the MCU of UNO Q board in the following path (Fig-1). From this IDE, it is not possible to upload sketch into flash of MCU.

Arduino IDE 1.8.19 ---> Serial Monitor <----> virtaul COMX Port in PC <----> USB-A Port of PC<----> USB to TTL Converter <----> RX/TX Pins of Header of UNO Q (MCU's UART1 Port) <-----> flash of MCU

Test sketch: Welcome message appears on Serial Monitor
(a) Connect UNO Q, PC, TTL<--->USB Converter as per Fig-2 (tested).


Figure-2:

(b) Use IDE 2.3.7 to upload the following sketch into flash of MCU.

#include <Arduino_RouterBridge.h>

void setup() {
  Bridge.begin();
  Monitor.begin();
  delay(5000);
  Serial.begin(9600);   //creates Serial Monitor
  }

void loop() {

  Monitor.println("Hello");
  Serial.println("welcome");
  delay(1000);                      // wait for a second
}

(c) Open IDE 1.8.19 and open Serial Monitor at Bd = 9600. Check that Welcome message appears on the Serial Monior.
//========================================================

3. App Lab: Serial Monitor Console
This window communicates with MCU of UNO Q board in this way (Fig-1):
Arduino IDE 2.3.7 ----> Serial Monitor Console <----> virtual COMX Port in PC <----> USB-A Port of PC <----> USB-C Port of UNO Q <----> MPU <----> Router Bridge <-----> (after compilation) flash of MCU

Test Sketch: MCU message appers on Serial Monitor Console of App Lab.
(a) Close IDE2.3.7 and IDE 1.8.19
(b) Open App Lab and then My Apps ----> create new app + -----> +Create New App -----> serailTest ----> Create new

(c) Editor ---> sketch ----> sketch and delete whatever is there.
(d) Copy and paste the following sketch.

#include <Arduino_RouterBridge.h>

void setup() {
  Bridge.begin();
  Monitor.begin(); //creates Serial Monitor Console
  delay(5000);
  }

void loop() {

  Monitor.println("MCU");
  delay(1000);                      // wait for a second
}

(e) Click on Run button.
(f) Go to: Console ----> Serial Monior (this is App Lab: Serial Moitor Console)
(g) works OK!
//========================================================

4. App Lab: Python Console
The window communicates with the MPU in this way (Fig-1).

App Lab ----> USB-A Port of PC ----> USB-C Port of UNO Q ----> (after interpretation) RAM MPU

Python Console <---- USB-A Port of PC <---- USB-C Port of UNO Q <---- RAM MPU

Teast Sketch: MPU message appers on Python Console
(a) App Lab ----> My Apps ----> serialTest --- > python ---> main.py ----> delete watever is there and then paste the following codes:

import time

def main():
    while True:
        print("UNO Q")
        time.sleep(1)

if __name__ == "__main__":
    main()

(b) Click on Run button
(c) Go to: Console ----> Python (this is the Python Console) and check that UNO Q message appears here.
//===========================================================

1 Like