Skip to content

Commit 31569f4

Browse files
committed
style(doc): fix low-power doc format
1 parent ddcecdf commit 31569f4

10 files changed

+15
-15
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* To clone this repository by
77

88
```
9-
git clone --recurisve https://github.com/espressif/esp-iot-solution
9+
git clone --recursive https://github.com/espressif/esp-iot-solution
1010
```
1111
1212
* To initialize the submodules
Binary file not shown.
Loading
Binary file not shown.
Loading
Binary file not shown.
Loading
Loading

documents/low_power_solution/esp32_lowpower.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
## 定时数据采集与上报(例如器械状态监控器)
1919
* 此场景使用 ESP32 定时地采集传感器的数据并上传数据, 此时可使用 deep sleep 的 timer 唤醒源. ESP32 采集数据上传后进入 deep sleep, 设置 timer 唤醒, 唤醒后再采集数据上传, 如此循环. 此场景 ESP32 需要周期性的唤醒, 不能充分利用 ESP32 的低功耗, 但是优势在于此场景可以进行复杂传感器数据采集.
2020
* 逻辑流程图:
21-
22-
<img src="../_static/low_power/low_power_flow_chart1.jpg" width = "500" alt="low_power_flow_chart1" align=center />
21+
<br>
22+
<img src="../_static/low_power/low_power_flow_chart1.png" width = "500" alt="low_power_flow_chart1" align=center />
2323

2424
* 程序流程:
2525
* 芯片 boot 后读取传感器数据, 将数据上传
@@ -29,8 +29,8 @@
2929
## 支持gpio触发的异常数据采集(例如烟雾报警器)
3030
* 此场景中不需要周期性的采集传感器数据, 当传感器采集到异常数据时会主动向 ESP32 输出 gpio 触发电平. 此时, ESP32 可以进入支持 RTC IO 唤醒的 deep sleep 模式, 如果传感器没有采集到异常数据, ESP32 将持续睡眠, 只有在传感器采集到异常数据并将提示 GPIO 置为指定电平时 ESP32 才会从 deep sleep 唤醒, 然后发出警报或者上传数据. 此场景充分利用了ESP32 的低功耗, 但是对传感器要求较高, 需要具有 gpio 触发功能.
3131
* 逻辑流程图:
32-
33-
<img src="../_static/low_power/low_power_flow_chart2.jpg" width = "500" alt="low_power_flow_chart2" align=center />
32+
<br>
33+
<img src="../_static/low_power/low_power_flow_chart2.png" width = "500" alt="low_power_flow_chart2" align=center />
3434

3535
* 程序流程:
3636
* 首先确定 deep_sleep 唤醒方式. 根据唤醒方案, 配置 RTC IO 上下拉模式(如果是电平唤醒, 需要上拉, 如果是高电平唤醒, 需要下拉. 可以通过程序配置或外接上下拉电阻. 建采用外部上下拉, 功耗会更低.)
@@ -41,8 +41,8 @@
4141
## 数据采集或异常检测(不支持 gpio 触发, 不需要频繁上传数据)
4242
* 此场景中传感器不具有 gpio 触发功能, 需要 cpu 和片上外设进行轮询式数据采集或者异常检测, ESP32 的 ULP 协处理器可以进行简单的数据采集, 并在指定条件下唤醒 ESP32 进行进一步的处理, 此过程中采集的数据可存放在 RTC slow memory 中, 供 ESP32 唤醒时读取, 目前 ULP 协处理只支持片上温度传感器和 ADC 数据的采. 此场景的优势在于可以在低功耗情况下频繁地采集数据, 降低了对传感器的要求.
4343
* 逻辑流程图:
44-
45-
<img src="../_static/low_power/low_power_flow_chart3.jpg" width = "500" alt="low_power_flow_chart3" align=center />
44+
<br>
45+
<img src="../_static/low_power/low_power_flow_chart3.png" width = "500" alt="low_power_flow_chart3" align=center />
4646

