The HM8115-2 is a programmable 8kW Power-Meter supplied by HAMEG Instruments. It does a pretty good job when it comes to power metering. However, it offers a serial and USB interface only. In order to integrate this meter into a Unix based infrastructure (computer controlled experiments and measurements) an ethernet interface would be desirable.

This guide explains how to add an ethernet interface to the meter for less than 30 EUR. WARNING: This document is published for educational purposes only. We do not recommend nor encourage you to reproduce the steps presented in this guide. Do not even think about opening the case unless you are a qualified technician and know what you do. Touching a 220V line can kill you. You have been warned!!

We make use of the following ethernet to serial adaptor (WIZ110SR) offered by WIZnet.

This adaptor comes with a config program that allows to set the IP-Address and serial parameters. Unfortunately the WIZnet config tool is available for Windows only. We use VirtualBox to virtualize a WinXP instance under MacOSX and set the parameters as follows.

The serial interface of the HM8115-2 is preconfigured to 9600 Baud 8N1. We configure the same settings for the WIZnet adaptor.

We solder a three wire interface together
  • PIN2 ----- PIN2
  • PIN3 ----- PIN3
  • PIN5 ----- PIN5
and give it a first shot.

We open a TCP socket to (configured IP-Address) and port 5000 and send the ASCII command *IDN? followed by <CR>. The device replies with HAMEG HM8115-2!

All that is left to do now is to somehow mount the WIZnet board plus a power supply into the HAMEG case. We turn around the serial interface and solder three wires to the SUB-D pads 2, 3 and 5.

We then mount (hot glue) the WIZnet board into the case.

Here comes the ugly part. We have to mill a hole for the network connector into the back plane.

Once this is done we can hot glue the WIZnet board in place and remount the serial interface. I spent hours on trying to find a way to extract the required 5V for the WIZnet board from the mainboard. All those attempts failed. I finally installed a standard 5V power adaptor into the case and connected the 220V leads to the power input of the HAMEG (behind the switch). Thus the WIZnet board is powered on together with the HAMEG.

The backplane looks as follows now:

We close the case power it up and attach a small test load.

We get back to our MacOSX machine in the office and write a little Objective-C application that establishes a TCP connection to the WIZnet board sends commands and displays responses.

This works like a charm. The wattage can easily be extracted from the returned string. The HAMEG can now be remote controlled and easily integrated into computer controlled experiments.
Terms and Conditions          © Smartsoft GmbH 2018