Skip to simulator
tPre-silicon Studio Developer studio
Standalone: Mock Ingestion
STANDBY (READY)
Developer tools / Device simulator
TELEMATRIC TWIN STUDIO

Your hardware. Before the hardware.

Simulate devices, explore faults and test your telemetry flow in one workspace.

Development environment
Synthetic data6 device profilesRuns in your browserNo physical device required ↗

Optional cloud connection

Standalone. Your simulations stay in this browser.

STANDBY • SETUP MODE
Simulation is in Standby mode. Select your hardware profile, adjust interval or fault settings, then click Start Simulation (or press Space) to begin streaming live telemetry.
Hardware Profile
Sample Interval 1000 ms
Fault Injection Matrix
Real-Time Telemetry Waveform Live Trace: Primary Metric
Packets TX
0
Packets ACK
0
Ring Buffer
0
Bandwidth
0.0 KB
Event & Ingestion Stream
Flash Memory Partition Sizer (Dual OTA)
App Firmware Size (FreeRTOS + TLS + Telematric Client) 1350 KB
LittleFS Non-Volatile Telemetry Buffer 1.0 MB
Internal SRAM & TLS Handshake Sizer
mbedTLS / SSL Buffer Footprint 35 KB
In-Memory RAM Ring Queue 24 KB
SRAM Heap Allocation -- Free
Battery Endurance & Field Deployment Life Calculator
Transmit Interval 60 s
Projected Lifespan
-- Years
Total Autonomy
-- Months
Average Current Draw
-- µA
Daily Consumption
-- mAh
Network Chaos Monkey

Simulate real-world field connectivity conditions to verify that your firmware's edge ring buffer protects against telemetry data loss.

Edge Buffer Protection Rule:

When network connectivity drops, telemetry packets are automatically spooled into the simulated LittleFS non-volatile ring buffer. As soon as connectivity is restored, Telematric replays the buffered queue chronologically with zero data loss.

Edge Non-Volatile Spool (LittleFS Ring Buffer)
Index Timestamp Payload Preview Reason For Enqueue
Ring buffer empty. Zero dropped packets stored.
Live Virtual Hardware Workbench (ESP32-DevKitC) Wokwi-GUEST Active
3V3 EN VP VN 34 35 32 33 25 26 27 14 12 GND 13 VIN GND D15 D2 D4 RX2 TX2 D5 D18 D19 D21 RX0 TX0 D22 D23 ESPRESSIF ESP32 WROOM-32 CLICK TO INSPECT EN BOOT PWR IO2
EN: Reset • BOOT: GPIO 0 • Chip: Inspect Silicon • Pins: Click to Probe
GPIO 2 • TX Activity LED
IDLE
GPIO 4 • Safety Fault LED
NORMAL
GPIO 15 • Fault Slide Switch
OFF (GND Open)
Click switch to inject overtemperature trip into digital twin
Simulated Multimeter & Logic Pin Tester
CLICK ANY PIN TO PROBE
Selected Pin / Net Probe Disconnected
Live Voltage / Logic Level -- V
Configured Mode Standby / Open Probe
Hardware Signal & Function Click any pin header or edge finger on board to measure
Live Firmware UART Serial Monitor (115200 baud)
[SYSTEM] UART0 Initialized at 115200 baud. ESP32-D0WD core ready.
[WiFi] Connecting to virtual network 'Wokwi-GUEST'...
[WiFi] Connected! IP: 10.10.0.2
[SNTP] Synchronized clock with pool.ntp.org (UTC)
Embed Wokwi Simulator In-Browser
Open Wokwi Web Simulator ↗

Embed your cloud-hosted Wokwi simulation directly inside this cockpit tab. Simply paste your Wokwi Project ID or full URL below to run the full simulation frame inside your browser.

Target Firmware Editor (main.cpp)

Interactive in-browser code editor. Type your custom logic or constants directly, then click Run Code to update the live digital twin simulation immediately.

Loading firmware template...
Wokwi Virtual Schematic (diagram.json)

Wokwi virtual wiring layout for ESP32-DevKitC V4 with fault toggle switch (GPIO 15) and status indicator LEDs.

Loading diagram.json...

Workspace telemetry & optional virtual OTA

Start standalone without credentials. To send synthetic telemetry to Telematric, enter a development API key with devices:read and telemetry:write, your workspace UUID and a registered development device UUID. Live requests consume your workspace allowance.

