Skip to content

Commit

Permalink
Merge pull request #608 from Jessie219-web/docusaurus-version
Browse files Browse the repository at this point in the history
update wio tracker 1110 DB
  • Loading branch information
MatthewJeffson authored Sep 19, 2023
2 parents 047ae59 + bd6779d commit 32af2d9
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 85 deletions.
4 changes: 3 additions & 1 deletion docs/Sensor/SenseCAP/SenseCAP_T1000_Tracker/Get_Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ last_update:

This chapter will guide you to setup the SenseCAP T1000 Tracker via SenseCAP Mate APP.

<iframe width="100%" height="315" src="https://www.youtube.com/watch?v=jj6XN8IcchI" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>

<p style={{textAlign: 'center'}}><iframe width={666} height={360} src="https://www.youtube.com/embed/jj6XN8IcchI?si=9An22I2ftcTkhkH6" title="YouTube video player" frameBorder={0} allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowFullScreen /></p>
<div class="get_one_now_container" style={{textAlign: 'center'}}>
<a class="get_one_now_item" href="https://files.seeedstudio.com/products/SenseCAP/SenseCAP_Tracker/SenseCAP_Tracker_T1000-AB_User_Guide.pdf">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Configure_the_Parameters_of_Wio_Tracker_1110
title: Configure the Parameters
title: Parameters Configuration
keywords:
- Tracker
- Wio
Expand All @@ -12,81 +12,60 @@ last_update:
---


### Setup your toolchian

