Skip to content

Commit

Permalink
capsule fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardHeltec committed Apr 29, 2024
1 parent 816304e commit 19b5874
Show file tree
Hide file tree
Showing 26 changed files with 51 additions and 264 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions doc/node/esp32/source/capsule_sensor_v3/index.rst
Expand Up @@ -13,13 +13,15 @@ Main Features:
- Built in LoRa and Wi-Fi/BLE antennas, stylish appearance, compact and light.
- High strength plastic, IP65 waterproof.
- Support Heltec Wireless Boot system, download firmware, exchange information, and print logs through Wi-Fi.
- Meshtastic project compatible.
- Meshtastic project compatible, firmware Download link: `https://resource.heltec.cn/download/Meshtastic <https://resource.heltec.cn/download/Meshtastic>`_.
- Secondary development can be done through Arduino, Platform.io, etc.

Firmware Download link: `https://resource.heltec.cn/download/Meshtastic <https://resource.heltec.cn/download/Meshtastic>`_.

.. toctree::
:maxdepth: 2

Quick Start <quick_start>
Heltec ESP32 development environment <https://docs.heltec.org/en/node/esp32/esp32_general_docs/quick_start.html>
LoRaWAN <https://docs.heltec.org/en/node/esp32/esp32_general_docs/lorawan/index.html>
Quick Start(Secondary Development) <quick_start>
Heltec ESP32 Development Framework <https://docs.heltec.org/en/node/esp32/esp32_general_docs/quick_start.html>
LoRaWAN <https://docs.heltec.org/en/node/esp32/lorawan/index.html>

53 changes: 33 additions & 20 deletions doc/node/esp32/source/capsule_sensor_v3/quick_start.md
Expand Up @@ -2,10 +2,13 @@

{ht_translation}`[简体中文]:[English]`

CapSule Sensor V3 uses Wireless Boot to download firmware, exchange information, and print logs through WiFi.
CapSule Sensor V3 uses **WirelessBoot mode** to download firmware, exchange information, and print logs through WiFi.

## Enter downloading mode
1. Long press the indicator light of the device for 16 seconds until the Blue light of the device is always on.
## Enter downloading mode(WirelessBoot)
1. Long press the indicator light of the device for 8 seconds until the Blue light of the device is always on.

``` {Note} Some early devices may require a regular press of 16 seconds.
```

![](img/01.png)

Expand All @@ -17,55 +20,67 @@ CapSule Sensor V3 uses Wireless Boot to download firmware, exchange information,

![](img/10.png)

