Nexmosphere XZ Series Скачать руководство пользователя страница 2

© 2021 Nexmosphere. All rights reserved. v1.0 / 08-21    

All content contained herein is subject to change without prior notice

N ex m o s p h e re

Le   H av re   1 3 6
5 6 2 7   SW   E i n d h ove n   •   T h e   N e t h e r l a n d s

T

  + 3 1   4 0   2 4 0   7 0 7 0

E

  s u p p o r t @ n ex m o s p h e re.c o m

2

PRODUCT MANUAL | XZ LIGHT SENSOR

3. Functionalities and API commands

The XZ Light sensor provides the following functionalities:

1.  Pick-up and place-back detection 

- detect if an object is picked-up or placed-back

2.  Raw light measurement

- measure the raw value of the light reaching the sensor

When implementing pick-up or place-back detection, 
consider the following:

•  If the object or top panel is translucent, light can still 

reach the sensor when the object is placed back. In 
this case additional calibration might be required. 
Please see page 3 and 4 for more information.

•  Particularly in retail environments, LED strips are often 

placed in such a way that the top panel is lit. In these 
cases we recommend to add a small non-translucent 
shaft in the cut-out, to block light coming from the lit 
top panel. Please see page 3 for more information.

3.1 - Pick-up and place-back detection

When an object is picked up, light will reach the sensor and 
an API command is triggered. Vice versa, when the object 
is placed back, less light will reach the sensor and an API 
command is triggered as well. These API messages have 
the following format:

3.2 - Raw light measurement

The XZ Light sensor can also indicate the amount of 
light reaching the sensor as a raw decimal value.

The raw decimal value is a unfiltered direct AD 
conversion of the light measurement circuit and will 
therefore fluctuate. 

We recommend to not use Raw 

Light values for normal operation

. Instead, the Raw 

light measurement mode is intended to be used for 
calibration purposes. Please see page 4 for more 
information.

The following sections will cover each of these functionalities in detail. Please note that for each API example in this 

document,  X-talk  interface  address  001  is  used  (X001).  When  the  sensor  is  connected  to  another  X-talk  channel, 

replace the "001" with the applicable X-talk address.

Object is picked up

X

 = raw light value     

value between 

0-255

Object is placed  back

X001A[3]

X001A[

X

]

X001A[0]

light

dark

X001S[4:2]

Per default, the sensor is set to pick-up detection mode. In 
order to activate Raw light measurement output, send the 
following setting: 

The higher the raw light value, the more light is reaching 
the sensor. The lower the light value, the darker.

Example commands

The measured raw light value is "7"

The measured raw light value is "51"

The measured raw light value is  "178"

X001A[7]

X001A[51]

X001A[178]

pick-up

place-back

Содержание XZ Series

Страница 1: ...e without prior notice 1 Table of content 1 General 1 2 Product overview 1 3 Functionality and API commands 2 3 1 Pick up and place back detection 2 3 2 Raw light measurement 2 4 Installation requirements and guidelines 3 4 1 Connection Diagrams 3 4 2 Hardware integration guidelines 3 4 3 Manual calibration 4 5 Settings 5 5 1 Settings 5 6 Quick test 7 XZ L20 Pick up detection light measurement Man...

Страница 2: ... when the object is placed back less light will reach the sensor and an API command is triggered as well These API messages have the following format 3 2 Raw light measurement The XZ Light sensor can also indicate the amount of light reaching the sensor as a raw decimal value The raw decimal value is a unfiltered direct AD conversion of the light measurement circuit and will therefore fluctuate We...

Страница 3: ... the double sided tape on the bottom flat side of the sensor A common thickness for the top panel is 3 5mm The thicker the top panel the less light will be able to reach the sensor especially when the top panel is made out of dark light absorbing material In these cases we recommend to either make sure there is a light source directly perpendicular above the sensor or increase the diameter of the ...

Страница 4: ...nsor may need to be calibrated again Measure raw light values 1 Set the sensor to Raw light values via setting 4 The command to do so is X001S 4 2 2 Place the object on the sensor Write down the value of the incoming API command For example X001A 30 3 Pick up the object from the sensor Write down the value of the incoming API command For example X001A 120 In case both values are very low e g 0 and...

Страница 5: ... 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 ligh...

Страница 6: ...same light conditions Example if the output of a raw light measurement is 0 and X is increased to 150 the Raw light value will increase e g to 20 So the more sensitive the higher the raw light value will be in the same light conditions When the sensor is set the auto calibration setting 4 3 thesensorwillcontinuouslyauto calibratebyautomatically adjusting the sensor s sensitivity setting 18 This is...

Страница 7: ...ble Both the green status LED of the sensor and the status LED of the controller should blink Uncover the light sensor to trigger a pick up If the sensor is not yet installed behind a front panel you can rotate the sensor so that the bottom flat side is facing upwards and towards the light Both the green status LED of the sensor and the status LED of the controller should blink For a full test we ...

Отзывы: