Skip to content

Commit e9d1894

Browse files
author
P432陳啟章
committed
modify post
1 parent ae88b54 commit e9d1894

6 files changed

Lines changed: 36 additions & 9 deletions
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: "[ESP32] 安信可 ESP32-CAM 鏡頭實作錄影和回放"
3+
tags:
4+
- ESP32
5+
- IOT
6+
- Servo
7+
---
8+
目的是有一個家用攝影機,隨時錄製,且可移動鏡頭,並在需要時回放觀看。
9+
已有完整的專案<https://github.com/s60sc/ESP32-CAM_MJPEG2SD>,這篇記錄筆者一步步摸索踩坑的過程。
10+
<!--more-->
11+
12+
# ESP32-CAM_MJPEG2SD
13+
14+
下載整個專案
15+
16+
修改 appGlobals.h,保留 #define CAMERA_MODEL_AI_THINKER,註解掉 #define CAMERA_MODEL_ESP32_S3_CAM
17+
18+
# 遠端遙控
19+
20+
3D 列印 Pan-Tilt 支架<https://www.thingiverse.com/thing:2467743>

source/_posts/2022-04-24-3d-print-works.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
layout: article
3-
title: '[3D列印] 作品集'
3+
title: '[3D 列印] 作品集'
44
date: 2022-04-24 13:56
55
permalink: /3d-print-works/
66
tags:
7-
- 3D列印
7+
- 3D 列印
88
- 作品集
99
---
10-
使用創想Ender-3 S1 3D列印機作為3D列印的入門,支援雙Z軸、近端送料、自動調平、打印平台加熱。
10+
使用創想 Ender-3 S1 3D 列印機作為 3D 列印的入門,支援雙Z軸、近端送料、自動調平、打印平台加熱。
1111
<!--more-->
1212
![](/assets/ender3S1.png)
1313

source/_posts/2024-03-11-backend-base.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ Volume 是 Docker 最推薦存放 persisting data( 數據 )的機制,因
6666
- 8Mbps = 1MB/s
6767

6868
例如無線路由器的規格通常會寫 802.11n:最高 300 Mbps,表示每秒傳輸 37.5MB。
69+
而中華電信寬頻上網 500M,也是 Mbps,表示每秒最大傳輸 62.5MB。
6970
參考 <https://3day.tw/什麼是mbps什麼是mb-s/>
7071

7172
# Virtual DMZ (虛擬非軍事區)
@@ -76,6 +77,10 @@ Volume 是 Docker 最推薦存放 persisting data( 數據 )的機制,因
7677

7778
便是常講的 domain。
7879

80+
# mDNS
81+
82+
是一種無需傳統 DNS 伺服器,即可在區域網路(LAN)內進行主機名稱解析和服務發現的網路協定。使用「.local」結尾的網域名稱。
83+
7984
# DoH (DNS over HTTPS)
8085

8186
是 DoT 的替代方案。使用 DoH 時,DNS 查詢和回應會加密,但它們是透過 HTTP 或 HTTP/2 通訊協定傳送,而不是直接透過 UDP 傳送。確保攻擊者無法偽造或更改 DNS 流量。從網路管理員的角度來看,DoH 流量表現為與其他 HTTPS 流量一樣,如普通使用者與網站和 Web 應用程式進行的互動。

source/_posts/2024-05-24-esp32-camera-impl.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "[ESP32] 安信可ESP32-CAM鏡頭實作"
2+
title: "[ESP32] 安信可 ESP32-CAM 鏡頭實作"
33
date: 2024-05-24 09:06:05
44
tags:
55
- ESP32
@@ -54,7 +54,7 @@ idf.py menuconfig
5454
chcp 437
5555
```
5656

57-
Camera Web Server ---> Camera Pins ---> Select Camera Pinout ---> 選擇 ESP32-CAM by AI-Thinker
57+
Camera Web Server ---> Camera Pins ---> Select Camera Pinout ---> 選擇ESP32-CAM by AI-Thinker
5858
![](/assets/idf_fix.png)
5959

6060
![](/assets/idf_2.png)
@@ -192,7 +192,7 @@ esptool.py failed with exit code 2
192192
![](/assets/bootloader_bin.png)
193193

194194
調整log層級即可,先重新執行idf.py menuconfig
195-
Bootloader config ---> Bootloader log verbosity ---> 選擇 Error
195+
Bootloader config ---> Bootloader log verbosity ---> 選擇Error
196196
![](/assets/idf_5.png)
197197

198198
重新編譯後,bootloader.bin大小剩下25,488
@@ -218,7 +218,7 @@ Brownout detector was triggered
218218
```
219219
表示供電不足,參考 [解決ESP32 CAM Brownout detector 問題](https://www.nmking.io/index.php/2022/12/15/713/),所以如果中間有接USB延長線的先拿掉。
220220
另外我的解法是調整Flash SPI speed,先重新執行idf.py menuconfig
221-
Serial flasher config ---> Flash SPI speed ---> 選擇 40 MHz
221+
Serial flasher config ---> Flash SPI speed ---> 選擇40 MHz
222222
![](/assets/idf_6.png)
223223

224224
重新編譯和燒錄後,再次執行idf.py monitor

source/_posts/2024-10-09-low-cost-host2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ config uhttpd 'welcome'
7070

7171
# 防火牆對外
7272

73-
還需要開啟防火牆才能對外,Network > Firewall > Traffic Rules
73+
還需要開啟防火牆才能對外,Network」>「Firewall」>「Traffic Rules
7474

7575
![](/assets/openwrt_firewall.png)
7676

source/_posts/2026-01-27-rasppi-iot-impl.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
2-
title: "[Raspberry Pi] 從遙控電燈開關開始 IOT 冒險"
2+
title: "[Raspberry Pi] 從遙控電燈開關開始 IOT 冒險 - 整合 Home Assistant"
33
tags:
44
- Raspberry Pi
55
- IOT
66
- Home Assistant
77
- 3D 列印
8+
- Servo
89
date: 2026-01-27 21:47:44
910
---
1011
先從小專案開始,慢慢加大規模。
@@ -102,6 +103,7 @@ rest_command:
102103
url: "http://192.168.1.107/"
103104
method: GET
104105
```
106+
注意:記得先去路由器固定 ip,否則下次重新連線,會因為 ip 改變,而找不到。
105107

106108
至「開發工具」重新載入 YAML 設定後,就可以在「動作」搜尋到建立好的 light_switch,可按下「執行動作」確認服務正常。
107109
![](/assets/ha_action.png)

0 commit comments

Comments
 (0)