Simulation Monitor
A specialized virtual component that hooks into the simulator's telemetry engine to display serial output and variable states.
Component Preview
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.
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
| Pin | Type | Description |
|---|---|---|
| VCC | power | Power (3.3V or 5V). |
| GND | power | Ground. |
| TX | digital | Telemetry TX. Connect to Arduino RX (Pin 0). |
| RX | digital | Telemetry RX. Connect to Arduino TX (Pin 1). |
Configurable Attributes
This component has no configurable attributes.
Wiring Diagram (Arduino Uno)
- Connect VCC to 5V.
- Connect GND to GND.
- Connect TX to Arduino RX (D0).
- 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.
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.