4747
* 用户可以自己根据 ULP 指令集写汇编程序用于 deep sleep 时, ULP 协处理器执行, 流程如下:
4848
* 芯片 boot 后从 RTC_SLOW_MEMORY 读取 deep sleep 时 ULP 协处理采集的数据, 上传数据
@@ -59,7 +59,7 @@
5959
## 用户交互场景, 使用 touchpad 触摸(gpio 按键)唤醒(例如控制面板)
6060
* 此场景一般用于一些用户交互设备如控制面板等. 当用户长时间没有操作面板(例如触摸 touchpad, 按 gpio 按键)时, 可使 ESP32 进入 deep sleep 模式, 并设置 touchpad(gpio)唤醒. 支持 touchpad 唤醒的 deep sleep 模式下, 芯片的电流大约为 30uA .
6161
* 逻辑流程图:
62-
62+
<br>
6363
<img src="../_static/low_power/touchpad_deepsleep_process.png" width = "400" alt="touchpad_deepsleep_process" align=center />
6464

6565
* 程序流程:

documents/low_power_solution/esp32_lowpower_en.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
## Timed data acquisition and reporting (e.g., instrument status monitors)
1919
* In this scenario, ESP32 is used to periodically collect sensor data and upload them. Timers can be used as the wake-up source in this case. To be more specific, ESP32 will collect and upload sensor data, set timers as the wake-up source, enter Deep-sleep mode, and collect and upload sensor data again when coming out of deep sleep...
2020
* Logical flow diagram:
21-
22-
<img src="../_static/low_power/low_power_flow_chart1.jpg" width = "500" alt="low_power_flow_chart1" align=center />
21+
<br>
22+
<img src="../_static/low_power/low_power_flow_chart1.png" width = "500" alt="low_power_flow_chart1" align=center />
2323

2424
* Logical flow:
2525
1. ESP32 collects and uploads sensor data after booting;
@@ -31,8 +31,8 @@
3131
* when no exception is reported, ESP32 will stay in Deep-sleep mode;
3232
* only when the sensor collects abnormal data and the specified GPIO(s) is set to the specified electrical level(s), ESP32 will wake up from the Deep-sleep mode, and trigger an alarm or upload data.
3333
* Logical flow chart:
34-
35-
<img src="../_static/low_power/low_power_flow_chart2.jpg" width = "500" alt="low_power_flow_chart2" align=center />
34+
<br>
35+
<img src="../_static/low_power/low_power_flow_chart2.png" width = "500" alt="low_power_flow_chart2" align=center />
3636

3737
* Logical flow:
3838
1. ESP32 will read the abnormal data collected by the sensors, and trigger an alarm or upload data accordingly;
@@ -44,8 +44,8 @@
4444
## Data acquisition or abnormal detection (GPIO trigger is not supported and frequent data uploading is not needed)
4545
* In this scenario, the data acquisition or anomaly detection will be initiated by the CPU or the on-chip peripherals, instead of the sensor, because GPIO trigger is not supported by the sensor in this case. The ULP co-processor, integrated in ESP32, can perform some simple data acquisition, and wake ESP32 up for further processing if specific conditions are met. The data collected during this process can be stored in the RTC slow memory for future reading when ESP32 is awake.
4646
* Logical flow diagram:
47-
48-
<img src="../_static/low_power/low_power_flow_chart3.jpg" width = "500" alt="low_power_flow_chart3" align=center />
47+
<br>
48+
<img src="../_static/low_power/low_power_flow_chart3.png" width = "500" alt="low_power_flow_chart3" align=center />
4949

5050
* Users can write tailored assembly codes that will be executed by the ULP co-processor during ESP32's deep sleep, according to the instruction set for ULP co-processor. The process is as follows:
5151
1. ESP32 will read the data collected by the ULP co-processor during deep sleep from the RTC slow memory after booting, and upload these data;
@@ -64,7 +64,7 @@
6464
## User interaction scenario supported by touchpad trigger and GPIO trigger (e.g., control panels)
6565
* In this scenario, ESP32 is mostly used for some user interaction devices, such as control panels. When there is no user operations (such as Touchpad trigger/ GPIO trigger) for a long time, ESP32 will enter Deep-sleep mode and enable the touchpad/GPIO as the wake-up source. In Deep-sleep mode, the average current consumption of the chip is about 30 uA, with the touchpad enabled as the wake-up source.
6666
* Logical flow diagram:
67-
67+
<br>
6868
<img src="../_static/low_power/touchpad_deepsleep_process.png" width = "400" alt="touchpad_deepsleep_process" align=center />
6969

7070
* Logical flow:

0 commit comments

Comments
 (0)