Learn how to setup your ThingsLog data logger. In this blog post you will find the essence of the process based on the original data logger configuration guides.
Logger look and feel
ThingsLog data loggers are Low Power devices working on batteries. All are placed in enclosures with IP68 level of protection.
In order to setup your ThingsLog data logger you will have to pass through the following configuration procedure:
- Unscrew the data logger
- If needed place the SIM card
- Do the wiring (e.g connect meter pulse outputs/sonsors to the correct input ports)
- Check the batteries and ensure that they hold tide in the data logger battery holders
- Close the logger lid and screw it back up
- Prepare a magnet
- Do the configuration as explained in the guide bellow
- First set record/transmission intervals to a couple of minutes
- Wait a bit and ensure that data is comming.
- Perform reconfiguration over the air and set the logger to a more suitable record/transmission intervals.
- Job done!
You may also watch various videos on ThingsLog youtube chanel.
LPMDL-1101 has 12 input/output ports. To access the ports unscrew the board from the bottom of the logger enclosure and lift it up.
Logger input/output ports
- Pin 1 is Analog input port 1 (sensor -)
- Pin 2 is Analog input port 2 (sensor -)
- Pin 3 is Analog ground
- Pin 4 is Pulse input 2 (yes this is correct)..
- Pin 5 is Pulse input 1
- Pin 6 is digital ground
- Pin 7 is normally open ON/OFF alarm port 2
- Pin 8 is normally open ON/OFF alarm port 1
- Pin 9 is alarm port
Even if pins 10, 11 and 12 are shown as not connected they actually are used in analog sensor logger setups for connecting a battery pack to the data logger.
- Pin 10 is sensor +
- Pin 11 is battery +
- Pin 12 is battery –
Configuring the data logger
- In order to perform the initial configuration you should have an account for ThingsLog IoT platform..
- Login details are provided to each customer once an order has been fullfilled.
- Once you login you should be able to see your data logger in the main platfom menu.
Navigation to Logger configuration menu
Select with the mouse the row with your data logger. On the right a new menu will appear.
Select configuration menu
Choose “Config” and the following configuration dialog
On the top you can see the logger id, date when it was configured for the last time and current configuration status.
Setting up common parameters
Then follows the common section for all inputs/outputs.
- Transmission period – Number of minutes/hours/days between the logger scheduled transmissions
- Record period – Could be Minutes or Hours. This is the period on which the logger will log in memory the reading values from the pulse inputs or the period on which it will perform low power reading of its analog current inputs.
Setting up pulse counter ports
Pulse sensors are typically meters connected to a pulse input port or buttons. To enable the port please slide the slider to the right and enter. Once the port is enabled you have to set the following.
Pulse input port configuration dialog
- Digits – Number of digits – equals to the number of digits on the display of the meter
- Fraction – Number of digits after the decimal pointer on the display of the meter
- Initial reading – Initial value of the counter of the meter
- Sensor type – the type of the sensor could be water, gas, power etc meter.
- Units type – the dimension of the metered values – m3, kw etc.
- X per pulse– how much of the measured value is equal to one pulse
Note: In order to get the views and alarms in a correct way always set Sensor type to the correct kind of a meter: water, energy, heat etc.
The unit type should be set correctly as well.
For setting up the K-factor (units per pulse on an old water meters with magnet pointer read here).
Setting up analog ports
To enable analog sensor readings (connected to the analog inputs) just slide the slider to the right and configure:
- Sensor type – the type of an analog 4-20mA sensor we are measuring
- Sensor conversion formula – convert the “x” into bars or something else based on the formula for conversation of mA to the required dimension of your sensor. If you leave it as x you will get values in mA. A good post on how to set the sensor conversion formula could be found here
- Units type – the type of the unit – mA, bar, etc.
- Low Level Alarm – Instant alarm for reaching certain low level analog sensor value
- High Level Alarm – Instant alarm for reaching certain high level analog sensor value
Analog input port configuration dialog
Setting up ON/OFF sensors
To enable the ON/OFF sensors slide the slider to the right. The sensors has to be normally open ON/OFF sensors. If the port is enabled and the sensor goes from OFF to ON the logger will wake and will transmit an instant alarm.
- Delete old counters – once you are ready with the inputs configuration decide do you want to keep the old values or not. If not choose “NO” else chose “YES”.
- Once you are ready press “Start Setup” button.
This will start a 1000 seconds counter. You will have to touch the logger with a magnet prior the counter expiry. This will put the logger into configuration mode and it will try to obtain its configuration from the server.
If the logger get configured successfully you will be able to see the following message on your screen.
Confirmation of successful configuration
So if you see that job is done. Your logger is configured and you will start getting readings based on the set transmission period.
Note: If the configuration process is unsuccessful and the device stays in “Not configured” mode please ensure that the device has been placed in an area with proper network coverage. Consider using an external antenna or to move the data logger to a place with a better network coverage.
Reconfiguration over the air
Once the logger has been initially configured with the magnet a user with company administrator privileges could attempt to reconfigure the logger over the air.
Reconfiguration over the air allows the user to change:
- Record period
- Transmission period
- Enable/disable ports
- Set high/low level alarms
- Change K factors (pulse per m3)
- Set on/off alarms
What could be changed but loggers will ignore the changes is:
- Initial readings for pulse input ports.
If you need to change those you have be physically close to the meter and the logger and attempt normal configuration with a magnet.
How to verify that the logger is working correctly?
You may try to set initially the data logger to a short record/transmission periods for example 1 or 5 min.
Once this is done and the data logger obtains its configuration simply wait a bit and review the “Readings”, “Signal” and “Battery” sections in the main menu.
Data logger readings review
If everything is ok perform the reconfiguration over the air procedure and set the data logger to a record/transmission interval that suites your real needs.