Skip to content

Releases: vishnu-illikkal/dds238-modbus-simulator

v1.0.3

Choose a tag to compare

@vishnu-illikkal vishnu-illikkal released this 23 Sep 13:02

Full Changelog: v1.0.0...v1.0.3

v1.0.0 - Hiking DDS238-2 ZN/S Modbus RTU & TCP Energy Meter Simulator

Choose a tag to compare

@vishnu-illikkal vishnu-illikkal released this 23 Sep 12:30

⚡ Hiking DDS238-2 ZN/S Modbus RTU & TCP Simulator v1.0.0

Initial public release of the Hiking DDS238-2 ZN/S DIN-Rail Energy Meter Simulator in Go. Designed for testing and developing Modbus client (master) firmware for STM32, Arduino, ESP32, Raspberry Pi, and SCADA systems without requiring physical hardware.


🌟 Key Features

  • Multi-Meter Virtual Grid:

    • Simulate multiple meters (e.g. Main Grid, Solar PV, EV Charger) concurrently over the same RS-485 COM port and Modbus TCP bridge.
    • Dynamically add, remove, and switch meters on the fly via UI tabs.
  • Full DDS238-2 ZN/S Register Implementation:

    • Registers 0x0000 to 0x001A (Voltage, Current, Active/Reactive Power, Power Factor, Frequency, Total/Export/Import Energy, Station Address/Baud, Relay Control).
    • Handles FC 0x03 (Read Holding Registers) & FC 0x10 (Write Multiple Registers).
    • Protocol compliant: Accurately rejects FC 0x06 with Exception 0x01 (Illegal Function).
  • Bi-Directional Solar & Grid Accumulation:

    • Real-time physics engine calculating forward power consumption (Import Energy) and reverse solar generation (Export Energy).
  • Dual Transport Support:

    • Serial COM / UART: Direct hardware-in-the-loop testing with STM32/ESP32 via USB-to-RS485/UART converters.
    • Modbus TCP Bridge (:8502): Hardware-free virtual testing over local network.
  • Interactive Telemetry Dashboard & Packet Inspector (:8238):

    • Live animated gauges & telemetry cards.
    • Live Wire Packet Inspector: Real-time byte-level breakdown of Modbus frames (Slave ID, FC, Reg Addr, Byte Count, Data, CRC16) with origin badges.
    • STM32 C Code Generator: Generates copy-paste ready C arrays and parsing logic for STM32 HAL UART.
    • Grid Fault Injection: Real-time slider controls for voltage surges, brownouts, load spikes, and relay switching.

📦 Pre-compiled Standalone Binaries

Download the ready-to-run binary below for your platform (no Go installation required):

  • Windows: dds238-modbus-simulator.exe
  • Linux (x86_64): dds238-modbus-simulator-linux-amd64
  • Linux (ARM64 / Raspberry Pi): dds238-modbus-simulator-linux-arm64
  • macOS (Apple Silicon M1/M2/M3): dds238-modbus-simulator-darwin-arm64
  • macOS (Intel): dds238-modbus-simulator-darwin-amd64