Skip to content

vasya-zh/TMD3725

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TMD3725 Arduino library

Arduino library for TMD37253 and TMD37253M RGB color sensor with proximity and ambient light functions

TM3725 datasheet

Functions

See TMD3725 code comments for function description

Examples

  • TMD3725_basic.ino - basic color reading in a loop example
  • TCA9544_TMD3725.ino - addressable example for several color sensors with TCA9544A multiplexor (cause TMD3725 does not have address setting feature)

Serial monitor output

{"timestamp":"477573","hue":"60","saturation":"1","value":"0",}
REG[35]: 07 00 1F 00 00 00 00 00 00 00 00 80 4F 80 01 00 E4 30 01 00 01 00 01 00 00 00 04 04 0C 00 00 00 50 00 00 
CLR   RED   GRN   BLU   PRX 
01 00 01 00 01 00 00 00 05 
|CLEAR   |RED     |GREEN   |BLUE    |LUX     |CCT     |
|1       |1       |1       |0       |17      |1804    |
|HUE     |SAT     |VUE      |
|60      |1       |0       |

Tested on devices

About

TMD37253 RGB color sensor Arduino library

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages