9,278 bytes added
, 10:28, 29 March 2023
__TOC__
==Configuring Blue Puck/Coin sensors==
{| style="width: 100%;"
|[[Image:Device manager sensor.jpg|right|240px]]
Bluetooth LE Blue Puck and Blue Coin sensors are disabled by default. Configurations to these sensors are written through NFC.<br>
To do this download <b>[https://play.google.com/store/apps/details?id=com.ela.mobileapp.elamobileapp&hl=en_US| Device Manager Mobile]</b> by Ela from <i>Google Play Store</i> to your Android-powered device.<br>
<b>Note!</b> Android-powered device that is used for configuring Blue Puck/Coin sensors must support NFC read/write functionality.<br><br>
Follow these instructions to easily configure Blue Puck/Coin Bluetooth LE sensor:
*Enable <code>Bluetooth</code> and <code>NFC</code> on your Android-powered device.
*Launch <b>Device Manager Mobile</b> on your Android-powered device.
*Select <i>Configuration.</i>
*Place your Android-powered device on top of Blue Puck/Coin sensor to scan it.
*Click <i>Enable</i> to allow Blue Puck/Coin sensor transmit advertising data. If it shows a tick, it is already connected to your phone.
*We recommend to set <i>Power</i> to 4 to get the best possible distance.
*Set ''BLE Emit Period'' to 1 seconds to get best possible sensor detection.
*Click <i>Write</i> button.
*Place your Android-powered device on top of Blue Puck/Coin sensor to write configuration to it.
Once the configuration is written successfully, the Blue Puck/Coin sensor will be enabled and use the settings configured in the APP.<br>
{| class="wikitable" style="border-style: solid; border-width: 0px;"
|+
| style="width: auto; text-align: left; background: #F6F6FB;" |'''NOTE!'''
| style="width: auto; text-align: left; background: #F6F6FB;" |Make sure that <i>Manufacturer data mode</i> is Disabled, otherwise BLE sensor will not be detected without additional changes in the device configuration.
|}
|}
==Configuring device with Blue Puck/Coin sensors==
[[File: Bluetooth_general.png|right]]
{|style="width: 100%;"
These are instructions on how to easily read data from <b>Blue Puck/Coin</b> Bluetooth LE sensor with the chosen device.
</br></br>
First the device <b>Bluetooth settings</b> need to be configured. These are the required steps:
:* Press <code>Bluetooth</code> settings.
::* Turn on <span style=color:#F6A83E>BT Radio</span> by pressing <code>Enable (hidden)</code> or <code>Enable (visible)</code>.
:* Press <code>Bluetooth 4.0</code> settings.
::* Select <code>Advanced</code> in <span style=color:#F6A83E>BLE connectionless functionalities</span> section.
[[File: BLE_connectionless_functionalities_advanced.png]]<br><br>
::* [[Image:MAC address NRF.jpg|right|340px]] Type your <b>Blue Puck/Coin</b> MAC address in <code>MAC</code> field. You can check what is your <code>MAC</code> address by using [https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp nRF connect for Mobile] app from <i>Google Play</i>.
::* Configure the sensor fields according to the type of sensor used. More information about these settings can be found on [[#Blue Puck/Coin presets|Blue Puck/Coin presets]] section.
::* After all these steps press <code>Save to device</code> to save configuration.
::* To start BLE scan right away press <code>Discover BLE</code>.
|}
<br>
<hr>
{|style="width: 100%;"
[[Image:TZ-BT04_05_05B_data.PNG|right|TZ-BT04_05_05B_data]]
To check if the device has already received data from <b>Blue Puck/Coin</b> Bluetooth LE sensor, follow these steps:
:* Navigate to<code>Status</code> section.
:* Press <code>I/O Info</code> and look if <span style=color:#F6A83E>BLE Temp</span>, <span style=color:#F6A83E>BLE Battery</span> and <span style=color:#F6A83E>BLE Humidity</span> has any values (depends on the type of sensor being used).
|}
==Blue Puck/Coin presets==
===Using premade Blue Puck/Coin sensor presets===
The configurator can include premade presets for sensors such as Blue PUCK/COIN MOV, MAG, T, RHT and etc.
[[File:BLE Presets v2.gif|center]]
{| class="wikitable" style="border-style: solid; border-width: 0px;"
|+
|-
| style="width: auto; text-align: left; background: #F6F6FB;" | '''NOTE!'''
| style="width: auto; text-align: left; background: #F6F6FB;" | In order to have sensor presets included in the configurator, every preset has to be recorded in the configuration, saved to a file and placed to Documents folder of your computer.
|}
Also, premade sensor presets can be downloaded using this [[File:Download_zip.png|x30px|link=Special:Redirect/file/Presets.zip]]
{|style="width: 100%;"
To read data from <b>Blue Puck/Coin</b> sensors, <span style=color:#F6A83E>Sensor</span> table must be configured with specified parameters to a particular sensor.
===Blue Puck/Coin T===
Bluetooth LE Temperature sensor configuration
<table style="border-collapse: collapse; width:100%;" border="1;">
<tr style="text-align: center; background: #90c6ff;>
<th width="10%">Type</th>
<th width="10%">Data Offset</th>
<th width="10%">Data Size</th>
<th width="10%">Action</th>
<th width="10%">IO</th>
<th width="10%">Match</th>
<th width="10%">Endianess</th>
<th width="10%">Multiplier</th>
<th width="10%">Offset</th>
</tr>
<tr style="text-align: center;">
<td>FE</td>
<td>5</td>
<td>2</td>
<td>Match</td>
<td>None</td>
<td>6E2A</td>
<td>Little Endian</td>
<td>1</td>
<td>0</td>
</tr>
<tr style="text-align: center;">
<td>FE</td>
<td>7</td>
<td>2</td>
<td>Save</td>
<td>Temperature</td>
<td></td>
<td>Big Endian</td>
<td>0.1</td>
<td>0</td>
</tr>
</table>
<br>
===Blue Puck/Coin RHT===
Bluetooth LE Temperature and Humidity sensor configuration
<table style="border-collapse: collapse; width:100%;" border="1;">
<tr style="text-align: center; background: #90c6ff;>
<th width="10%">Type</th>
<th width="10%">Data Offset</th>
<th width="10%">Data Size</th>
<th width="10%">Action</th>
<th width="10%">IO</th>
<th width="10%">Match</th>
<th width="10%">Endianess</th>
<th width="10%">Multiplier</th>
<th width="10%">Offset</th>
</tr>
<tr style="text-align: center;">
<td>FE</td>
<td>5</td>
<td>2</td>
<td>Match</td>
<td>None</td>
<td>6E2A</td>
<td>Little Endian</td>
<td>1</td>
<td>0</td>
</tr>
<tr style="text-align: center;">
<td>FE</td>
<td>7</td>
<td>2</td>
<td>Save</td>
<td>Temperature</td>
<td></td>
<td>Big Endian</td>
<td>0.1</td>
<td>0</td>
</tr>
<tr style="text-align: center;">
<td>FE</td>
<td>11</td>
<td>2</td>
<td>Match</td>
<td>None</td>
<td>6F2A</td>
<td>Little Endian</td>
<td>1</td>
<td>0</td>
</tr>
<tr style="text-align: center;">
<td>FE</td>
<td>13</td>
<td>1</td>
<td>Save</td>
<td>Humidity</td>
<td></td>
<td>Little Endian</td>
<td>10</td>
<td>0</td>
</tr>
</table>
<br>
===Blue Puck/Coin MAG===
Bluetooth LE Magnet sensor configuration
<table style="border-collapse: collapse; width:100%;" border="1;">
<tr style="text-align: center; background: #90c6ff;>
<th width="10%">Type</th>
<th width="10%">Data Offset</th>
<th width="10%">Data Size</th>
<th width="10%">Action</th>
<th width="10%">IO</th>
<th width="10%">Match</th>
<th width="10%">Endianess</th>
<th width="10%">Multiplier</th>
<th width="10%">Offset</th>
</tr>
<tr style="text-align: center;">
<td>FE</td>
<td>5</td>
<td>2</td>
<td>Match</td>
<td>None</td>
<td>062A</td>
<td>Little Endian</td>
<td>1</td>
<td>0</td>
</tr>
<tr style="text-align: center;">
<td>FE</td>
<td>7</td>
<td>2</td>
<td>Save</td>
<td>Custom</td>
<td></td>
<td>Little Endian</td>
<td>1</td>
<td>0</td>
</tr>
</table>
<br>
===Blue Puck/Coin MOV===
Bluetooth LE Movement sensor configuration
<table style="border-collapse: collapse; width:100%;" border="1;">
<tr style="text-align: center; background: #90c6ff;>
<th width="10%">Type</th>
<th width="10%">Data Offset</th>
<th width="10%">Data Size</th>
<th width="10%">Action</th>
<th width="10%">IO</th>
<th width="10%">Match</th>
<th width="10%">Endianess</th>
<th width="10%">Multiplier</th>
<th width="10%">Offset</th>
</tr>
<tr style="text-align: center;">
<td>FE</td>
<td>5</td>
<td>2</td>
<td>Match</td>
<td>None</td>
<td>062A</td>
<td>Little Endian</td>
<td>1</td>
<td>0</td>
</tr>
<tr style="text-align: center;">
<td>FE</td>
<td>7</td>
<td>2</td>
<td>Save</td>
<td>Custom</td>
<td></td>
<td>Little Endian</td>
<td>1</td>
<td>0</td>
</tr>
</table>