Notice: get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /home/corecom/public_html/wp-includes/functions.php on line 3853

This is the VEML6040 i2c driven color sensor that sense RED, GREEN, BLUE, & WHITE (RGBW) light. This device incorporates a photo-diodes, amplifiers, & analog / digital circuitry into a single chip using CMOS process. When using a sensor the brightness and color temperature of back-light can be change or adjusted base on surroundings / ambient light source that makes the panel more comfortable in eyes. The VEML6040 provides an excellent temperature compensation capability for stable output under changing temperature. This device runs power range of 2.5v to 3.6v with i2c / SMBus compatible. Suitable for handheld devices, laptops and notebook, tablets, & industrial / mechanical applications. For more details about timings / interfaces and bus operations please refer to the datasheet below.

Required Components

  • Arduino IDE | Atmel Studio | Energia | Processing
  • Arduino PRO, FIO, NANO, UNO, MINI, MEGA, PRO MINI, LEO, BT, DUE, ETHERNET,LILYPAD, NodeMCU, Teensy Board, TeensyDuino, ESP8266 12, 12E, ESP32, LinkItOne, ESP8266 NodeMCU, ESPDuino, ATMEGA328 16/12, ATMEGA32u4 16/8/ MHz, ESP8266, MSP430 ,ATMEGA250 16 MHz, ATSAM3x8E, STM32.
    • Note: For AVR (If your using AVR please see the flash size of the MCU)
    • Note: The Diagram below is using NANO. (please refer to each MCU’s respective pin-outs & bus configurations)
  • VEML6040 Color Sensor IC / Module
  • Capacitors (See below required values)
  • Resistors (See below required values)
  • PCB Designer (Circuit simulation to PCB Layout)

Wiring Guide

Source Code

Downloads




Sensing Color with VEML6040 RGBW i2C/TWI Color Sensor
Facebooktwittergoogle_plusredditpinterestmail
Tagged on:                 

Leave a Reply

Your email address will not be published. Required fields are marked *