Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 2.1 KB

File metadata and controls

38 lines (26 loc) · 2.1 KB

ESP32 WiFi Servo L293D Motor Robot

image


What Does It Do?

This instrumentbot is controlled remotely via a webpage running on any portable devices with the same network as instrumentbot’s.

  • The project combines these topics:

    • Uploading a customized webpage, which has multiple buttons with different colors, to the server on the robot for controlling its movement
    • Controlling DC Motors with the L293D H-Bridge IC by outputting PWM with a specific duty cycle to its ENABLE pins and digital high or low value to its INPUT pins

The instrumentbot is curious about everything around it and wants to start its adventurous trip. However, it doesn’t know the correct direction to adventure and thus rely heavily on audience’s instructions to help it find out a suitable way to move.

  • The code works like this:

    • Displaying a webpage on a specific IP address (the server on the robot) which can be accessed by audience’s smartphone within the same SSID
    • The robot moves forward, backward, leftward or rightward according to the command received from the audience’s mobile browser
    • The robot turns around its eye ball which is controlled by two servo motors once it stops moving

ESP32 Pin Connection (ESP32 Diagram)

image

Theory of Motor Control