Teltonika-BLE: Difference between revisions

Line 8: Line 8:
* Up to 4 sensors can be connected to the majority of different Teltonika models via Bluetooth
* Up to 4 sensors can be connected to the majority of different Teltonika models via Bluetooth
* In case your tracker has the Rs485 port, the sensors can be connected to such tracker by means of the BLE-Rs485 adapter (also called ‘'''base'''’ sometimes)
* In case your tracker has the Rs485 port, the sensors can be connected to such tracker by means of the BLE-Rs485 adapter (also called ‘'''base'''’ sometimes)
 
1.Before connecting the sensor, find '''its MAC address''' via Escort app for Android devices (Apple devices don’t give access to MAC addresses of any devices) or directly on the sensor’s body (Fig.1 and Fig.2).
=== 1.Before connecting the sensor, find '''its MAC address''' via Escort app for Android devices (Apple devices don’t give access to MAC addresses of any devices) or directly on the sensor’s body (Fig.1 and Fig.2). ===
{| class="wikitable"
{| class="wikitable"
|[[File:Imageфсы.png|frameless]]
|[[File:Imageфсы.png|frameless]]
Line 17: Line 16:
|Fig.2 MAC address on the sensor’s head
|Fig.2 MAC address on the sensor’s head
|}
|}
2. In the Teltonika configurator, go to the '''Bluetooth''' tab first. Make sure  that everything is configured as shown on the Fig. 3 below


=== 2. In the Teltonika configurator, go to the '''Bluetooth''' tab first. Make sure  that everything is configured as shown on the Fig. 3 below ===
[[File:Photo 5418063427176959105 x.jpg|frameless|408x408px]]
[[File:Photo 5418063427176959105 x.jpg|frameless|408x408px]]






=== 3. On the    '''Bluetooth 4.0 tab''' (Fig. 4),    configure '''the''' '''BLE Scan settings''' as follows: ===
3. On the    '''Bluetooth 4.0 tab''' (Fig. 4),    configure '''the''' '''BLE Scan settings''' as follows:
 
-         disable the '''Non Stop Scan'''
-         disable the '''Non Stop Scan'''


Line 40: Line 40:




=== 4. Further below you have 4 '''Connection slots''' to connect up to    4 sensors (those can be any TD, DU or TL sensors). Click on the '''Advanced''' button and then '''enter the MAC address''' of the sensor (Fig. 4). ===
4. Further below you have 4 '''Connection slots''' to connect up to    4 sensors (those can be any TD, DU or TL sensors). Click on the '''Advanced''' button and then '''enter the MAC address''' of the sensor (Fig. 4).
 




Line 48: Line 49:




=== 5.Then, click on the '''preset button''' (Fig. 5) and select '''the preset required for a certain sensor model''' and click on the '''Load''' button (Fig. 6): ===
5.Then, click on the '''preset button''' (Fig. 5) and select '''the preset required for a certain sensor model''' and click on the '''Load''' button (Fig. 6):
 
-         “escort fuel” for TD-BLE,
-         “escort fuel” for TD-BLE,


Line 61: Line 63:


== I/O tab settings ==
== I/O tab settings ==
6. Next, go to the I/O tab (Fig. 7) and select the '''Low option in the Priority column''' for the '''BLE Fuel Level''' and '''BLE Temperature''' (BLE Battery Charge is optional) parameters for TD or    TL-BLE sensors (luminosity = fuel level).


=== 6. Next, go to the I/O tab (Fig. 7) and select the '''Low option in the Priority column''' for the '''BLE Fuel Level''' and '''BLE Temperature''' (BLE Battery Charge is optional) parameters for TD or    TL-BLE sensors (luminosity = fuel level). ===
In case of a DU-BLE, you may want to set the '''Operand''' option to the '''On Change''' and configure the '''Event Only''' option as '''Yes''' for the BLE Temperature parameter that corresponds to the Event notification sent by the sensor. Then, whenever the '''sensor’s Event Notification''' changes (it might be happening every time the tap of a hatch is opened, for example), the tracker will transmit an extra message to the server immediately upon receiving a new Event Notification.
In case of a DU-BLE, you may want to set the '''Operand''' option to the '''On Change''' and configure the '''Event Only''' option as '''Yes''' for the BLE Temperature parameter that corresponds to the Event notification sent by the sensor. Then, whenever the '''sensor’s Event Notification''' changes (it might be happening every time the tap of a hatch is opened, for example), the tracker will transmit an extra message to the server immediately upon receiving a new Event Notification.


Line 78: Line 80:


== System settings ==
== System settings ==
7.In the '''System''' tab, click on the '''Codec 8 Extended''' option (Fig. 8)


=== 7.In the '''System''' tab, click on the '''Codec 8 Extended''' option (Fig. 8) ===




