Skip to content

Control motors & stream video of a mini Blimp/Zepplin (ESP32CAM / XIAO ESP32S3 Sense

Notifications You must be signed in to change notification settings

FedericoBusero/ESP32-CAM_ZeppelinCAM

Repository files navigation

ESP32-CAM_ZeppelinCAM

ESP32CAM: Control motors and servo and send a video stream from a mini Blimp/Zeppelin to your browser using ESP32CAM or XIAO ESP32S3 Sense. The motors are controlled by one slider and one joystick.

zeppelincam_makerfair_gent.jpg

Browser User interface

Blimp_Zeppelin_cam_xiao_esp32s3_joystick.jpg

  • Check box: switch on camera (default off, so that zeppelin can still be controlled in case of low battery)
  • camera view
  • slider: control up motor
  • Joystick: controls
    • left/right: servo and/or h-bridge
    • up: forward motor. Note that only the upper part is used, the zeppelin can only move forward (not backward)

Communication

  • WifiPoint / SoftAP
  • SSID = BlimpCam- + 4 last hexadecimal values of the Wifi-MAC address of the ESP32 chip
  • Wifi-password: 12345678
  • App: browser (Chrome, Firefox, safari, ...)
  • URL : http://192.168.4.1 of http://z.be

Hardware

It has been developed and tested on following platforms, but it is easy to adapt for other chips:

  • AI-Thinker ESP32CAM
  • XIAO ESP32S3 Sense

Motors

  • 1 motor to go up (1-directional)
  • 1 motor to go forward (1-directional)
  • To turn you can choose between
    • a motor using h-bridge (2-directional) and/or
    • a servo

Shopping list used in ESP32-S3 setup:

The parts for ESP32CAM are similar, but note that powering the ESP32CAM is more difficult.

Pin allocation ESP32CAM and others

Pin name GPIO
fwdPin 2 Motor forward
upPin 15 Motor up
hbridgePinA & hbridgePinB 13 & 14 H-bridge for left/right steering motor
turnPin 12 Left/right steering servo

In case you want to test on an ESP32 chip without camera, remove the definition of USE_CAMERA

Pin allocation XIAO ESP32S3 Sense

Here you can see the wiring, the components are not identical but the concept should be clear. zeppelincam_fritzing_xiao_s3_.jpg

Pin name Pin
fwdPin D0 Motor forward
upPin D1 Motor up
hbridgePinA & hbridgePinB D4 & D5 H-bridge for left/right steering motor
turnPin D10 Left/right steering servo

Compilation in Arduino IDE, libraries & versions

  • ESP32 Arduino board version 2.0.8 or later
  • Select PSRAM: OPI PSRAM
  • Install following libraries in the Arduino IDE Library manager
    • AsyncTCP: version 1.1.4 by dvarrel
    • ArduinoWebsockets version 0.5.3 by Gil Maimon
    • ESPAsyncWebSrv, version 1.2.6 by dvarrel

Inspiration

This project has been created in collaboration with MasynMachien who has lots of experience in building light weight blimps/zeppelins.

More info: https://www.instructables.com/member/masynmachien/

About

Control motors & stream video of a mini Blimp/Zepplin (ESP32CAM / XIAO ESP32S3 Sense

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published