Go Down

Topic: AS73211 compiler support (Read 552 times) previous topic - next topic

rockwellramesha

Hi All -

Thanks in advance for taking out your time to read this topic.

I, purchased AS73211 for measuring the true color from Mikroelektronica Germany, after receiving the product realized that we need to also buy Compilers from them and it costs a bomb.

I'm wondering if there is any way that we can use it with Arduino, grateful for any advise on it.

Best,

Ramesha
Not all are born "GENIUS", hence I'm looking for support in this FORUM

J-M-L

#1
Feb 05, 2019, 12:02 pm Last Edit: Feb 05, 2019, 12:11 pm by J-M-L
The datasheet (chapter 7.20 and beyond) seems to indicate there is an I2C interface that lets you read the registers. Not sure what you mean with "compiler"

never used that - but would need to read the spec, see how the configuration and communication is done over I2C and "just" implement that
Hello - Please do not PM me for help,  others will benefit as well if you post your question publicly on the forums.
Bonjour Pas de messages privés SVP, postez dans le forum directement pour que ça profite à tous

jackthom41

#2
Feb 12, 2019, 03:55 am Last Edit: Feb 12, 2019, 03:55 am by jackthom41
Did you get the AS73211 chip or its breakout board? I have searched online and if you have the board then it can be interfaced with Arduino but if its the chip itself then I think you should go with the default option. Share the link from where you bought it.
My collection of Arduino Projects ====> https://www.theengineeringprojects.com/2015/03/arduino-projects.html

catalinbalteanu

Hello, I too have some issues with this device, I have a bare chip that I made a break out board. Does anyone know of a library for this chip. I do not have any experience in writing i2c libraries, and I would appreciate the help.

Also I will keep trying to write a library but so far, I only get the same value from X Channel, for example, no matter what I do.

Thank you

 unsigned int lsb, msb;
 Wire.beginTransmission(slave_address);
 Wire.write(reg); // MREG_MEASUREMENT_X_CHANNEL   = 0x02
 Wire.endTransmission(false);
 Wire.requestFrom(slave_address, (byte) 2);
 if (Wire.available())
 {
      lsb = Wire.read();
      msb = Wire.read();
 }
 Wire.endTransmission();
 return ((msb << 8) | lsb);

Go Up