Esp 32 Based Floating Garbage Collector
by vijayrayudu11 in Circuits > Microcontrollers
89 Views, 1 Favorites, 0 Comments
Esp 32 Based Floating Garbage Collector
The esp 32 based floating garbage collector is designed to remove floating waste such as plastic and organic debris from water bodies. It operates using a conveyor mechanism driven by DC motors, collecting waste into a bin as it moves across the water. The system is controlled remotely using a smart phone by the operator without getting into water along the bank and the operator manages motor movement and obstacle avoidance.
Supplies
- esp 32 or any other micro controller with wifi feature
- dc gear motors 2
- motor driver module
- center shaft dc gear motor 2
- pvc pipes
- pvc sheets
- Groove Bearing Pulley Wheel
- sealed rechargeable battery
- adhesives
- conveyer belts
Construction of Base Frame and Chassis Along With the Collecting Tank
construct the base using pvc sheet and attach the sealed pvc pipes for the making of floating structure calculate the bouyancy forces and all based on size and capacity of the load u want to carry.
Installation of Belt With the Support of Grooved Wheels
for the waste collection we need a proper conveyer system so tension plays a crucial roles so using tough material such as wooden flank as side support on which conveyer is based and place that frame as shown in the figure
Coding to Be Done on Esp32
in arduino IDE after selecting esp32 stable version you can look in internet for current stable version
the complete code is provided in my github
https://github.com/vijayrayudu11/RIVER-CLEANING-MACHINE
Electronic Integration
now that our base floats and conveyer is ready and code is ready its time to install the moment of the device. and for it i have used esp32 you can use your choice. now after placing the propeller to side of the base frame we can make the connections as follows
ESP32 D14 (GPIO14) ─────→ L298N IN1
ESP32 D12 (GPIO12) ─────→ L298N IN2
ESP32 D13 (GPIO13) ─────→ L298N ENA
ESP32 D5 (GPIO5) ─────→ L298N IN3
ESP32 D4 (GPIO4) ─────→ L298N IN4
ESP32 D15 (GPIO15) ─────→ L298N ENB
Motor A:
OUT1 ─────→ Left Motor Wire 1
OUT2 ─────→ Left Motor Wire 2
Motor B:
OUT3 ─────→ Right Motor Wire 1
OUT4 ─────→ Right Motor Wire 2
Power:
Battery +ve ─────→ L298N 12V
Battery -ve ─────→ L298N GND
ESP32 GND ──────→ L298N GND
in case if your facing direction wrong try changing terminals that will fix it for motors.
Control of Garbage Collector
now after keeping it in the water body the conveyer works autonomously and continously with a constant rpm where as for moment we need to connect to the wifi of esp32 and open the ip address in ur browser and control it using the website.
here i have named wifi as "boatcontroller"
and password as "12345678"
where as the ip address as "192.168.4.1"
you can modify and try if that doesnt work for you
for any queries reach out the pdf i attached