Color Detector
Atlas Scientific All Weather (NEMA-6P) True RGB Color Detector and Light Intensity Probe
Hello World
Import programmini
demo program of color sensor
Library
Import programmini
demo program of color sensor
Datasheet
http://developer.mbed.org/users/chenjian221/code/mini/Notes
Description
Atlas Scientific is on a mission to make high-quality sensors for environmental monitoring available to everyday hackers and makers. All of their kits are easy to calibrate and connect to your microcontroller-based project. https://www.sparkfun.com/products/11195
Features
https://www.sparkfun.com/products/11195
- R,G,B data is in true 8-bit RGB format from 0-255
- light intensity is output in lux (lx)
- lx given for R ,G and B as well as full spectrum lx
- RGB color data and lx can be output simultaneously
- lx range from 0- 3,235 lux
- Light saturation indicator if lx is over 3,235
- Three different output modes:
- RGB only
- Lx only
- RGB and lx
- Data output is a single comma separated string
- Simple RS-232 connectivity (voltage swing 0-VCC)
- Harsh environment ready: NEMA 6P and IP 68 rated
- Wide operating temperature range: -40 Celsius to +85 Celsius
- Simple instruction set consisting of only 5 commands
- Reading time: 620ms
- Wide operating voltage range: 3.1V to 5.5V
- Shock resistant to 16 mega Pascals
Refresh Rate
This color sensor can only take a measurement every 620 millisecond.
Wiring
mbed | shiftbrite with random color | shiftbrite with color sensor |
---|---|---|
p5 | DI | |
p7 | CI | |
p22 | LI | |
p21 | E1 | |
p11 | DI | |
p13 | CI | |
p15 | LI | |
p23 | EI |
You need to log in to post a discussion