ESP32 boat controlled by Wifi

ESP32 23-01-25
6 0

Tutorial plan

1- Objective of building ESP32 robot boat

2- Required Components

3- Component Wiring

4- Micropython program for ESP32

 

Objective of building ESP32 robot boat

The objective of building an ESP32 robot boat controlled by Wi-Fi using a water pump, relay module, and servo motor is to develop a versatile, remotely controlled aquatic vehicle capable of performing a variety of tasks.

A. Initialization

  1. Power-Up:
    • The ESP32 is powered on and initializes its components, including the Wi-Fi module, relay module, and servo motor.
    • If a web server or app is used, the ESP32 either:
      • Creates its own Wi-Fi hotspot for direct control.
      • Connects to an existing Wi-Fi network.

 

 

  • ESP32 Microcontroller:
    • Acts as the central brain of the boat.
    • Manages all peripherals, including the water pump, relay module, and servo motor.
    • Hosts or connects to a Wi-Fi network, allowing control via a smartphone or computer.
  • Water Pump:
    • Provides propulsion by expelling water through a nozzle.
    • Responsible for moving the boat forward or backward by changing the pump's orientation or water flow direction.
  • Relay Module:
    • Controls the water pump by switching it on or off as per commands from the ESP32.
    • Acts as an intermediary between the ESP32 and the high-current motor of the water pump.
  • Servo Motor:
    • Controls the steering by adjusting the rudder or the direction of the water pump nozzle.
    • Operates based on angle values sent by the ESP32, enabling precise directional control.
  • Power Supply:
    • Provides adequate power for the ESP32, water pump, servo motor, and relay module.
    • Typically uses a battery pack with appropriate voltage (e.g., 7.4V or 12V, depending on the components).

 

0 comment

Leave a comment

Veuillez noter s'il vous plaît*

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Purpose of this website

Educational robotics refers to the use of robots and robotics technology to promote learning in educational settings. It involves the integration of technology, engineering, and computer science into the classroom, allowing students to engage in hands-on, project-based learning experiences.
In this context, our website represents an excellent resource for parents, teachers and children who wish to discover robotics.

Contact details

Zaouiet Kontech-Jemmel-Monastir-Tunisia

+216 92 886 231

medaliprof@gmail.com

Pictures of the articles

Robotic site created by MedAli-Teacher info