- EOL
Attention! The sale of the product has been completed. Check otherdevices in this category. |
Description
The sensor enables colour detection in 8 bit RGB format and light intensity measurement in lx. It is powered from 3.1 V to 5.5 V, which makes it compatible with systems working with 3.3 V logic (e.g.Raspberry Pi) and 5 V (e.g.Arduino). The system can work in three measurement modes: RGB, intensity and RGB and intensity. The data are sent through the UART serial interface (RX and TX pins) as numbers separated by commas.
The red wire is the supply voltage, black ground, green TX, grey RX - details on the diagram.
Thanks to a durable housing and a layer of epoxy resin, the sensor is resistant to external conditions. This means that it can be used outdoors to study, for example, changing nature by measuring plant colours.
Product compatible with Arduino and Raspberry Pi The manufacturer provides awiring diagram ofthe sensor and sample code forArduinoandRaspberry Pi. |
Specification
- Supply voltage: 3.1 V to 5.5 V
- Data reading time: 620 ms
- Colour measurement function in 8 bit RGB format
- Light intensity measurement function in lux
- Three modes of operation
- RGB measurement
- Measuring the intensity in lx
- Measurement of RGB and intensity in lx
- Measuring range: 0 - 3235 lx
- Saturation indication at a rate above 3235 lx
- UART communication interface (RX, TX)
- High state voltage UART: equal to the VCC supply voltage
- Format: comma-separated data
- A simple set of instructions:5 commands
- The sensor is weatherproof
- Cable length: 1 m
Command list
- R - single measurement
- C - continuous measurement every 1200 ms
- E - end of continuous measurement
- I - Sensor information
- M[1-3]- respectively: measuring RGB only, measuring lx only, measuring rgb and lx
Commands should be given with a CR (return of the ambulance) sign. To do this, you can set the terminal to always add this character at the end. See page 7 ofthe documentationfor details.
Useful links |