bv4627b
May 20, 2014 05:34PM
hello,

recently acquired a module 8 relays, with the chip bv4627b, I'm proving by example in the arduino ide, but I'm not able to make it work, and tried different environments arduino (0022 1.5.6r3 1.0.1 1.0.3 )

thank you very much.
Re: bv4627b
May 20, 2014 05:53PM
I need more details,
which Arduino library?
What is the value of the pull up resistors - I am assuming you are using the I2C interface?
Are you using 5V or 3.3V?
Re: bv4627b
May 20, 2014 06:19PM
hello,

if the installed library with a sniffer i2c I read that the address is 0x30, but grab your example I give a check and gives me error says that since the 1.0 version of the arduino send function is write, I edit all sent to write, but always fail


bv4627.cpp: 22:22: error: WProgram.h: No such file or directory
bv4627.cpp: In member function 'int BV4627 :: i2_16bit ()':
bv4627.cpp: 41: error: 'class TwoWire' has no member named 'send'



Edited 1 time(s). Last edit at 05/20/2014 06:24PM by galion.
Re: bv4627b
May 21, 2014 05:47PM
The default address for this device when using an Arduino is 0x32. If you are getting something different then you have the pull up resistors in the wring place or there is something wrong with the wiring.

I have just updated the Library for this device and it can be found in the Documentation page.. It is now based on the Arduino version 1.01 rather than 0.22.

Install this new version using 1.01, although it will most likely work with the later 1.05. The example will get the device ID, version and turn two relays on and off with a delay.
Re: bv4627b
May 24, 2014 05:01PM
thanks, now it works
Sorry, only registered users may post in this forum.

Click here to login