CV2X Lab 2
ESP32-S3
介紹
ESP32-S3 是樂鑫科技(Espressif Systems)推出的一款高性能、低功耗的 MCU(微控制器單晶片),專為 AIoT(人工智慧物聯網)應用設計。
主要特點:
-
強大的處理能力:搭載 Xtensa® 32 位元 LX7 雙核心處理器,主頻高達 240 MHz,內建 512 KB SRAM(TCM)。
-
無線連接:支援 2.4 GHz Wi-Fi(802.11 b/g/n)和 Bluetooth 5(LE),並支援 Bluetooth Mesh,可透過 Coded PHY 與廣播擴展實現遠距離通信。
-
AI 加速:新增向量指令集,可加速神經網路計算和訊號處理,透過 ESP-DSP 和 ESP-NN 庫,實現高效能的圖像識別、語音喚醒和識別等應用。
-
豐富的外設接口:提供 45 個可編程 GPIO,支援 SPI、I2S、I2C、PWM、UART、SD/MMC 主機控制器和 TWAI™ 控制器等常用外設接口。
-
安全機制:支援基於 AES-XTS 演算法的 Flash 加密、基於 RSA 演算法的安全啟動、數位簽章和 HMAC,提供完善的安全保護措施。
應用場景:
憑藉強大的處理能力和豐富的外設接口,ESP32-S3 適用於多種 AIoT 應用場景,如:
- 智慧家居設備
- 可穿戴設備
- 工業自動化
- 健康監測
- 語音識別和圖像處理應用
開發者可以使用樂鑫提供的 ESP-IDF(Espressif IoT Development Framework)開發框架,快速上手 ESP32-S3 的開發。
Implement Wi-Fi scan
- Download Arduino IDE
https://www.arduino.cc/en/software
- Download ESP32 library
- ESP32-S3 connect to PC
- Board: choose "ESP32S3 Dev Module"
- Port: choose "COM3" or depend on your system
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
- Write the Wi-Fi scan code
- Verify
- Upload
- Check on Serial Monitor
Install raspberry pi on turtle bot
-
Raspi imager
-
Flash ubuntu to SD card
- Raspberry Pi Device: Raspberry Pi 4
- System: Ubuntu Server 22.04.5 LTS (64-bit)
Remember to set the WiFi (國碼: US)
-
Setup source
- add the ROS 2 GPG key with apt.
- Then add the repository to your sources list.
-
Install ros2 package
- Check ros2 was installed (optional)
- Install Turtlebot3 package
- USB Port Settings for OpenCR
- Setting TurtleBot3 ID
- Setting OpenCR
- Setting Lidar
- Make sure you can use keyboard to control the TurtleBot
ROS2 on virtualbox
virtualbox: http://gofile.me/6Ukc0/Z4kJamAOB
SLAM
Homework
- Use TurtleBot SLAM to scan the space map.
- Combined ESP32 and TurtleBot. Make TurtleBot drive a trajectory and collect WiFi information (RSSI) in the space along the way. The information must have a trajectory and its corresponding RSSI.
Scoring Criteria
-
Presentation:
- 地圖完整度
- 如何記錄WiFi訊號
- 如何記錄trajectory
-
收資料:
- trajectory多樣性
- trajectory覆蓋地圖程度
Trouble shoot
raspberry can't neworking
確認是否正確