🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5StickC Joystick+ESP32 robot+Protocol Buffers (nanopb)+3dprint

    PROJECTS
    1
    1
    3.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hpsaturnH
      hpsaturn
      last edited by

      AIRobot

      ESP32 robot platform, the idea is join it with a MaxiPy RISC-V camera. For now the current development works with a M5StickC Joystick hat that controlling the robot via UDP using protobuf (nanopb). In the robot it use a simple ESP32 board.

      GitHub

      TODO

      • Platformio project (two sources)
      • UDP channel settings in preferences lib
      • nanopb (protocol buffers implementation) for joystick messages
      • separated OTA (joystick and robot)
      • MQTT channel ?
      • SPI connection to MaxiPy nano camera
      • Push AI models via proto
      • Auto navegation
      • Seek and destroy objects

      Firmware

      You can build it with Arduino IDE renaming the main files to .ino, but it is more easy if you use PlatformIO, with a simple command you upload both, Joystick and Robot.

      pio run --target upload
      

      Please check the right USB ports on platformio.ini file.

      After the first upload, you could comment the robot and joystick blocks in platformio.ini and uncomment the OTA blocks for upload via WiFi without USB.

      Usage

      Turn on the robot, then the joystick, when the joystick detect the robot, push the M5 button for some seconds for pair. For turn off the joystick press again the M5 button.

      DIY Robot demo

      For the instructions and more details here.

      Youtube demo

      1 Reply Last reply Reply Quote 0
      • First post
        Last post