Thales IoT Developer Community
Preparing a SensorLogic demo
Tutorial, September 10, 2014 - 3:35pm, 3274 views
this tutorial shows how to setup a SensorLogic demo.
First thing to do is to request an account to the SensorLogic demo portal (adminportal.sensorlogic.com) to SL champions team or via Technical Sales representative of your region.
Once got the account, SL champion team can ship you a DangerShield board. Please NOTE that all components need to be soldered on the board. This is very easy operation and takes about 40 minutes.
The instructions about how to solder the DangerShield are contained at following link:
The old DIYP board is not produced anymore by Gemalto. This is the reason why we need to use the commercial Dangershield for the demonstration.
Just follow the instructions and then connect the DangerShield to a ConceptBoard through the Arduino connectors. NOTE that Dangershield has 2 pins less with respect to ConceptBoard so you need to plug it by skipping I2C pins.
Once done you can power-on the concept board and verify that DangerShield power led (the red one) is ON. Don't care if the display does not power on yet. It will power-on after loading the Midlet.
Now we need to load our Java Midlet (running SL agent library) or DIYP Midlet v1.6.0 (internal demo version adapted for DangerShield) into the module (i.e. EHS6) using MES. All files can be put in A:/ directory of module but before that some parameters need to be changed:
DEVICE_ID = DANGERSHIELD_XX -> change XX with your initials
SL_PORTAL_URL = 18.104.22.168
SL_PORTAL_PORT = 17198
SL_PORTAL_URL_BACKUP = 22.214.171.124
SL_PORTAL_PORT_BACKUP = 1235
SimAndNetwork.config: <- to be filled according to operator APN and SIM credentials
# pin code for the current SIM card, if SIM is not pin protected it is ignored
# apn value for current SIM
# apn credentials - user name
# apn credentials - password
Once done you can install the Midlet with AT^SJAM or just run it will AT^SJRA:
Restart module and you will see the display power on with default value (9).
If SIM is inserted it will start sending sensor data to SensorLogic portal.
Next step is to connect to SL portal account and create a new device with same device id used in Sensorlogic.config file. You can follow the instructions contained in previously published SL user guide:
If all done you can start playing with sensors on the board, see the values change in the portal or force new values from the portal.