Search this site
Embedded Files
亞魯的實體教室
  • MicroPython on the ESP32 with Wokwi Simulator
  • MicroPython on the ESP32
    • ESP32 exercise
  • Project
    • AIoT traffic safety system
    • Computer Vision
  • 演算法
    • 排序
  • App inventor
    • AI2前置作業
    • 個人名片Resume APP
    • 以google sheet為查詢資料庫
    • 最大、最小值、平均值及AI Chatbot
    • 上傳ThingSpeak及line notify
  • AI人工智慧
    • M5stack UnitV2視覺辨識
    • SU-03T語音辨識
    • 用AI加速學習
    • wake word喚醒詞
  • ESP32-IoT
    • MQTT publish
    • MQTT subscribe
    • MQTT subscribe by Cyberpi
    • Google sheet
    • ThingSpeak
    • Line Notify
    • IFTTT
    • Mesh LAN (halocode with Cyberpi)
  • ESP32-BunHMI
    • BunHMI前置作業
    • Label
  • ESP32-CAM with Thonny
    • ESP32 CAM前置作業
    • 內建閃光燈
  • ESP32 with Thonny
    • ESP32前置作業
    • LED按鈕
    • I2C LCD
    • DHT11
    • Relay
    • I2C LCD顯示DHT11
    • PIR與ISD1820錄放音模組
    • Ultrasonic
    • LDR
    • PIR
    • Vibration
    • Ultra sonic、Servo、Led and Relay
    • 連線mqtt與google sheet進行pir、servo與buzzer控制
    • Automatic watering by soil moisture
  • ESP32-BlocklyDuino
    • LED I
    • LED II
    • Photoresistor
    • OTTO GO
  • ESP32-M5STACK
    • LINE Notify by ultrasonic
    • LINE Notify by RFID
    • watering and MQTT
    • RFID and MQTT
    • Firebase by ENVIII
    • Inventory Management by AI2、 google sheet and MQTT
    • Blynk by ENVIII
  • Python
    • projects
    • LeetCode
    • Course
  • Scratch
    • Scratch exercise
  • 關於
  • 自主學習|Self-directed Learning
  • 學生作品| student's project
    • apcs
