I2C HV892 Liquid Lense Driing Board

So I've been working on this liquid lens project for school and can't seem to get any form of output. For general specs, I am using an Arduino Nano hooked up to an HV892 Driving Board. The driving board uses an I2C interface and takes in values from 1 to 255 that will give a voltage output described with this equation: Vout = 9.6+V*0.208. As you can see in the image it seems to not be working at all. Even though I didn't use pullup resistors in the image, I still got the same result regardless. This being said, I also found the pullup resistors made no difference as the voltage was around a workable range. Does anybody have any idea on what could be the problem whether if it's my code or the wiring itself. Thanks!

Here is the HV892 Data Sheets:

Extra Pictures:

Extra Picture:

It wouldn't let me post more than 1 picture in the post :confused:
Also here is the code:

#include <Wire.h>

const byte MAX14547_Address = 0100011b;

void setup()

  Wire.write(00h); // Set register address to 0
  Wire.write(0x01); // Set Register 0 (Sleep Mode) to 'Normal'
  Wire.write(0x00); // Set Register 1 (VoltsPeak) to 0V

void loop()
  int input = analogRead(A1);

  int VPindex = map(input, 0, 885, 1, 255);

  Wire.write(0x01); // Set register address to 1
  Wire.write(VPindex); // Set Register 1 to VP index

Was the device detected from an I2C scan?

How do I do an I2C scan. Any recommendations?

The V-in pin of a Nano is used to power the Nano externally (if not powered from USB).
That pin shouldn't be used to reverse-power anything through the Nano.
Doing so could destroy the built-in 5volt regulator.
So move pot power and module power to the 5volt pin.


Words like "Arduino I2C scanner" entered into an internet search engine gets results like this one, I2CScanner - Arduino Reference.

The use of words and doing research are very important with these sorts of projects.

Why would anything be connected to the "Vin" pin? If you have the Nano connected to a PC it is powered. Otherwise you need a 5 V supply.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.