Pikkerton XBS-200 Manuel utilisateur

XBS-200
User Manual
Version 02
History
Version Date Changes Status
01 12.07.2019 Born
02 15.04.2020 Various A aptions & 1st Release Release
© 2020 pikkerton GmbH XBS-200_Manual_v02.o t Page 1/21

XBS-200
User Manual
Version 02
Legal
© 2019 pikkerton GmbH
All rights, inclu ing translation into foreign languages, are reserve . No part of this publication may be
repro uce in any form (by printing, photocopying or any other metho ) or processe using electronic
systems, copie or istribute without the written permission of pikkerton GmbH. The passing on an
copying of this ocument, use an communication of its contents are prohibite unless explicitly
permitte . Violators are liable for all amages. All rights reserve in the event of patent, utility mo el
or esign. pikkerton GmbH is not liable for technical or e itorial errors or omissions containe herein.
Furthermore, they shall not be liable for any amages that are irectly or in irectly attributable to the
furnishing, performance or use of this material.
Changes to the content herein is subject to change without notice. The Information in this publication
is given without responsibility for accuracy an completeness. In particular, it contains no such
information to be guarantee . The user carries all risk arising from the use of this information.
Please note that all manual software an har ware names, an tra emarks of the respective
companies are generally subject to tra emark, bran or patent protection.
pikkerton GmbH
Wohlrabe amm 16 Fon +49 (0) 30 3300724 -0
13629 Berlin Fax +49 (0) 30 3300724 -24
Germany Website www.pikkerton. e
© 2020 pikkerton GmbH XBS-200_Manual_v02.o t Page 2/21

XBS-200
User Manual
Version 02
Table of Contents
1 Har ware / Device.........................................................................................................4
1.1 Sensors an power supply recommen ations................................................................5
1.2 Power Supply..............................................................................................................5
1.2.1 External Power Supply..............................................................................................5
1.2.2 Battery Operation.....................................................................................................6
1.3 Reset.........................................................................................................................8
1.4 LEDs..........................................................................................................................8
1.5 Pushbutton.................................................................................................................8
2 File System....................................................................................................................9
2.1 Secure Partition..........................................................................................................9
2.2 R/W Partition..............................................................................................................9
3 Measurement...............................................................................................................10
4 Configuration via the USB Console................................................................................12
4.1.1 Settings of the Serial Connection.............................................................................12
4.1.2 File Uploa .............................................................................................................12
4.1.3 Rename/Move Files................................................................................................13
4.1.4 Cat files.................................................................................................................13
4.1.5 Show hex umps of a file.........................................................................................13
4.1.6 Check sensor values...............................................................................................13
4.1.7 Activate/ eactivate sensors.....................................................................................14
4.1.8 Dump settings........................................................................................................14
4.1.9 Configure MSI/TXT.................................................................................................15
4.1.10 Delete log files....................................................................................................15
4.1.11 Show system information.....................................................................................15
5 WAN Mo em (Quectel BG96)........................................................................................16
5.1 Start Scripts..............................................................................................................16
5.2 Testing the script......................................................................................................17
6 Settings.......................................................................................................................18
6.1 Common settings in the configuration files.................................................................18
6.2 Change settings via the console.................................................................................21
6.3 Remarks...................................................................................................................21
6.3.1 lwm2m_server.......................................................................................................21
6.3.2 m_broker_a ress..................................................................................................21
6.3.3 m_ct an m_nct.....................................................................................................21
© 2020 pikkerton GmbH XBS-200_Manual_v02.o t Page 3/21

XBS-200
User Manual
Version 02
1 Hardware / Device
© 2020 pikkerton GmbH XBS-200_Manual_v02.o t Page 4/21

XBS-200
User Manual
Version 02
1.1 Sensors and power supply recommendations
For following sensor an communication options a permanent power supply is recommen e :
•WLAN Communication
•Laser base people counting
•VOC Sensor
1.2 Power Supply
The XBS-200 can be supplie via various internal an external sources:
•Internal: with 1.5V / 3.6V AA batteries,
•External: via the 5V USB interface or a separate 12-24V input
1.2.1 External Power Supply
- USB
A 5V USB power supply is require . The connector on the evice si e is Mini-USB-B.
For evices with LTE mo em in GSM mo e, a 2.0 Amp power supply unit is require ,
otherwise a 1.0 Amp mo el is sufficient.
For configuration, the XBS-200 can be supplie from the PC via the USB connection. Please
note the higher current consumption in GSM mo e. The 2.0Amp. woul have to be provi e
by the PC in this case, otherwise the XBS-200 oesn’t boot properly.
- External power supplies
The XBS-200 can be supplie with an external voltage of 12-24V via the green connector. This
option is not available in all har ware configurations.
© 2020 pikkerton GmbH XBS-200_Manual_v02.o t Page 5/21