Line 86: Line 88:
Fig. 8 System. Data Protocol. Codec 8 Extended
Fig. 8 System. Data Protocol. Codec 8 Extended


=== 8. When  selecting the installation spot for the tracker, check the '''RSSI (Signal Strength)''' in the    Bluetooth 4.0 tab by clicking on the '''Discover    BLE''' button during 2-3 minutes (Fig. 9). ===
8. When  selecting the installation spot for the tracker, check the '''RSSI (Signal Strength)''' in the    Bluetooth 4.0 tab by clicking on the '''Discover    BLE''' button during 2-3 minutes (Fig. 9).




Line 97: Line 99:




=== 9. Remember to orient the sensor with the tracker so that the sensor’s and the tracker’s Bluetooth antenna were facing each other (Fig. 10) ===
9. Remember to orient the sensor with the tracker so that the sensor’s and the tracker’s Bluetooth antenna were facing each other (Fig. 10)
 




Line 106: Line 109:




=== 10. The “io_” parameters (Fig. 11) you need  to find in the tracker’s messages on the platform are as follows: ===
10. The “io_” parameters (Fig. 11) you need  to find in the tracker’s messages on the platform are as follows:


== [[File:Photo 5418063427176959129 x.jpg|frameless|523x523px]] ==
== [[File:Photo 5418063427176959129 x.jpg|frameless|523x523px]] ==
Line 113: Line 116:




=== 11. Remember    to click on the '''Save to device'''    button after changing any configurations in the Teltonika configurator to  apply the changes. ===
11. Remember    to click on the '''Save to device'''    button after changing any configurations in the Teltonika configurator to  apply the changes.
 
[[File:Photo 5418063427176959118 x.jpg|frameless|573x573px]]
[[File:Photo 5418063427176959118 x.jpg|frameless|573x573px]]


Line 120: Line 124:


= Connecting BLE via adapter (BLE-Rs485 base) =
= Connecting BLE via adapter (BLE-Rs485 base) =
1. First, connect the adapter to your C200M    or other Rs485-USB converter and connect the USB cable of the converter to    your laptop or computer. It is better if all 4 wires of the adapter are    connected to the converter: orange to orange ('''Rs485 Line A'''), white to white ('''Rs485 Line B'''), black to black ('''GND''') and red to red ('''PWR''')    (Fig. 13).


=== 1. First, connect the adapter to your C200M    or other Rs485-USB converter and connect the USB cable of the converter to    your laptop or computer. It is better if all 4 wires of the adapter are    connected to the converter: orange to orange ('''Rs485 Line A'''), white to white ('''Rs485 Line B'''), black to black ('''GND''') and red to red ('''PWR''')    (Fig. 13). ===
[[File:Photo 5418063427176959119 x.jpg|frameless|495x495px]]
[[File:Photo 5418063427176959119 x.jpg|frameless|495x495px]]


Line 128: Line 132:




=== 2. In the    Escort configurator for PC, select the COM port that corresponds to the    converter that you are using to connect the adapter (to find its number,    check the Windows Device manager’s COM and LPT ports section; C200M will    be defined there as '''STMicroelectronics    Virtual COM port''' device). Then go to the '''BLE''' then click '''BLE    adapter settings''' (Fig. 14) ===
2. In the    Escort configurator for PC, select the COM port that corresponds to the    converter that you are using to connect the adapter (to find its number,    check the Windows Device manager’s COM and LPT ports section; C200M will    be defined there as '''STMicroelectronics    Virtual COM port''' device). Then go to the '''BLE''' then click '''BLE    adapter settings''' (Fig. 14)
 
[[File:Photo 5418063427176959122 x.jpg|frameless|372x372px]][[File:Photo 5418063427176959123 m.jpg|frameless]]
[[File:Photo 5418063427176959122 x.jpg|frameless|372x372px]][[File:Photo 5418063427176959123 m.jpg|frameless]]


Line 135: Line 140:




=== 3. You will    see 4 different cells to connect up to 4 sensors (if the base has the '''FW 2.3.8''' and the configurator is    of the '''1.0.2.38 version''', you    need to scroll down to see more cells) (Fig. 14 and 15) ===
 
 
 
3. You will    see 4 different cells to connect up to 4 sensors (if the base has the '''FW 2.3.8''' and the configurator is    of the '''1.0.2.38 version''', you    need to scroll down to see more cells) (Fig. 14 and 15)
{| class="wikitable"
{| class="wikitable"
|[[File:Photo 5418063427176959892 m.jpg|frameless|275x275px]]
|[[File:Photo 5418063427176959892 m.jpg|frameless|275x275px]]
Line 150: Line 158:




=== 4. Connect    the sensor to the first cell before anything else. Click '''Connect sensor''' (Fig. 16) and then    enter the '''first letters''' of the    sensor’s model (TD, DU, TL or TH), the lower dash _ will appear    automatically. Then enter the '''6-digit    serial number''' of the sensor, its password and then click '''Establish connection''' (Fig. 17) ===
 
 
 
4. Connect    the sensor to the first cell before anything else. Click '''Connect sensor''' (Fig. 16) and then    enter the '''first letters''' of the    sensor’s model (TD, DU, TL or TH), the lower dash _ will appear    automatically. Then enter the '''6-digit    serial number''' of the sensor, its password and then click '''Establish connection''' (Fig. 17)
{| class="wikitable"
{| class="wikitable"
|[[File:Photo 5418063427176959124 m.jpg|frameless]]
|[[File:Photo 5418063427176959124 m.jpg|frameless]]
Line 162: Line 173:




=== 5. For    each sensor the base can use 1 or 2 network addresses to transmit the 2    main parameters via the main one and the 2 additional parameter via the    auxiliary address. The additional parameters can be switched off (Fig. 18) ===
5. For    each sensor the base can use 1 or 2 network addresses to transmit the 2    main parameters via the main one and the 2 additional parameter via the    auxiliary address. The additional parameters can be switched off (Fig. 18)
 




Line 176: Line 188:




=== 6. Once the sensor or several sensors are    connected to the base, make sure to configure the Rs485 tab of the    Teltonika configurator so that the tracker were able to send requests to    the network addresses that the base uses to “channel” the data that comes    from the sensors (Fig. 19) ===
6. Once the sensor or several sensors are    connected to the base, make sure to configure the Rs485 tab of the    Teltonika configurator so that the tracker were able to send requests to    the network addresses that the base uses to “channel” the data that comes    from the sensors (Fig. 19)
 
[[File:Photo 5418063427176959127 x.jpg|699x699px]]
[[File:Photo 5418063427176959127 x.jpg|699x699px]]


Line 183: Line 196:




=== 7. Then '''disconnect the base from the C200M'''    or other converter, connect it to the power supply (black and red wires,    the fuse from the kit must be installed in the red wire between the    adapter and the power supply) and the '''orange    to the line A Rs485''' of the tracker and '''white to the line B Rs485''' (Fig. 20) ===
 
 
 
7. Then '''disconnect the base from the C200M'''    or other converter, connect it to the power supply (black and red wires,    the fuse from the kit must be installed in the red wire between the    adapter and the power supply) and the '''orange    to the line A Rs485''' of the tracker and '''white to the line B Rs485''' (Fig. 20)
 
[[File:Photo 5418063427176959128 x.jpg]]Fig. 20 Wiring of the base and the tracker via the Rs485 port
[[File:Photo 5418063427176959128 x.jpg]]Fig. 20 Wiring of the base and the tracker via the Rs485 port


Line 190: Line 207:




=== 8. In the    '''I/O tab''' of the Teltonika    configurator, select the priority Low (Fig. 21). For DU-BLE’s event notification consider setting '''Event Only''' to '''Yes''' and the '''Operand''' to '''On Change'''. ===
8. In the    '''I/O tab''' of the Teltonika    configurator, select the priority Low (Fig. 21). For DU-BLE’s event notification consider setting '''Event Only''' to '''Yes''' and the '''Operand''' to '''On Change'''.
 
The '''DU-BLE’s event notification''' can be transmitted either as a '''LLS Fuel Level''' parameter (if the adapter/base has the FW 2.3.8 or newer) or as a '''LLS Temperature''' parameter (FW 2.3.3 or older).
The '''DU-BLE’s event notification''' can be transmitted either as a '''LLS Fuel Level''' parameter (if the adapter/base has the FW 2.3.8 or newer) or as a '''LLS Temperature''' parameter (FW 2.3.3 or older).


Line 201: Line 219:




=== 9. The io  list for the wired adapter (as well as for the wired sensors) is partially  shown below ===
9. The io  list for the wired adapter (as well as for the wired sensors) is partially  shown below
 
[[File:Photo 5418063427176959131 x.jpg]]
[[File:Photo 5418063427176959131 x.jpg]]


Line 210: Line 229:




=== 10. When    selecting the spot to install the adapter on, be sure to assess its    average '''RSSI value''' over the    course of 2-3 minutes in the '''Escort    configurator''' (Fig.  23). It must    be falling into the range from '''-45     to -85 dB''' ===
10. When    selecting the spot to install the adapter on, be sure to assess its    average '''RSSI value''' over the    course of 2-3 minutes in the '''Escort    configurator''' (Fig.  23). It must    be falling into the range from '''-45 to -85 dB'''
 
[[File:Photo 5418063427176959132 x.jpg]]Fig. 23 RSSI check
[[File:Photo 5418063427176959132 x.jpg]]Fig. 23 RSSI check


111

edits