亞魯的實體教室
  • MicroPython on the ESP32 with Wokwi Simulator
  • MicroPython on the ESP32
    • ESP32 exercise
  • Project
    • AIoT traffic safety system
    • Computer Vision
  • 演算法
    • 排序
  • App inventor
    • AI2前置作業
    • 個人名片Resume APP
    • 以google sheet為查詢資料庫
    • 最大、最小值、平均值及AI Chatbot
    • 上傳ThingSpeak及line notify
  • AI人工智慧
    • M5stack UnitV2視覺辨識
    • SU-03T語音辨識
    • 用AI加速學習
    • wake word喚醒詞
  • ESP32-IoT
    • MQTT publish
    • MQTT subscribe
    • MQTT subscribe by Cyberpi
    • Google sheet
    • ThingSpeak
    • Line Notify
    • IFTTT
    • Mesh LAN (halocode with Cyberpi)
  • ESP32-BunHMI
    • BunHMI前置作業
    • Label
  • ESP32-CAM with Thonny
    • ESP32 CAM前置作業
    • 內建閃光燈
  • ESP32 with Thonny
    • ESP32前置作業
    • LED按鈕
    • I2C LCD
    • DHT11
    • Relay
    • I2C LCD顯示DHT11
    • PIR與ISD1820錄放音模組
    • Ultrasonic
    • LDR
    • PIR
    • Vibration
    • Ultra sonic、Servo、Led and Relay
    • 連線mqtt與google sheet進行pir、servo與buzzer控制
    • Automatic watering by soil moisture
  • ESP32-BlocklyDuino
    • LED I
    • LED II
    • Photoresistor
    • OTTO GO
  • ESP32-M5STACK
    • LINE Notify by ultrasonic
    • LINE Notify by RFID
    • watering and MQTT
    • RFID and MQTT
    • Firebase by ENVIII
    • Inventory Management by AI2、 google sheet and MQTT
    • Blynk by ENVIII
  • Python
    • projects
    • LeetCode
    • Course
  • Scratch
    • Scratch exercise
  • 關於
  • 自主學習|Self-directed Learning
  • 學生作品| student's project
    • apcs
  • More
    • MicroPython on the ESP32 with Wokwi Simulator
    • MicroPython on the ESP32
      • ESP32 exercise
    • Project
      • AIoT traffic safety system
      • Computer Vision
    • 演算法
      • 排序
    • App inventor
      • AI2前置作業
      • 個人名片Resume APP
      • 以google sheet為查詢資料庫
      • 最大、最小值、平均值及AI Chatbot
      • 上傳ThingSpeak及line notify
    • AI人工智慧
      • M5stack UnitV2視覺辨識
      • SU-03T語音辨識
      • 用AI加速學習
      • wake word喚醒詞
    • ESP32-IoT
      • MQTT publish
      • MQTT subscribe
      • MQTT subscribe by Cyberpi
      • Google sheet
      • ThingSpeak
      • Line Notify
      • IFTTT
      • Mesh LAN (halocode with Cyberpi)
    • ESP32-BunHMI
      • BunHMI前置作業
      • Label
    • ESP32-CAM with Thonny
      • ESP32 CAM前置作業
      • 內建閃光燈
    • ESP32 with Thonny
      • ESP32前置作業
      • LED按鈕
      • I2C LCD
      • DHT11
      • Relay
      • I2C LCD顯示DHT11
      • PIR與ISD1820錄放音模組
      • Ultrasonic
      • LDR
      • PIR
      • Vibration
      • Ultra sonic、Servo、Led and Relay
      • 連線mqtt與google sheet進行pir、servo與buzzer控制
      • Automatic watering by soil moisture
    • ESP32-BlocklyDuino
      • LED I
      • LED II
      • Photoresistor
      • OTTO GO
    • ESP32-M5STACK
      • LINE Notify by ultrasonic
      • LINE Notify by RFID
      • watering and MQTT
      • RFID and MQTT
      • Firebase by ENVIII
      • Inventory Management by AI2、 google sheet and MQTT
      • Blynk by ENVIII
    • Python
      • projects
      • LeetCode
      • Course
    • Scratch
      • Scratch exercise
    • 關於
    • 自主學習|Self-directed Learning
    • 學生作品| student's project
      • apcs

M5stack UnitV2視覺辨識

  • 本地端連線網址資料:http://10.254.239.1/

  • 安裝driver :UnitV2 recognition service

    • 下載完至裝置管理員找10M帶問號裝置,然後以官網驅動或本站雲端更新驅動程式。

  • 參考資料

    • cyberpi communication 模块

    • 慧编程-Python 编辑器

    • M5UnitV2の検出結果をAmbientに送信するメモ

    • TinyML: Face Mask Detector using Wio Terminal and UnitV2 (純參考,本次沒有用到)

功能說明

UART串接

  • 本次嘗試與Cyberpi進行UART串接, 預設UART1給mbuild用,cyberpi只能使用UART2。

  • unitv2 接到電腦之後就可以連線http://10.254.239.1/,右上選單可以接換預設函式,本次是使用object recongnition,辨識的資料可以直接經由uart介面傳輸。

  • 測試時可以先到右上選單,把unitv2 切換到jupyter notebook mode,再使用grove code去測試。

  • 依照UNITV2背板說明以grove接頭去對接Rx, Tx:

    • 黑:GND

    • 紅:5V(可不接,不然會帶電給cyberpi,容易過熱。

    • 白:GND下方(TX)

    • 黃:5V下方(RX)

  • mblock需要在設備端新增擴充communication,但因為預設功能不好實作,變數無法出現對接後的資料。於是在設定完積木之後,將python程式複製到python編輯器手動加入python code。

yolo物件辨識

UART接線:grove公轉杜邦母+杜邦公

mblock code:

Python CODE:

將unitv2物件偵測的資料傳到cyberpi

設定偵測到person時,顯示People there

注意事項:

  • 使用傳輸擴充時,uart接收到的資料無法顯示在mblock的積木變數中,在python code中測試是否有接收到會比較準確。

  • 記得要拔掉cyberpi的擴充板,才能使用uart串接。

  • unitv2可以經由uart介面供電給cyberpi,但容易過熱。

Google Sites
Report abuse
Page details
Page updated
Google Sites
Report abuse