XBS-200
User Manual
Version 02
1.2.2 Battery peration
The XBS-200 can be equippe with commercially available 1.5V AA cells (Mignon, IEC: R6 /
R14505), but 3.6V AA lithium cells are recommen e . The har ware configuration etermines
which cells can be use an is marke with a sticker un er the battery hol ers.
An incorrect battery configuration can amage the evice.
Possible battery configurations:
Battery type: Qty. of cells: Use socket:
1.5V 2 BATT1,BATT3
1.5V 4 BATT1, BATT2, BATT3, BATT4
3.6V 1 BATT1
3.6V 2 BATT1, BATT2
3.6V 3 BATT1, BATT2, BATT3
3.6V 4 BATT1, BATT2, BATT3, BATT4
Battery replacement:
Open the evice by removing the 4 screws on the un ersi e of the evice. A TORX screw river size
T8 is require .
© 2020 pikkerton GmbH XBS-200_Manual_v02.o t Page 6/21

XBS-200
User Manual
Version 02
The housing can now be ismantle into the lower part with boar s, frame an cover.
Now replace the batteries an pay attention to correct polarity! The polarity is printe on the circuit
boar un er the batteries. Reverse polarity can lea to the estruction of the evice, the batteries an
the risk of injury!
As soon as the batteries are inserte , the XBS-200 starts. The assembly is one in reverse or er.
After the evice has been reassemble , please reset the evice.
© 2020 pikkerton GmbH XBS-200_Manual_v02.o t Page 7/21

XBS-200
User Manual
Version 02
1.3 Reset
The XBS-200 can be restarte using the button or a software comman .
-Button
The evice has a button with which measurements an a reset can be triggere . To initiate a
reset, press the button for at least 10 secon s. All LEDs on the evice go out. The XBS-200
restarts, the blue LED1 lights up uring the boot phase.
-Software
The evice can be restarte via the console using the reset comman
console> reset
The XBS-200 acknowle ges this with:
Restarting XBS-200!
The XBS-200 restarts, the blue LED1 lights up uring the boot phase.
-USB
If the XBS-200 is operate with batteries, a reset is necessary to activate the USB interface.
USB is eactivate in battery mo e to save power.
Connect the USB cable to the PC an the XBS-200 an trigger a reset with the button. After
the reset, the XBS-200 starts in USB mo e. If the USB cable is remove , the XBS-200
automatically triggers a reset to restart in battery mo e.
1.4 LEDs
The XBS is equippe with 2 RGB-LEDs.
Solid n Flashing
LED1 Red Coul not sen ata to broker (MQTT)
LED1 Green Data sen ing OK (MQTT)
LED1 Blue Booting
LED2 Red
LED2 Green Measurement in progress
LED2 Blue
1.5 Pushbutton
A short push onto the button starts a new measurement interval, regar less of the TXT or MSI cycle.
All sensor values are going to be transmitte imme iately. Pressing the button longer than 10s causes
a har ware reset / restart.
© 2020 pikkerton GmbH XBS-200_Manual_v02.o t Page 8/21

XBS-200
User Manual
Version 02
2 File System
There is a file system on the XBS which contains two partitions.
2.1 Secure Partition
This partition is use to store general settings an script files.
2.2 R/W Partition
This partition is use for log files an as file uploa storage.
© 2020 pikkerton GmbH XBS-200_Manual_v02.o t Page 9/21

XBS-200
User Manual
Version 02
3 Measurement
The firmware ifferentiates between two main cycles / intervals:
•TXT
•MSI
A TXT interval forces the controller subsystem to wakeup, to take fresh sensor values an sen these
ata imme iately to the respective receiver. The controller is going into eep sleep state afterwar s.
The MSI forces also the controller subsystem to wakeip, to take fresh sensor values an qualify
whether pre-configure threshol s are violate or not. If none of the threshol s are violate , the
controller will enter eep sleep mo e without sen ing anything. The threshol s can be either MIN or
MAX values or also DELTA values. The elta values are generate between the respective last an the
actual measurement an are positive [ abs() ]. If the threshol violation is heale , a 2n telegram will
be sent in or er to notify the receiver of this event as well.
A short MSI cycle with a long TXT cycle can therefore combine both, almost realtime ata in case of
emergency or the nee for alerting an longest battery lifetime.
© 2020 pikkerton GmbH XBS-200_Manual_v02.o t Page 10/21
Table des matières

