```{Tip} Although you can connect directly to the Capsule's AP hotspot for uploading, this approach is simpler, but may lack stability. Connecting the PC and the capsule to the same LAN is the more stable mode of operation.
``` {Tip} Although you can connect directly to the Capsule's AP hotspot for uploading, this approach is simpler, but may lack stability. Connecting the PC and the capsule to the same LAN is the more stable mode of operation.
```

4. Enter the WiFi account and password, click `Save Configuration`.
4. Type the WiFi account and password, click `Save Configuration`.

![](img/04.png)

5. Connect your computer to the LAN where the Capsule V3 is located.
5. Connect your computer to the LAN which the Capsule V3 is located.

## Upload Firmware (Secondary Development)
------

## Upload Firmware
- [Via Arduino](via-arduino-capsule)
- [Via Local File](via-local-file-capsule)

(via-arduino-capsule)=
### Via Arduino
[Arduino](https://www.arduino.cc/) is the one we recommend, and Heltec provides a dedicated development environment, which you can install by following this link: [Heltec ESP32 DEV-Environment](https://docs.heltec.org/en/node/esp32/esp32_general_docs/quick_start.html).
[Arduino](https://www.arduino.cc/) is the one we recommend.

``` {Tip} Make sure the node is in wireless boot mode and that the computer and the node are connected to the same local area network.
Before you start, make sure your device is in WirelessBoot mode and has the Heltec ESP32 development framework and libraries installed: [Heltec Esp32 development framework and library](https://docs.heltec.org/en/node/esp32/quick_start.html)

``` {Tip} The library also supports the ESP32 official development framework.
```

``` {Tip} Make sure the node is in wireless boot mode and that the computer and the node are connected to the same local area network.
```

1. Open the Arduino and click the `Tools` option. In the `Port` option, find **esp32s3_xxxx** and select it.

![](img/05.jpg)

```{Tip} If you can't find such an port, restart the Arduino and check whether your device is connected to the same LAN as the computer.
```

3. `Board` select **Heltec Cupsule Sensor V3**; `LoRa Region` select the frequency band corresponding to the device.
2. `Board` select **Heltec Cupsule Sensor V3**.

![](img/06.png)
![](img/06.png)

``` {Tip} Some special code here will also have other options to select, such as the LoRaWAN example in this example, you need to set the LoRa Region to the corresponding frequency.
```

4. Select the sample code and upload it.
3. Select the sample code.

![](img/07.png)

4. Write the code and click `Upload` to upload the code.

![](img/14.png)

------

### Via Local File
``` {Tip} Make sure the node is in wireless boot mode and that the computer and the node are connected to the same local area network.

``` {Tip} Make sure the node is in wireless boot mode and that the computer and the node are connected to the same local area network.
```

1. Type the router address in the browser, find the IP of the Capsule Sensor V3.
1. After your device enters WirelessBoot mode, visit the router address in the browser, find the IP of the Capsule Sensor V3.

![](img/09.png)

2. Enter the Capsule-V3 IP in your browser to navigate to the WirelessBoot page.
2. Visit the Capsule-V3 IP in your browser to navigate to the WirelessBoot page.

![](img/10.png)

Expand All @@ -82,10 +97,8 @@ CapSule Sensor V3 uses Wireless Boot to download firmware, exchange information,
![](img/13.png)

``` {Tip} Notice the progress bar at the top left, please upload one firmware before uploading another.
```
``` {Tip} Note the size of the capacity of each partition, do not allow the uploaded firmware size to exceed the capacity of the partition.

``` {Tip} Note the size of the capacity of each partition, do not allow the uploaded firmware size to exceed the capacity of the partition.
```


1 change: 0 additions & 1 deletion doc/node/esp32/source/index.rst
Expand Up @@ -38,7 +38,6 @@ ESP32 is a powerfull SoC with 240MHz Tensilica LX6 dual-core & 1 ULP core, 600 D
Wireless Shell<wireless_shell/index>
Wireless Bridge<wireless_bridge/index>
Heltec WirelessBoot System<wireless_boot/index>
Hardware Update Log<hardware_update_log>
-->[Heltec General Docs]<-- <https://docs.heltec.org/general/index.html>

Relevant Offical Resources
Expand Down
Binary file added doc/node/ht-ra62/source/img/01.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/node/ht-ra62/source/img/02.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 12 additions & 7 deletions doc/node/ht-ra62/source/index.rst
Expand Up @@ -3,6 +3,9 @@ HT-RA62
:ht_translation:`[简体中文]:[English]`

HT-RA62 is a module, must work with other PCB boards, it belongs to “Heltec LoRa“ series, with the following features:

.. image:: ./img/02.png

+ SX1262;
+ Support frequency: 150 ~ 960 MHz;
+ Maximum output power 22dBm;
Expand All @@ -11,12 +14,14 @@ HT-RA62 is a module, must work with other PCB boards, it belongs to “Heltec Lo
+ High sensitivity: down to -139dBm
+ SPI interface

.. toctree::
:maxdepth: 2
1. HT-RA62 Pin Map

.. image:: ./img/01.jpg

2. `HT-RA62 Datasheet <https://resource.heltec.cn/download/HT-RA62/HT-RA62(Rev1.1).pdf>`_.

Quick Start <quick_start>
LoRaWAN <lorawan/index>
Relevant Offical Resources
--------------------------
3. `HT-RA62 Schematic Diagram <https://resource.heltec.cn/download/HT-RA62/HT-RA62_Schematic_diagram.pdf>`_.

- `AT Command List <ht+ tps://resource.heltec.cn/download/HT-AT62/AT_Command>`_.
4. `HT-RA62 Reference Design <https://resource.heltec.cn/download/HT-RA62/HT-RA62_Reference_design.pdf>`_.

5. `More LoRa Node <https://heltec.org/product-category/lora/lrnode/>`_.
120 changes: 0 additions & 120 deletions doc/node/ht-ra62/source/lorawan/config_parameter.md

This file was deleted.

51 changes: 0 additions & 51 deletions doc/node/ht-ra62/source/lorawan/connect_to_gateway.md

This file was deleted.

23 changes: 0 additions & 23 deletions doc/node/ht-ra62/source/lorawan/get_lorawan_example_code.md

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
12 changes: 0 additions & 12 deletions doc/node/ht-ra62/source/lorawan/index.rst

This file was deleted.

0 comments on commit 19b5874

Please sign in to comment.