Skip to content

Commit

Permalink
Merge pull request #1441 from Jessie219-web/main
Browse files Browse the repository at this point in the history
Update: Wio Tracker LoRaWAN/Sidewlk images
  • Loading branch information
limengdu authored Jul 25, 2024
2 parents 61014d9 + c99f0a1 commit bd90056
Show file tree
Hide file tree
Showing 13 changed files with 402 additions and 16 deletions.
213 changes: 213 additions & 0 deletions docs/Network/Meshtastic_Network/sensecap_t1000_e.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
---
description: SenseCAP Card Tracker T1000-E for Meshtastic
title: T1000-E Tracker for Meshtastic
keywords:
- Tracker
image: https://files.seeedstudio.com/wiki/wiki-platform/S-tempor.png
slug: /sensecap_t1000_e
last_update:
date: 7/1/2024
author: Jessie
---

## Introduction



<p style={{textAlign: 'center'}}><img src="https://media-cdn.seeedstudio.com/media/catalog/product/cache/bb49d3ec4ee05b6f018e93f896b8a25d/5/_/5_10.jpg" alt="pir" width={600} height="auto" /></p>

<div class="get_one_now_container" style={{textAlign: 'center'}}>
<a class="get_one_now_item" href="https://www.seeedstudio.com/SenseCAP-Card-Tracker-T1000-E-for-Meshtastic-p-5913.html">
<strong><span><font color={'FFFFFF'} size={"4"}> Get One Now 🖱️</font></span></strong>
</a>
</div>


It is a high-performance tracker designed for Meshtastic, as small as a credit card, effortlessly fitting in your pocket or attaching to your assets. It embeds Semtech's LR1110, Nordic's nRF52840, and Mediatek's AG3335 GPS module, providing Meshtastic users with a high-precision, low-power positioning and communication solution.



### Features



* **Multi-Protocol Support**: Featuring nRF52840 and LR1110, it supports Bluetooth 5.0, Thread, Zigbee, and LoRa, ensuring compatibility with a wide range of devices and networks.
* **Powerful Positioning Capabilities**: Integrated with the Mediatek‘s AG3335 GPS chip, it provides high-precision positioning services.
* **Expandable Interfaces**: Designed with four pogo pins, it supports USB interface for DFU (Device Firmware Upgrade), serial logging, and API interface, simplifying device management and debugging.
* **Open Source Support**: Compatible with the Meshtastic open-source mesh networking protocol, suitable for long-range and low-power communication needs.


### Specification

**General**


|**Network protocol**|LoRa, Bluetooth v5.1|
| :- | :- |
|**Temperature**|<p>Range: -20 to 60℃;</p><p>Accuracy: ± 1℃ (min ±0.5℃, max ±1℃)</p><p>Resolution: 0.1℃</p>|
|**Light**|0 to 100% (0% is dark, 100% is brightest)|
|**3-Axis Accelerometer**|3-Axis Accelerometer to detect movement|
|**LED and Buzzer**|1\*LED and 1\* buzzer to indicate status|
|**Button**|1\* Button to operate|
|**Antenna**|Internal (GNSS/LoRa/Wi-Fi/BLE)|
|**Communication Distance**|2 to 5km (depending on antenna, installation, and environments)|
|**IP Rating**|IP65|
|**Dimensions**|85 \* 55 \* 6.5 mm|
|**Device Weight**|32g|
|**Operating Temperature**|-20℃ to +60℃|
|**Operating Humidity**|5% - 95% (No condensation)|
|**Certification**|CE /FCC|

**Battery**

|**Battey Capacity**|Rechargeable lithium battery, 700mAh|
| :- | :- |
|**Battery Life Monitoring**|Periodic uplink battery level|
|<p>**Charge Cable**</p><p>**(Adapter not included)**</p>|USB magnetic charging cable, 1 meter|
|**Power Input Voltage**|4\.7 to 5.5V DC|
|**Charging Temperature Limit**|0 to +45℃|


### Hardware overview


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



## Get Started

### Configuration


Press the button once to power on the T1000-E tracker, the Bluetooth pairing will be activated automatically.

#### Device Connection


import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

<Tabs>

<TabItem value="ios" label="IOS App">

* Download the `Meshtastic` App.<br/>

* Select the target device on the Bluetooth panel.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/Meshtastic/connect-radio.png" alt="pir" width={300} height="auto" /></p>


* Enter the code(default code is `123456`) and then click `OK` to connect the device.

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

</TabItem>

<TabItem value="android" label="Android App">


* Download the `Meshtastic` App.<br/>

* Click `+` and choose the target device.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/Meshtastic/an-choose.png" alt="pir" width={600} height="auto" /></p>


* Enter the code(default code is `123456`) and then click `OK` to connect the device.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/Meshtastic/click-ok.png" alt="pir" width={300} height="auto" /></p>


</TabItem>
</Tabs>

#### Parameters Configuration