#### Install Arduino IDE
Before starting, please check [Setup your toolchain](https://wiki.seeedstudio.com/setup_toolchain_for_wio_tracker) first.

The Arduino IDE (Integrated Development Environment) is an open-source software, mainly used for writing, compiling & uploading code to almost all Arduino Modules.
It is available for all operating systems i.e. MAC, Windows, Linux and runs on the Java Platform that comes with inbuilt functions and commands that play a vital role in debugging, editing and compiling the code.
### Region configuration

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/arduino-wio.png" alt="pir" width={800} height="auto" /></p>
The default region of the factory firmware is EU868, to configure the region, to meet the frequency requirements of different regions, you can follow the steps below to change the region.

<div class="get_one_now_container" style={{textAlign: 'center'}}>
<a class="get_one_now_item" href="https://www.arduino.cc/en/software">
<strong><span><font color={'FFFFFF'} size={"4"}> Arduino IDE Download </font></span></strong>
</a>
</div>

:::info
If this is your first time using Arduino, we highly recommend you to refer to [Getting Started with Arduino](https://wiki.seeedstudio.com/Getting_Started_with_Arduino/).
:::

#### Add Seeed Board

Navigate to `Arduino IDE` -> `Preferences`

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/arduino-add.png" alt="pir" width={800} height="auto" /></p>

Copy this URL to `Additional boards manager URLs`, then click `OK`.
Replace the 'Region' part in the LoRaWAN example.

```cpp
https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
REGION = SMTC_MODEM_REGION_'Region'
```

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/copy-urls.png" alt="pir" width={800} height="auto" /></p>

Click `Board Manager`.
Search `Seeed nRF52 Boards` and install it.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/install-boa.png" alt="pir" width={800} height="auto" /></p>
<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/set-region.png" alt="pir" width={800} height="auto" /></p>

Then click `Upload` to upload the program.

Then need to select the Board and Port.<br/>
Search `Seeed Wio Tracker 1110` and select it, choose the port and click `OK`.
<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/program.png" alt="pir" width={800} height="auto" /></p>

You can also use the `Serial Monitor` button in the upper right corner to check the logs.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/port.png" alt="pir" width={800} height="auto" /></p>
<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/port-monitor.png" alt="pir" width={800} height="auto" /></p>

:::info
The port should be like 'Serial Port(USB)'
:::



### Triad Info configuration

#### Wio Tracker 1110 examples

SenseCAP provides `Wio Tracker 1110 Examples` for users to get started quickly.
Wio Tracker 1110 Dev board allows users to set the DevEUI, AppEUI, and AppKey, this is required when registering to other network servers.

Navigate to the `File` tab, select `Example`-> `Wio Tracker 1110 Examples`, then choose the one you need.
Open the `LoRaWAN/TTN Example`, define the triad info and click `Upload`.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/example.png" alt="pir" width={800} height="auto" /></p>

```cpp
static const uint8_t DEV_EUI[8] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
static const uint8_t JOIN_EUI[8] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
static const uint8_t APP_KEY[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
```
### Configure the region
<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/change-3-codes.png" alt="pir" width={800} height="auto" /></p>
The default region of the factory firmware is EU868, to configure the region, replace the 'Region' part in the LoRaWAN example.
```cpp
REGION = SMTC_MODEM_REGION_'Region'
```
<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/set-region.png" alt="pir" width={800} height="auto" /></p>
<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/install-lib.png" alt="pir" width={800} height="auto" /></p>
<details>
<summary>Info</summary>
Then click `Upload` to upload the program.
Or you can just get the triad information generated by the network server, then fill into the `Constants` part and run it on your board.
<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/program.png" alt="pir" width={800} height="auto" /></p>
example: from TTS.
You can also use the `Serial Monitor` button in the upper right corner to check the logs.
<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/Wio-WM1110%20Dev%20Kit/register_device3.png" alt="pir" width={800} height="auto" /></p>
<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/port-monitor.png" alt="pir" width={800} height="auto" /></p>
</details>

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
---
description: Configure_the_Parameters_of_Wio_Tracker_1110
title: Setup Your Toolchain
keywords:
- Tracker
- Wio
image: https://files.seeedstudio.com/wiki/wiki-platform/S-tempor.png
slug: /setup_toolchain_for_wio_tracker
last_update:
date: 9/19/2023
author: Jessie
---


The Wio Tracker 1110 Dev Board leverages Arduino to enhance your coding experience, before you start development, need to set up your toolchain first.


### Setup your toolchian

#### Install Arduino IDE

The Arduino IDE (Integrated Development Environment) is an open-source software, mainly used for writing, compiling & uploading code to almost all Arduino Modules.
It is available for all operating systems i.e. MAC, Windows, Linux and runs on the Java Platform that comes with inbuilt functions and commands that play a vital role in debugging, editing and compiling the code.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/arduino-wio.png" alt="pir" width={800} height="auto" /></p>

<div class="get_one_now_container" style={{textAlign: 'center'}}>
<a class="get_one_now_item" href="https://www.arduino.cc/en/software">
<strong><span><font color={'FFFFFF'} size={"4"}> Arduino IDE Download </font></span></strong>
</a>
</div>

:::tip
If this is your first time using Arduino, we highly recommend you to refer to [Getting Started with Arduino](https://wiki.seeedstudio.com/Getting_Started_with_Arduino/).
:::

#### Add Seeed Board

Navigate to `Arduino IDE` -> `Preferences`

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/arduino-add.png" alt="pir" width={800} height="auto" /></p>

Copy this URL to `Additional boards manager URLs`, then click `OK`.

```cpp
https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
```

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/copy-urls.png" alt="pir" width={800} height="auto" /></p>

Click `Board Manager`.
Search `Seeed nRF52 Boards` and install it.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/install-boa.png" alt="pir" width={800} height="auto" /></p>


Then need to select the Board and Port.<br/>
Search `Seeed Wio Tracker 1110` and select it, choose the port and click `OK`.


<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/port.png" alt="pir" width={800} height="auto" /></p>

:::info
The port should be like 'Serial Port(USB)'
:::




#### Wio Tracker 1110 examples

SenseCAP provides `Wio Tracker 1110 Examples` for users to get started quickly.

Navigate to the `File` tab, select `Example`-> `Wio Tracker 1110 Examples`, then choose the one you need.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/example.png" alt="pir" width={800} height="auto" /></p>



### Add Libraries


In the Arduino IDE, you can search for it in the `Library Manager`, e.g. `Seeed_Arduino_AHT20`, and then install it.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/install-lib.png" alt="pir" width={800} height="auto" /></p>
<details>
<summary>Click to preview offline installation</summary>

To install it *offline*, you can **download the repo zip** from GitHub, navigate to **Sketch** -> **Include Library** -> **Add .ZIP Library**, then select the libraries you downloaded.

<div align="center"><img width={680} src="https://files.seeedstudio.com/wiki/SenseCAP/SenseCAP_Indicator/SenseCAP_Indicator_32.png"/></div>

</details>

:::note Libraries for reference
[Adafruit TinyUSB Library for Arduino](https://github.com/adafruit/Adafruit_TinyUSB_Arduino)<br/>
[Adafruit SPI Flash](https://github.com/adafruit/Adafruit_SPIFlash)<br/>
[Seeed_Arduino_LIS3DHTR](https://github.com/Seeed-Studio/Seeed_Arduino_LIS3DHTR)<br/>
[Sensirion I2C SGP41 Arduino Library](https://github.com/Sensirion/arduino-i2c-sgp41)<br/>
[Sensirion I2C SHT4X Arduino Library](https://github.com/Sensirion/arduino-i2c-sht4x)<br/>
[Sensirion Gas Index Algorithm Arduino Library](https://github.com/Sensirion/arduino-gas-index-algorithm)
:::

Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Go back to the `Device` page, then you will see the dev board has been bound.
<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/wio_tracker/bind-done.png" alt="pir" width={300} height="auto" /></p>

:::info Note
The default region of the factory firmware is EU868, to configure the region, please check [here](https://wiki.seeedstudio.com/configure_param_for_wio_tracker)
The default region of the factory firmware is EU868, to configure the region, please check [here](https://wiki.seeedstudio.com/configure_param_for_wio_tracker/#Region-configuration)
:::


Expand Down
7 changes: 7 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -1564,6 +1564,13 @@ const sidebars = {
items: [
'Sensor/Wio_Series/Wio_Tracker_1110_Dev_Board/Introduction',
'Sensor/Wio_Series/Wio_Tracker_1110_Dev_Board/Get_Started',
{
type: 'category',
label: 'Development Tutorial',
items: [
'Sensor/Wio_Series/Wio_Tracker_1110_Dev_Board/Development_Tutorial/Setup_toolchain',
],
},
],
},
{
Expand Down

0 comments on commit 32af2d9

Please sign in to comment.