Hi All
I just bought the labjack U6 Series.I am looking the simple script using VB6, how to connect and read the RGB Light Sensor to U6.
The Sensor using I2C. Is there any way, how to see the intensity of R(Red), G(Green) and B(Blue) color?
Appreciated for this forum for help.
We don't have examples specifically for the RGB light sensor and the U6 however we do have some helpful I2C example code that should get you started in the right direction. Take a look at the Matlab UD_I2C_Utils.m file. the obj.ljud.*** functions should all be implemented and explained in our VB6 example code. The Matlab I2C Utility should give you a good idea for how to send/recieve I2C data using the UD driver/U6. After figuring out how I2C works for the U6 I recomend checking out SparkFun's ISL29125 arduino library and the device's datasheet to figure out how to collect data from the sensor.
Hi everyone ,
Please do suggest me the conversion of RGB readings to luminosity of the light
Yes, the datasheet you attached is the exact part this forum is about. It is a light sensor with an I2C interface, and all LabJacks except the U12 do support I2C. Start with the I2C section in the datasheet for your LabJack, and also with the I2C app note:
https://labjack.com/support/app-notes/i2c