
© 2021 Nexmosphere. All rights reserved. v1.0 / 04-21
All content contained herein is subject to change without prior notice
Nexmosphere
Le Havre 136
5627 SW Eindhoven • The Netherlands
T+31 40 240 7070
Esupport@nexmosphere.com
PRODUCT MANUAL | XZ COLOR SENSOR
5.1 - Settings
The XZ Color sensor has multiple settings which determine the behaviour and output of the sensor. The settings can be
adjustedbysendingX-talksettingcommandsviatheAPI.Afterapowercycle,thesettingsalwaysreturnbacktodefault.
X001S[1:1]
X001S[5:1]
X001S[16:1]
X001S[5:5]
X001S[4:1]
X001S[12:X]
X001S[13:X]
X001S[1:2]
X001S[5:2]
X001S[16:2]
X001S[11:X]
X001S[4:2]
X001S[1:3]
X001S[5:3]
X001S[1:4]
X001S[5:4]
Setting 1: Status LED behaviour
1. LED on
2.LEDo
3.LEDon,blinkattrigger(default)
4.LEDo,blinkattrigger
Setting 5: Output format
1. Output Hue value only
2. Output Saturation value only
3. Output Lightness value only
4. Output all values
5. Output HSL value (def)
Setting 16: Saturation correction
1. No saturation correction
2. Correction for humen eye (def)
Setting 4: Trigger mode
1. Trigger on object detection (def)
2. No triggers, use data requests
Setting 11: Reection trigger - threshold level
Setreectiontriggerthreshold
Setting 12: Reection trigger - number of valid reads
Set required number of valid reads
Setting 13: Reection trigger - delta for valid reads
Set delta for valid reads
X is a value between 1-100 and its default value is 15. It
indicateshowhightheReectionlevelneedstobe(x10)
foracolormeasurementtostart.Sothedefaultreection
trigger level is 150. The lower this value, the further
away the object needs to be from the sensor for a color
measurement to start. The higher this value, the closer
away the object needs to be from the sensor for a color
measurement to start. When an object is placed on the
sensor, the reection level can be requested. For more
information on how to do so please see page 3. Please
note that the reection trigger level does not inuence
when the measurement LED starts to blink. Object
detection in itself is handled automatically by the sensor
itself.Insteadthereectionleveldetermineswhenacolor
measures starts after an object is detected. In practice,
this determines how close an object needs to be before
an actual color measurement starts.
Color and saturation values are complex phenomenons
which are heavily inuenced by the perception of the
human eye and interpretation by the human brain. As
a result, the saturation of a physical objects is typically
perceived much higher then the actual objective saturation
value. Per default (setting 16:2) the sensor compensated
for the perception of the human eye.
X is a value between 1-8 and its default value is 3.
It indicates how many consecutive read cycles the
reectionlevelneedstobeabovethethresholdforacolor
measurement to start. The lower this value, the faster
a color measurement will start, but also the higher the
chance of a "ghost trigger" will be. Vice versa, the higher
this value, the slower a new measurement will start, but the
more stable the sensor will be.
X is a value between 1-100 and its default value is 20. It
determines the maximum allowed delta between valid
reads(abovetheReectiontrigger threshold) fora color
measurement to start. The lower this value, the more
steady and longer an objects needs to be placed on
the sensor for a color measurement to start. Vice versa,
the higher this value, the shorter and less steady an
objects needs to be placed on the sensor before a color
measurement starts.
When set to 1. Trigger on object detection, the sensor will
start a measurement as soon as an object is placed on
thesensorandtheReectiontriggerlevelisreached.See
Setting 11 for more info.
6