In order to start communicating over the mesh, you must set your region. This setting controls which frequency range your device uses and should be set according to your regional location.



<Tabs>
<TabItem value="ios" label="IOS App">


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



</TabItem>

<TabItem value="android" label="Android App">
<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/Meshtastic/an-region.png" alt="pir" width={300} height="auto" /></p>


</TabItem>
</Tabs>




**Region List**

Refer to [LoRa Region by Country](https://meshtastic.org/docs/configuration/region-by-country/) for a more comprehensive list.


|**Region Code**|**Description**|**Frequency Range (MHz)**|**Duty Cycle (%)**|**Power Limit (dBm)**|
| :-: | :-: | :-: | :-: | :-: |
|UNSET|Unset|N/A|N/A|N/A|
|US|United States|902\.0 - 928.0|100|30|
|EU\_433|European Union 433MHz|433\.0 - 434.0|10|12|
|EU\_868|European Union 868MHz|869\.4 - 869.65|10|27|
|CN|China|470\.0 - 510.0|100|19|
|JP|Japan|920\.8 - 927.8|100|16|
|ANZ|Australia & New Zealand|915\.0 - 928.0|100|30|
|KR|Korea|920\.0 - 923.0|100||
|TW|Taiwan|920\.0 - 925.0|100|27|
|RU|Russia|868\.7 - 869.2|100|20|
|IN|India|865\.0 - 867.0|100|30|
|NZ\_865|New Zealand 865MHz|864\.0 - 868.0|100|36|
|TH|Thailand|920\.0 - 925.0|100|16|
|UA\_433|Ukraine 433MHz|433\.0 - 434.7|10|10|
|UA\_868|Ukraine 868MHz|868\.0 - 868.6|1|14|
|MY\_433|Malaysia 433MHz|433\.0 - 435.0|100|20|
|MY\_919|Malaysia 919MHz|919\.0 - 924.0|100|27|
|SG\_923|Singapore 923MHz|917\.0 - 925.0|100|20|
|LORA\_24|2\.4 GHz band worldwide|2400\.0 - 2483.5|100|10|

:::info
**EU_433** and **EU_868** have to adhere to an hourly duty cycle limitation of 10%, calculated every minute on a rolling 1-hour basis. Your device will stop transmitting if you reach it, until it is allowed again.
:::


Now that you have set the LoRa region on your device, you can continue with configuring any [additional configs](https://meshtastic.org/docs/configuration/) to suit your needs.






## Resource

[Meshtastic Doc](https://meshtastic.org/docs/introduction/)





## Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

<div class="button_tech_support_container">
<a href="https://forum.seeedstudio.com/" class="button_forum"></a>
<a href="https://www.seeedstudio.com/contacts" class="button_email"></a>
</div>

<div class="button_tech_support_container">
<a href="https://discord.gg/eWkprNDMU7" class="button_discord"></a>
<a href="https://github.com/Seeed-Studio/wiki-documents/discussions/69" class="button_discussion"></a>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@ Connect the Dev Board to your PC via the USB cable.

### Flash the bootloader


<Tabs>
<TabItem value="uf2" label="UF2">

* [Bootloader download](https://files.seeedstudio.com/wiki/SenseCAP/respeaker/update-wio_tracker_1110_bootloader-0.9.1_nosd.uf2)

Double click the `Reset` button, there should be a `WM1110_BOOT` drive on your PC.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/Meshtastic/wm1110-boot.png" alt="pir" width={600} height="auto" /></p>
Expand All @@ -46,6 +50,8 @@ Copy the `update-wio_tracker_1110_bootloader-0.9.1_nosd.uf2` file to the drive.
</TabItem>
<TabItem value="serial" label="Serial">

* [Bootloader download](https://files.seeedstudio.com/wiki/SenseCAP/respeaker/wio_tracker_1110_bootloader-0.9.1_s140_7.3.0.zip)

**Step1: Adafruit-nrfutil Installation**

**Prerequisites**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,15 @@ Now that you have set the LoRa region on your device, you can continue with conf

## Resource

[Meshtastic Doc](https://meshtastic.org/docs/introduction/)
[Wio Tracker 1110 Dev Board v1.0_SCH](https://files.seeedstudio.com/products/SenseCAP/Wio-Tracker/Wio%20Tracker%201110%20v1.0_SCH_PDF_20230822.pdf)

[Meshtastic Doc](https://meshtastic.org/docs/introduction/)

[Github-Meshtastic Firmware](https://github.com/meshtastic/firmware/blob/master/boards/wio-tracker-wm1110.json)

[Enclosure File(3D-Print)](https://files.seeedstudio.com/products/E24070201/wio%20tracker%20723.stp)

[Enclosure File(Acrylic)](https://files.seeedstudio.com/products/114993370/%E4%BA%9A%E5%85%8B%E5%8A%9B%E5%A4%96%E5%A3%B3%E5%9B%BE%E7%BA%B8.zip)

## Tech Support & Product Discussion

Expand Down
6 changes: 5 additions & 1 deletion docs/Sensor/ReSpeaker_Lite/Application/respeaker_lite_ha.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ Picture this: you're cozied up on your couch, and with just a simple shout-out t
This chapter we will use the [ReSpeaker Lite Voice Assistant Kit](https://www.seeedstudio.com/ReSpeaker-Lite-Voice-Assistant-Kit-p-5929.html) to connect the Sonoff smart switch to realize voice control of the light switch.


<iframe width="100%" height="500" src="https://www.youtube.com/embed/I9KOY2ik5nw" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>



## Hardware Required


Expand Down Expand Up @@ -389,7 +393,7 @@ Wait for a few minutes for the installation. After the installation is successfu

Navigate to `Settings` and select `Devices & Services`.

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


You will see `ESPHome` as a discovered integration. Click `CONFIGURE`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ This project is a test sketch for verifying the functionality of the I2S interfa

### Functionality

The sketch starts by initializing the serial communication and configuring the I2S pins, it generates a square wave audio signal based on the specified frequency and amplitude. The generated audio samples are written to the I2S interface using the I2S.write() function.
The sketch starts by initializing the serial communication and configuring the I2S pins, it generates a square wave audio signal based on the specified frequency and amplitude. The generated audio samples are written to the I2S interface using the `I2S.write()` function.

The sketch then reads back the samples from the microphone array through the I2S interface using the I2S.read() function and counts the number of non-zero samples received.
The sketch then reads back the samples from the microphone array through the I2S interface using the `I2S.read()` function and counts the number of non-zero samples received.

### Code

Expand Down
104 changes: 104 additions & 0 deletions docs/Sensor/ReSpeaker_Lite/XIAO_ESP32_S3/respeaker_record_and_play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
---
description: Recording and playback
title: Recording and playback
keywords:
- ESP32S3
- XIAO
- ReSpeaker
image: https://files.seeedstudio.com/wiki/wiki-platform/S-tempor.png
slug: /respeaker_record_and_play
last_update:
date: 7/1/2024
author: Jessie
---


### Functionality



This project demonstrates a basic loopback mechanism using the I2S interface, to test the reading and writing functions of I2S audio data. By switching I2S mode, the audio data is read from the microphone and then written to the speaker.



### Code

```cpp

#include "AudioTools.h"

AudioInfo info(16000, 2, 32);
// SineWaveGenerator<int16_t> sineWave(32000); // subclass of SoundGenerator with max amplitude of 32000
// GeneratedSoundStream<int16_t> sound(sineWave); // Stream generated from sine wave
I2SStream out;
I2SConfig config;
// StreamCopy copier(out, sound); // copies sound into i2s

uint8_t buffer[128000];
size_t bytes_read = 0;
size_t bytes_write = 0;

// Arduino Setup
void setup(void) {
// Open Serial
Serial.begin(115200);
while(!Serial);
AudioLogger::instance().begin(Serial, AudioLogger::Info);

// start I2S
Serial.println("starting I2S...");
config = out.defaultConfig(TX_MODE);
config.copyFrom(info);
// Custom I2S output pins
config.pin_bck = 8;
config.pin_ws = 7;
config.pin_data = 43;
config.pin_data_rx = 44;
config.is_master = false;
out.begin(config);

// Setup sine wave
// sineWave.begin(info, N_B4);
Serial.println("started...");
}

// Arduino loop - copy sound to out
void loop() {
// copier.copy();
out.end();
config.rx_tx_mode = RX_MODE;
out.begin(config);
bytes_read = out.readBytes(buffer, 128000);
out.end();
config.rx_tx_mode = TX_MODE;
out.begin(config);
bytes_write= out.write(buffer, 128000);
}
```
### Customization
**Modifying the Read and Write Duration**
You can control the duration of audio read and write operations by adjusting the size of the buffer and the number of bytes in out.readBytes and out.write.
**Example**: 0.5 seconds of audio:
```cpp
uint8_t buffer[64000];
bytes_read = out.readBytes(buffer, 64000);
bytes_write = out.write(buffer, 64000);
```


:::tip
Make sure you have enough dynamic memory to accommodate the buffer, especially when reading longer durations of audio data. If your ESP32-S3 device has insufficient memory, you may need to optimize memory usage or consider alternative solutions.
:::






Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void setup(void) {
auto cfg = i2sStream.defaultConfig(RX_MODE);
cfg.copyFrom(info);
cfg.i2s_format = I2S_STD_FORMAT; // or try with I2S_LSB_FORMAT
cfg.is_master = true; // this module nees a master clock if the ESP32 is master
cfg.is_master = false; // this module nees a master clock if the ESP32 is master
cfg.use_apll = false; // try with yes
i2sStream.begin(cfg);

Expand Down
Loading

0 comments on commit bd90056

Please sign in to comment.