Parallax ColorPAL

The Parallax ColorPAL combines an RGB LED, a light sensor, and a microcontroller to make a colour sensor that can also be used as an ambient light detector and a colour generator. Readings are reported via a 1-wire asynchronous serial interface.

Not currently available

Our Code: SKU-002696

Supplier Link: [Pololu MPN:1608]


Description

ColorPAL side view

Overview

The ColorPAL from Parallax is a miniature colour and light sensor that can double as a colour generator with its RGB LED. When sensing colour, the ColorPAL uses its LED to illuminate a sample one colour component at a time while measuring the light reflected back with a broad-spectrum light-to-voltage converter. The amount of light reflected from the sample under illumination from each red, green, and blue LED can be used to determine the sample’s colour. For the ColorPAL to detect the colour of a subject, the subject must be reflective and non-fluorescent. The colour of objects that emit light (e.g. LEDs) cannot be detected.

Features

  • Detects a wide range of colors and outputs data as 10-bit RGB (Red/Green/Blue) components.
  • Detects broad-spectrum ambient light with sensitivity down to 44µW/cm2 per lsb.
  • Generates 24-bit colour using onboard RGB LED.
  • Plugs into servo headers or cables or solderless breadboards.
  • Single-pin interface uses a simple serial protocol to define and initiate colour detection and generation.
  • Colour detection and generation details handled by onboard microcontroller.
  • Onboard EEPROM for saving custom colour detection and generation programs.
  • Autorun feature permits running a pre-designated EEPROM program with only a power supply.

Specifications

  • Power requirements: 5.0 VDC
  • Communication: 1-wire serial (asynchronous, non-inverted, open-drain serial protocol) with automatic baud rate detection from 2400 – 7200 bps
  • Dimensions: 1.72 × 0.90 × 0.65 in (44 × 23 × 17 mm)

Communication

Communication with the ColorPAL takes place using serial I/O, transmitting and receiving at between 2400 and 7200 baud, using a non-inverted, open-drain protocol. The ColorPAL includes a pull-up resistor to Vdd, so you do not need to apply one externally. Because of the open-drain protocol, the pin used to communicate with the ColorPAL should always be configured as an input, except when being driven low. Also, when starting up, you should wait for this pin to be pulled high by the ColorPAL before trying to send it any commands. Please see the user’s manual (297k pdf) for more information.


Specifications

Dimensions

Size: 1.72 x 0.90 x 0.65"

General specifications

Minimum operating voltage: 5 V
Maximum operating voltage: 5 V

Resources

File downloads

ColorPAL Manual (297k pdf)
Manual for the ColorPAL colour and ambient light sensor and colour generator.
Colour Matching Program and BASIC Stamp Sample Code (2MB zip)