Test I2C Device HMC5883 with Comm Operator

Comm Operator v4.9 supports Quick Send – I2C Panel. It allows to you communicate with I2C devices through FTDI FT232H based USB to I2C bridge.

Here’s how to test I2C device HMC5883 with Comm Operator I2C Panel.

Download Comm Operator v4.9 beta version to try.

Step 1: Download and install Comm Operator.

Step 2: Connect I2C device HMC5883 with your computer through FTDI FT232H based USB to I2C bridge.

Connect I2C Device HMC5883 with Computer

Step 3: Run Comm Operator, and Open Connection –> I2C Bridge to connect I2C device HMC5883.

Connect I2C Device with I2C Bridge

Step 4: Click menu View –> I2C Panel to show Quick Send – I2C Panel.

Comm Operator - View - I2C Panel

Comm Operator - Quick Send - I2C Panel

Step 5: Click Scan button to search I2C device HMC5883 address.

Comm Operator - Scan HMC5833 I2C Device

If you know the device address, you can just select it from the drop-down list.

Select I2C Device 7-Bit Address

Step 6: You can communicate with I2C device HMC5883 now.

For example:

According to I2C protocol and I2C device HMC5883 document, check Write and Read, and input data ”01” (It’s register address of HMC5883 . “01” indicates Configuration Register B), then click Send button to read the value of Configuration Register B.

Comm Operator - Test I2C Device HMC5883

Step 7: Click Edit button to show I2C Data Editor. You can edit address and data here in binary.

Comm Operator - I2C Data Editor for HMC5883


A. Select the number of Read Data Length to get several data at once. The screenshot below shows read 6 Data Output X MSB, X LSB, Y MSB, Y LSB, Z MSB, Z LSB at the same time.

B. Check Add to List when you send data to I2C device HMC5883 , the data will be added to Send Data List automatically. It’s pretty handy to save the list for later use. You can also Download HMC5883.sds file, and load it in Comm Operator directly to test your HMC5883 I2C device.



Back to Comm Operator homepage

This entry was posted in Comm Operator and tagged , , , . Bookmark the permalink.