Skip to content

This is a prototype payload release system that I built using esp32 and sg90 servo to control servo wirelessly using wifi.

Notifications You must be signed in to change notification settings

PrajeetBohara/Payload-Release-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Payload-Release-System

This is a prototype payload release system that I built using esp32 and sg90 servo to control servo wirelessly using wifi.

[[(ONLY FOR LoRa V3 Users:

  • Use board = Heltec Wifi LoRa 32 (v3) in Arduino IDE
  • Install COM driver for serial connection with LoRa
  • USB Driver = SiLabs CP2104 Driver (https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads) download either universal windows driver or windows driver whatever works for you
  • Library= Esp32servo by kevin Harrington
  • Baudrate = 115200
  • Here is the pinout for the Heltec LoRa V3 Module for reference]] LoRA v3 pin layout

For regular Esp32 Users:

Servo Types:

You can use any kind of servos as per your need. I tested with these two servos, sg90 and MG996R 20240907_005543486_iOS

Hook:

I made this custom hook and attached a velcro. The other side of velcro can to attached to the drone or other parts. If the payload is heavy and you are using the big servo, the velcro can be replaced with hooks depends on your need. 20240907_005604495_iOS

Esp32:

Make sure to install esp32 servo library and use it while working with the esp32 wifi and servos.

Working Mechanism:

The servo motor in this project is controlled wirelessly using an ESP32 microcontroller connected to a Wi-Fi network. The ESP32 hosts a web server that serves a web page with a slider interface to the user. When the user accesses this web page through a browser on any device connected to the same Wi-Fi network, they can move the slider to set the servo motor's position. This change in slider value triggers a JavaScript function that sends an HTTP request to the ESP32, passing the new servo position as a parameter. The ESP32 receives this request and processes it in the handleSetServo() function, which reads the position value, validates it, and then adjusts the servo motor accordingly using the myservo.write(position) command. By hosting the web interface, the ESP32 allows for remote control of the servo motor wirelessly, enabling the user to interact with the hardware from any device with network access.

The demonstration of this mechanism can be found in this youtube video:

https://www.youtube.com/watch?v=IRz7QAWulaU

About

This is a prototype payload release system that I built using esp32 and sg90 servo to control servo wirelessly using wifi.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages