Teltonika-BLE: Difference between revisions

Polniy prernos kak est'
(Подключение)
 
(Polniy prernos kak est')
Line 13: Line 13:
{| class="wikitable"
{| class="wikitable"
|[[File:Imageфсы.png|frameless]]
|[[File:Imageфсы.png|frameless]]
|
|[[File:Photo 5418063427176959103 m.jpg|frameless]]
|-
|-
|Fig.1 MAC address in the app
|Fig.1 MAC address in the app
Line 20: Line 20:
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]]




Line 36: Line 37:


-         switch the '''BLE Connection control''' to '''Allow'''
-         switch the '''BLE Connection control''' to '''Allow'''




Line 42: Line 44:
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).


[[File:Photo 5418063427176959106 xs.jpg|frameless|495x495px]]




Line 56: Line 61:




[[File:Photo 5418063427176959107 x.jpg|frameless|645x645px]]


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).  
[[File:Photo 5418063427176959111 x.jpg|frameless|645x645px]]
 
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 63: Line 71:




[[File:Photo 5418063427176959112 x.jpg|frameless|700x700px]]


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




To find the io_ you need on the monitoring platform, check the following table:


[[File:Photo 5418063427176959113 x.jpg|frameless|700x700px]]


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




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).  
[[File:Photo 5418063427176959114 x.jpg|frameless|635x635px]]
 
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).  




The average value must be from '''-45 to -85 dB''' for optimal connection stability.
The average value must be from '''-45 to -85 dB''' for optimal connection stability.


[[File:Photo 5418063427176959116 x.jpg|frameless|570x570px]]                                              Fig. 9 Checking RSSI is vital




Line 81: 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)






[[File:Photo 5418063427176959103 mыкм.jpg|frameless]] [[File:Photo 5418063427176959117 m.jpg|frameless|298x298px]]
Fig. 10 Sensor and tracker orientation (applicable to both TD-BLE and DU-BLE models)


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]]






Fig. 11 Connections and IO list




Line 97: Line 124:
11. If    there is a connection loss, after several attempts to collect the data    (the '''Scan retries until error'''    setting in the Bluetooth 4.0 tab) the tracker will transmit the error '''code 3000 in the temperature io'''.    The level value will be transmitted as the last reading transmitted by the    sensor.
11. If    there is a connection loss, after several attempts to collect the data    (the '''Scan retries until error'''    setting in the Bluetooth 4.0 tab) the tracker will transmit the error '''code 3000 in the temperature io'''.    The level value will be transmitted as the last reading transmitted by the    sensor.


12. 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]]


Fig. 12 Saving the changes


12. Remember    to click on the '''Save to device'''    button after changing any configurations in the Teltonika configurator to    apply the changes.


= 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]]


Fig. 13 Connecting the adapter to the C200M and to the PC
Fig. 13 Connecting the adapter to the C200M and to the PC
Line 112: Line 142:
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]]


Fig. 14 Connecting the adapter in the configurator (the screenshots are taken from 2 different computers this is why the COM number doesn’t coincide)
Fig. 14 Connecting the adapter in the configurator (the screenshots are taken from 2 different computers this is why the COM number doesn’t coincide)
Line 121: Line 151:


{| class="wikitable"
{| class="wikitable"
|
|[[File:Photo 5418063427176959892 m.jpg|frameless|275x275px]]
|
|[[File:Photo 5418063427176959893 m.jpg|frameless]]
|-
|-
|Fig. 14 FW 2.3.5 or older of the  base and the configurator 1.0.2.37 or older
|Fig. 14 FW 2.3.5 or older of the  base
|Fig. 15 FW 2.3.8 or newer of the  base and the configurator 1.0.2.38 or newer
and the configurator 1.0.2.37 or older
|Fig. 15 FW 2.3.8 or newer of the  base  
and the configurator 1.0.2.38 or newer
|}
|}


Line 141: Line 173:


{| class="wikitable"
{| class="wikitable"
|
|[[File:Photo 5418063427176959124 m.jpg|frameless]]
|
|[[File:Photo 5418063427176959125 m.jpg]]
|-
|-
|Fig. 16 Click Connect sensor or  Connect another
|Fig. 16 Click Connect sensor or  Connect another
|Fig. 17 Enter sensor´s letters  with serial number and the password and click '''Establish connection'''
|Fig. 17 Enter sensor´s letters  with serial number
and the password and click '''Establish connection'''
|}
|}


Line 151: Line 184:


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 159: Line 193:
'''DU-BLE''': angle value and battery charge (3.5-3.7V) via the main address, the event notification and the RSSI value via the auxiliary address (if the FW of the base is 2.3.8 or newer; in the base with the FW 2.3.3 or older the event notification and the battery charge are switched)
'''DU-BLE''': angle value and battery charge (3.5-3.7V) via the main address, the event notification and the RSSI value via the auxiliary address (if the FW of the base is 2.3.8 or newer; in the base with the FW 2.3.3 or older the event notification and the battery charge are switched)


[[File:Photo 5418063427176959126 x.jpg|474x474px]]Fig. 18 Switching the additional parameters off


Fig. 18 Switching the additional parameters off




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]]


Fig. 19 Configuring network addresses
Fig. 19 Configuring network addresses




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


Fig. 20 Wiring of the base and the tracker via the Rs485 port








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).  


[[File:Photo 5418063427176959129 x.jpg]]Fig. 21 I/O tab LLS parameters


Fig. 21 I/O tab LLS parameters




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]]


Fig. 22 io_ list (partial)
Fig. 22 io_ list (partial)
Line 195: Line 233:
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


Fig. 23 RSSI check




11. Properly orient the Bluetooth antennas of    the sensor and the adapter (Fig. 24)
11. Properly orient the Bluetooth antennas of    the sensor and the adapter (Fig. 24)


{| class="wikitable"
[[File:Photo 5418063427176959103 mыкм.jpg]][[File:Photo 5418063427176959133 m.jpg]]
|
|
|}




Line 222: Line 257:
Depending on the preset you select, the order in which the parameters are transmitted to the tracker changes (Fig. 25 and 26).
Depending on the preset you select, the order in which the parameters are transmitted to the tracker changes (Fig. 25 and 26).


[[File:Photo 5418063427176959135 x.jpg]]


Fig. 25 Selecting preset
[[File:Photo 5418063427176959136 x.jpg]]Fig. 25 Selecting preset
Fig. 26 Parameters transmitted via addresses 1 and 2
Fig. 26 Parameters transmitted via addresses 1 and 2


Line 235: Line 271:
= Compatibility list =
= Compatibility list =
'''FMB110, FMB120, FMB122, FMB125, FMB130, FMB900, FMB920, FMB001, FMB010, FMB202, FMB204, FMB962, FMB964, FM3001'''
'''FMB110, FMB120, FMB122, FMB125, FMB130, FMB900, FMB920, FMB001, FMB010, FMB202, FMB204, FMB962, FMB964, FM3001'''




Line 244: Line 281:


'''FMU125, FMU130, FMM125, FMM130, FMC125, FMC130'''
'''FMU125, FMU130, FMM125, FMM130, FMC125, FMC130'''




111

edits