Skip to content

Hardware Simulator

brian-r-calder edited this page Oct 18, 2024 · 2 revisions

Hardware Data Simulator

During desktop testing, it is often necessary to have a source of NMEA data that can be controlled, rather than relying on a real instrument. While it is possible to do this in software with an appropriate USB to RS-422 converter, it is more difficult to provide NMEA2000 data.

The base design here, either in prototype board (i.e., module and through-hole component) or WIBL (surface mount) versions, can be used as a data generator simply by switching the firmware installed on the ESP32 module. The firmware (in the HardwareSimulator sub-directory) generates simulated NMEA0183 data on two channels, and NMEA2000 data over the main transmitter, and can be used to test data loggers directly, including asynchronous arrival of two NMEA0183 streams, etc.

To set up the data simulator, simply flash the firmware, and then connect TX1A/B and TX2A/B on the simulator to RX1A/B and RX2A/B on the logger, respectively, and CAN H/L on the simulator to CAN H/L on the logger. The simulator flashes one of the indicator LEDs when data is being generated; the logger flashes the same LED when data is accepted for logging.

WIBL-2.3-HardwareSimulator.jpg

Clone this wiki locally