MCU Capstone Projects

MCU 專題實作: 溫溼度物聯網裝置, 藍牙3D滑鼠, 藍牙遙控自走車, 兩輪自平衡小車, 迷你四軸無人機, ROS2遙控機器人


溫溼度物聯網裝置

io.adafruit.com

註冊帳號以取得金鑰

Examples> ESP32 > ESP32_adafruitio_DHT11

範例程式中修改AIO_Name(帳號名稱) 及 AIO_KEY(金鑰)

ESP32燒錄程式後,連線WiFi, ESP32會讀取DHT11溫濕度, 上傳至你的io.adafruit.com帳號中

ESP32_adafruitio_DHT11.ino


藍牙3D滑鼠

Arduino Library> ESP32 BLE mouse

ESP32 BLE Mouse Library


Examples> ESP32 BLE mouse> MouseButton


Sketch>ESP32_BLEmouse_MPU6050.ino

ESP32燒錄程式後,連線具有藍牙之個人電腦, ESP32+MPU6050即可成為3D滑鼠

ESP32_BLEmouse_MPU6050.ino


藍牙遙控自走車

藍牙遙控App

http://ai2.appinventor.mit.edu/
手機App開發平台使用介紹

App程式範例: BT2RC.aia


RoboCar程式範例

ESP32_RoboCar_TB6612_MPU6050_SR04_BLE


兩輪自平衡小車

Examples> Robot > TwoWheelSelfBalance

TwoWheelSelfBalance.ino


迷你四軸無人機

ESP32Copter

ESP32Copter程式範例


ROS2遙控機器人

ROS2介紹與安裝
microROS介紹與安裝

ROS2遠程遙控器

如何使用esp32從零製作一個ROS2的teleop遙控器

Sketch> ESP32 > ESP32_ADC_Joystick

ESP32_ADC_Joystick.ino

ESP32_ROS2_Teleop.ino


ROS2 Turtlesim

On Ubuntu22.04, run ROS2 (humble)

  • ROS2 turtlesim
    source_ros2
    ros2 run turtlesim turtlesim_node
    
  • ROS2 node & topic
    source_ros2
    ros2 node list
    ros2 node info /turtlesim
    ros2 topic echo /turtle1/cmd_vel
    
  • ROS2 teleop_key
    source_ros2
    ros2 run turtlesim turtle_teleop_key
    

ROS2遙控機器人

ROS2_ESP32Bot



This site was last updated June 01, 2023.