OTA is a separate opt-in: add firmware:read and an existing supported ESP32 target’s OTA token. Check deployments, verify downloaded bytes and simulate reboot, healthy completion, interruption or rollback. No firmware binary executes and no physical device is flashed.

Project metadata and bounded telemetry queues are saved in this browser; secrets are not. Reload and scenario imports never connect automatically. Your own backend or OTA tooling can be used independently.

Read connection & OTA guide ↗
1. What is Happening Behind the Scenes

The Telematric Pre-Silicon Simulator is an embedded digital twin studio that emulates the behavior of physical IoT silicon in real time before PCB fabrication:

Time-Series Physics Engine
Executes numerical physics algorithms every interval tick (default 1000ms). Simulates barometric atmospheric drift, humidity fluctuations, battery LiFePO4 cell discharge curves, and 3-axis motion kinematics.
RTOS Kernel Emulation
Models the preemption, priority, and thread state transitions of Eclipse ThreadX (100Hz SysTick) and FreeRTOS. Mimics real hardware timer interrupts and thread sleeping routines.
Network Chaos & Edge Buffer
Simulates field connectivity disruptions (packet loss, RF jitter, total carrier drops). Verifies whether your firmware correctly spools dropped readings into local LittleFS storage and replays them on reconnect.
Live Telematric Ingestion
Generates production ISO 8601 UTC JSON payloads. In live mode, posts authenticated HTTP telemetry directly to your Telematric organization (/v1/telemetry/reading) to trigger real alert rules.
2. What the Simulator Offers
  • Zero-Hardware Verification: Test entire IoT dashboards, alert webhooks, and billing meters before spending thousands of dollars manufacturing custom hardware.
  • Dynamic 2-Board Virtual Workbench: Dynamically swaps the virtual hardware workbench between the ESP32-DevKitC V4 and the authentic MXChip AZ3166 IoT DevKit (featuring a live 128x64 VGM128064 OLED screen, ST sensor cluster, user buttons, and 14 gold edge fingers) based on the active profile.
  • Interactive Pin Testing & Digital Multimeter: Select a virtual pin to inspect illustrative voltage values, toggle simulated logic levels and view pulse animations with simulated serial logs. No electrical or interrupt verification is performed.
  • Pre-Silicon Memory Profiler: Mathematically validates Flash partition layout (Dual A/B OTA rollback slots) and RAM heap headroom (mbedTLS handshake buffers) against actual MCU silicon specs (e.g., STM32F412RG 1MB/256KB or ESP32 4MB/320KB).
  • Interactive Fault Injection Matrix: Dynamically inject I2C bus lockup (0x43 timeout), mechanical drop/shock events, pressure surges, and Wi-Fi disconnects to test firmware panic recovery.
  • Live In-Browser Code Editor & Hot-Reload: Edit custom C++ firmware code directly in the browser and click Run Code to update the live simulation outcome immediately.
  • Production Firmware Export: 1-click download of ready-to-compile C++ source code (az3166_threadx_main.cpp or main.cpp).
3. What to Account for on Physical Silicon

While the digital twin provides illustrative device behavior and selected telemetry contracts, physical hardware introduces real-world electrical and environmental factors that engineers must account for:

Domain Simulator Digital Twin Physical Hardware Reality Engineering Action Needed
Wi-Fi & RF Network Auto-connected virtual network Physical walls, 2.4GHz interference, router distance Configure real SSID/Password in cloud_config.h; ensure 2.4GHz band is enabled.
Sensor Accuracy Physics-derived mathematical curves MEMS manufacturing tolerance (±0.5°C, ±1.5% RH) Apply zero-point calibration offsets if laboratory precision is required.
Thermal Soak Calculated ambient dissipation MCU core & Wi-Fi chip warm the PCB enclosure Duty-cycle sensor reads; subtract self-heating factor (~1.5°C when Wi-Fi is active).
Power Delivery Continuous simulated power Wi-Fi transmit current spikes (~250mA peak) Ensure USB cable or power supply provides ≥500mA without dipping below 2.7V.
4. Flashing to Physical Hardware (MXChip AZ3166 & ESP32)

