Skip to content
Home > Components > Logic Components > Simulation Monitor

Simulation Monitor

A specialized virtual component that hooks into the simulator's telemetry engine to display serial output and variable states.

Component Preview

> _Sim Monitor

The Simulation Monitor is unique to OpenHW Studio. It provides a visual terminal directly on the breadboard or schematic view, allowing you to monitor UART Serial data (TX/RX) without opening a separate console window.

Logic ComponentsVirtualUART

Overview

While standard physical hardware requires a computer to view Serial output, the Simulation Monitor embeds this capability directly into the workspace. It listens to the UART pins (TX/RX) of the microcontroller.

Pin Reference

PinTypeDescription
VCCpowerPower (3.3V or 5V).
GNDpowerGround.
TXdigitalTelemetry TX. Connect to Arduino RX (Pin 0).
RXdigitalTelemetry RX. Connect to Arduino TX (Pin 1).

Configurable Attributes

This component has no configurable attributes.

Wiring Diagram (Arduino Uno)

  1. Connect VCC to 5V.
  2. Connect GND to GND.
  3. Connect TX to Arduino RX (D0).
  4. Connect RX to Arduino TX (D1).

(Note: In most basic Arduino setups in the simulator, standard Serial.print() commands automatically map to the system console, but this module allows localized viewing on the canvas).

Example Arduino Code

The Simulation Monitor does not require special libraries. It simply reads standard Serial output.

cpp
void setup() {
  Serial.begin(9600);
  Serial.println("Simulation Monitor active.");
  Serial.println("Streaming telemetry data...");
}

void loop() {
  int randomData = random(0, 100);
  Serial.print("Sensor Value: ");
  Serial.println(randomData);
  delay(1000);
}

Simulation Notes

  • The monitor includes simulated activity LEDs (TX/RX) that blink when data is being transmitted or received over the bus.

Released under the MIT License.