User manual
¹ - This is the value on power-up and reset
QuickStart
Here is the series of commands to acquire a set of data from the Pmod COLOR via pseudo I²C
code.
1. Power on the Pmod COLOR.
2. Provide a START condition and call the device ID with a write bit
I2CBegin(0x52);//deviceID0x29withawrite(0)bit
3. Wait to receive an ACK from the Pmod COLOR.
4. Provide a command to maintain the pointer address OR'd with the Enable register (0x00)
I2CWrite(0xA0);//MaintainthepointeraddressattheEnableregister
5. Wait to receive an ACK from the Pmod COLOR.
6. Send the Enable Address and enable the oscillators.
I2CWrite(0x01);//0x01enablestheoscillatorsforthetimersandADCchannels
7. Delay at least 2.4 mS before starting a data collection initiation.
8. Send the Enable Address and enable the ADCs for all 4 channels.
I2CWrite(0x02);//0x02enablestheADCchannels
9. Wait to receive an ACK from the Pmod COLOR and then send a STOP condition.
10. Delay 2.4 ms for the ADCs preparing themselves for data measurement and at least 2.4 ms
by default for the integration time during the data collection process.
11. Send a START condition and call the device ID with a write bit
I2CBegin(0x52);//deviceID0x29withawrite(0)bit
12. Wait to receive an ACK from the Pmod COLOR.
13. Provide a command to auto-increment the address pointer OR'd with the first data register
(0x14)
I2CWrite(0xB4);//Auto‐incrementthepointeraddressstartingattheClearDat
aLowByteregister
14. Wait to receive an ACK from the Pmod COLOR