A. Flashing the MXChip AZ3166 (Eclipse ThreadX):

  1. Connect the AZ3166 board to your Mac or PC using a micro-USB cable.
  2. The board automatically mounts as a virtual USB drive named /Volumes/AZ3166 (macOS) or D:\ (Windows).
  3. In your terminal, navigate to the samplex repository and compile:
    ./scripts/build.sh telemetry
  4. Deploy by copying the compiled binary to the board:
    ./scripts/deploy.sh /Volumes/AZ3166
  5. The board will reboot and immediately begin executing Eclipse ThreadX and streaming telemetry.

B. Flashing ESP32 Microcontrollers:

  1. Click Download .cpp in the Firmware Editor tab to download main.cpp.
  2. Open with Arduino IDE or PlatformIO. Install ArduinoJson library.
  3. Compile and upload via USB serial port (/dev/ttyUSB0).
5. In-Browser Code & Hot-Reload Loop

You can customize the firmware logic without any local compilers installed:

  1. Navigate to Tab 4: Wokwi & C++ Bridge.
  2. Click inside the Target Firmware Editor box to type or paste custom code.
  3. Edit device constants such as TELEMETRY_INTERVAL_SEC or adjust sensor alarm thresholds.
  4. Click Run Code in Simulator: The studio reads supported parameters from your code text and triggers an updated simulation cycle on the waveform canvas and serial monitor!
6. Pin Testing & Multimeter Probing Procedure

Explore illustrative pin states in the virtual workbench. No physical pins are measured or driven:

  1. Attach Multimeter Probe: In Tab 4: Wokwi & C++ Bridge, click any physical pin on the ESP32 (e.g., GPIO 15, GPIO 2, EN) or gold edge finger on the AZ3166 (e.g., PA4, ADC1_IN0). The Multimeter HUD connects instantly.
  2. Measure Live Voltages (Read Volts): Click Read Volts to capture an illustrative voltage value with synthetic jitter (±8mV), logged to the simulated serial monitor. These values are not electrical measurements.
  3. Drive Logic Levels (Pull LOW / Pull HIGH): Click Pull LOW (GND) to drive the pin to 0.00V GND. If probing GPIO 15, this closes the safety trip switch and triggers an immediate digital twin alarm. If probing EN, it reboots the microcontroller. Click Pull HIGH (3.3V) to inject 3.3V and restore nominal state.
  4. Signal Generator Pulse Injection: Click Inject Pulse to strobe a 100ms logic clock pulse on the selected virtual pin. This does not execute MCU instructions or verify hardware interrupts.
7. Real-World Industry Use Cases

The Telematric Simulator bridges the pre-silicon development lifecycle across seven primary embedded and IoT verticals:

