
© 2021 Nexmosphere. All rights reserved. v1.0 / 08-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 LIGHT SENSOR
5.1 - Settings
The XZ Light sensor has multiple settings which determine the behaviour and output of the sensor. The settings can be
adjusted by sending X-talk setting commands via the API. After a power cycle, the settings always return back to default.
X001S[1:1]
X001S[4:1]
X001S[10:X]
X001S[12:X]
X001S[11:X]
X001S[13:X]
X001S[1:2]
X001S[4:2]
X001S[4:3]
X001S[1:3]
X001S[1:4]
Setting 1: Status LED behaviour
1. LED on
2. LED o
3. LED on, blink at trigger (default)
4. LED o, blink at trigger
Setting 4: Trigger mode
1. Pick-up/place-back detection (def)
2. Raw light values
3. Pick-up/place back detection
with auto-calibration (advanced)
Setting 10-13: Trigger ranges for Pick-up / Place-Back
Set lower value for place-back
Set lower value for pick-up
Set upper value for place-back
Set upper value for pick-up
Default, X is set to 0
Default, X is set to 129
Default, X is set to 128
Default, X is set to 255
The sensor continuously measures the amount of light
reaching the sensor to determine if an object is picked
up (bright) or placed back (dark). The thresholds levels
for a pick-up or place-back can be adjusted using raw
light values. For more information please see the manual
calibration process on page 4.
When set to 4:1, the sensor will provide a trigger on pick-up
and place-back of an object. When set to 4:2, the sensor
will provide the Raw Light measurements. See page 2 for
more information.
When set to 4:3, the sensor will provide a trigger on pick-up
and place-back of an object (see page 2). Furthermore, it
will continuously auto-calibrate by automatically adjusting
the sensor's sensitivity (setting 18) in such a way that in
case of a place-back the raw light value is between 0-25
(setting 14) and in case of a pick-up the raw light value is
between 225-255 (setting 15). For example: in case the
raw light value is 255 (max), the sensor will automatically
decrease the sensitivity until the light value will be just
above 225.
Activating auto-calibration can be a solution in cases
where uctuating light conditions cause unstable behavior
of the sensor. However we recommend to always rst try
to create a stable application by manual calibration (see
page 5) or adjusting the physical integration (see page 4
and 5) of the sensor.
5
This setting species the number of samples which are
averaged to determine the sensor's output. The higher the
number of samples, the less responsive the sensor will be
to change, but also the more stable in case of challenging
environments. The lower the number of samples, the more
responsive the sensor will be to change. Please note that
typically this setting does not need to be adjusted.
X001S[6:1]
X001S[6:5]
X001S[6:9]
X001S[6:2]
X001S[6:6]
X001S[6:10]
X001S[6:3]
X001S[6:7]
X001S[6:11]
X001S[6:4]
X001S[6:8]
X001S[6:12]
Setting 6: Sample averaging (advanced)
1. No averaging
2. Running average of 2 samples (def)
3. Running average of 4 samples
4. Running average of 8 samples
5. Running average of 16 samples
6. Running average of 32 samples
7. Running average of 64 samples
8. Running average of 128 samples
9. Running average of 256 samples
10. Running avg of 1024 samples
11. Running avg of 2048 samples
12. Running avg of 4096 samples
0 50
Raw light valuedark bright
100 150 200 255
place-back pick-up
se�. 10
se�. 11
se�. 12
se�. 13