1. Commercial Solar Inverters & Utility PV Arrays RENEWABLE ENERGY
Operational Context: High-power 3-phase string inverters operating in remote installations subject to solar irradiance ramp rates, inverter ambient thermal stress, and power grid frequency fluctuations.
Physics & Sensor Simulation: MPPT voltage/current hunting algorithms based on irradiance (W/m2), string DC bus voltage (600V-1000V), 3-phase AC grid output power (kW), IEEE 1547 / UL 1741 anti-islanding disconnect, and thermal derating (>75°C).
Edge Firmware Architecture: Dual-core MCU or RTOS task partition. High-frequency 20kHz interrupt for inverter bridge switching with 1-second telemetry publication over Modbus-TCP / RS-485.
Telematric Integration: Streams ac_power_kw, dc_voltage_v, and inverter_temp_c. Triggers automated power curtailment webhooks and dispatch alerts during grid loss.
2. Battery Energy Storage Systems (BESS) GRID STORAGE
Operational Context: Containerized 48V/100Ah LiFePO4 battery storage banks integrated with microgrids and peak-shaving commercial substations.
Physics & Sensor Simulation: Multi-cell electrochemical state of charge (SoC) and state of health (SoH) discharge curves, inter-cell voltage delta balancing, thermal runaway propagation (dTemp/dt spike), and bidirectional C-rate tracking (-0.5C to +1.0C).
Edge Firmware Architecture: Deterministic Battery Management System (BMS) safety task executing at 50Hz. Hardware contactor relay trip activated within 10 milliseconds of overcurrent or thermal excursion.
Telematric Integration: Posts voltage_v, current_a, battery_soc_percent, and cell_temp_c. Verifies high-voltage isolation alerts, charge-cycle billing counters, and automatic contactor lockout.
3. Municipal Smart Water Infrastructure (DN20 to DN300) UTILITIES
Operational Context: Battery-powered ultrasonic smart water meters deployed in subsurface pits, utility vaults, and municipal distribution pipelines.
Physics & Sensor Simulation: Ultrasonic transit-time flow velocity metering (liters per minute, LPM) with monotonic cumulative volume register (m3), acoustic pipe burst detection (>110 LPM), continuous pinhole leak detection (02:00-04:00 night flow), and freeze hazard monitoring (<2°C).
Edge Firmware Architecture: Ultra-low-power sleep architecture (2.4 microamps in STOP mode), waking every 15 minutes to sample and transmitting every 6 to 24 hours via NB-IoT or LoRaWAN.
Telematric Integration: Direct ingestion into Telematric Municipal Water billing pipeline. Real-time consumption accounting, non-revenue water (NRW) loss calculations, and SMS leak alerts to property owners.
4. Healthcare Cold Chain & Vaccine Refrigeration (WHO PQS) HEALTHCARE
Operational Context: World Health Organization (WHO PQS E006) certified medical refrigerators and solar direct drive (SDD) cold boxes protecting temperature-sensitive vaccines and biologics in off-grid clinics.
Physics & Sensor Simulation: Strict +2°C to +8°C storage window compliance, compressor duty-cycling, insulation degradation during door openings, Phase Change Material (PCM) thermal holdover time, and dry ice sublimation monitoring (-70°C deep-freeze for mRNA vaccines).
Edge Firmware Architecture: Redundant calibrated digital temperature probes (PT100/DS18B20) over 1-Wire or SPI. Flash logging with tamper-proof cryptographic audit checksums.
Telematric Integration: Real-time cold chain excursion dispatch, automated regulatory compliance certificates, and battery runtime countdowns during sustained solar darkness.
5. Marine ROVs, Subsea Drones & Oceanographic Buoys MARITIME
Operational Context: Autonomous underwater vehicles (AUVs) and remotely operated inspection submersibles performing offshore wind turbine, aquaculture, and pipeline inspections.
Physics & Sensor Simulation: Hydrostatic pressure transducer depth calculation (1 bar increase per 10m seawater depth), hull breach optical/resistive detection, brushless thruster motor stall current, and 6-axis IMU pitch/roll stabilization.
Edge Firmware Architecture: High-speed SPI sensor polling loop. Edge ring buffering with acoustic modem prioritization when submerged, switching to high-throughput satellite/4G uplink when surfacing.
Telematric Integration: Streams depth_m, hull_status, and thruster_current_a. Triggers automated surface-and-recover failsafe commands upon water ingress detection.
6. Smart Factory & Machine Condition Monitoring (MXChip AZ3166 RTOS) INDUSTRY 4.0
Operational Context: Industrial motor drive units, CNC spindles, and HVAC chiller pumps monitored for predictive maintenance in manufacturing facilities.
Physics & Sensor Simulation: High-G accelerometer (LSM6DSL) vibration telemetry for ISO 10816 bearing degradation tracking, cleanroom differential barometric pressure (LPS22HB), ambient heat/humidity (HTS221), and local OLED status updates.
Edge Firmware Architecture: Multi-threaded Eclipse ThreadX kernel. Thread 1: High-priority sensor acquisition (100Hz SysTick). Thread 2: NetX Duo secure TLS ingestion client. Thread 3: SSD1306 OLED UI renderer.
Telematric Integration: Automated Mean Time Between Failures (MTBF) anomaly detection, integration with enterprise maintenance systems (SAP PM, Maximo), and vibration FFT threshold alarms.
7. Automotive Telematics & Connected Electric Vehicles (EV Fleets) AUTOMOTIVE
Operational Context: Commercial fleet delivery vans, long-haul trucks, and electric buses operating across urban corridors and highway cellular dead zones.
Physics & Sensor Simulation: Telematics Control Unit (TCU) CAN-FD bus frame aggregation, high-voltage traction battery pack state (350V to 800V), regenerative braking energy recovery, 6-axis IMU rollover/crash detection, and cellular dead zone emulation.
Edge Firmware Architecture: Strict ISO 26262 ASIL safety considerations. Hardware watchdog with non-volatile Flash circular buffer capable of holding over 100,000 driving events during prolonged network disconnects.
Telematric Integration: High-frequency fleet telemetry tracking, driver safety scorecards, predictive battery degradation modeling, and automatic batch replay upon reconnecting to 4G/5G cell towers.