
ITU Science Park, ARI4 Building
No: B204 Maslak 34469
Istanbul Turkey
+90 212 807 04 56
info@acrome.net
+90 212 807 04 56
info@acrome.net
ESP32 is a low-cost, high-performance microcontroller with Wi-Fi and Bluetooth capabilities.
This study covers the design and implementation of a multifunctional mobile robot system, remotely controllable over a Wi-Fi network using an ESP32 microcontroller.
The system consists of a mobile robot platform, a linear actuator, a servo motor, and an ESP32-CAM module.
All components can be controlled both via a web-based user interface and keyboard shortcuts.
Thanks to its user-friendly interface, precise positioning capabilities, and real-time video streaming, this project serves as a functional example for academic research, industrial automation applications, and autonomous robot systems.
The main components used in this project and their descriptions are as follows:
The setup of the mobile robot system consists of two main stages:
1. Download and install Arduino IDE.
2. Add the ESP32 board manager URLs in the "Additional Board Manager URLs" section.
3. Include the Acrome-SMD library into the Arduino IDE.
4. Select the ESP32 board model and the correct port.
5. Set the serial monitor baud rate appropriately (115200 baud).
ESP32-CAM is a development board produced by Espressif Systems, featuring Wi-Fi and Bluetooth capabilities.
It integrates an ESP32-S microcontroller and an OV2640 camera module, making it suitable for wireless image processing, smart security systems, IoT projects, and video transmission applications.
Since the ESP32-CAM lacks a built-in USB-TTL converter, it needs to be programmed using an FTDI adapter or an ESP32 development board.
This way, ESP32 can be used instead of a USB-TTL converter to program ESP32-CAM.
The system consists of a linear actuator with a 10.16 cm (4-inch) stroke length, Acrome-SMD motor driver, Arduino Gateway module, and basic connection elements.
To control the movement and positioning of the linear actuator, an analog voltage measurement mechanism is used.
ESP32 continuously reads data from the analog port using the getAnalogPort() function to determine the motor's position.
These values are normalized between the minimum (adcMin) and maximum (adcMax) obtained during calibration and converted to centimeters (cm).
The calibration process involves moving the actuator fully forward and backward to record the extreme ADC values.
Thus, the system can accurately measure the motor's position and control the movement until the target position is reached.
Through the web interface, users can move the motor forward or backward, change the speed, or enter a specific target position in centimeters.
This setup enables precise position control, essential for industrial automation and robotics applications, wirelessly and user-friendly.
In this system, the servo motor is configured as a mini motor capable of angle control between 0° and 180°.
The Servo Add-on Module of the Acrome-SMD motor driver is used, and the motor is controlled via an optimized I2C protocol.
Users can directly input an angle value (0-180°) through the web interface.
ESP32 calls the setServo(ServoID, angle) function, sending a signal that adjusts the servo motor shaft to the desired angle.
The complete software developed for this multifunctional mobile robot system controllable via Wi-Fi is provided.
It consists of a mobile robot platform, linear actuator, servo motor, and ESP32-CAM module.
All components can be controlled through a web-based user interface and keyboard shortcuts.
You can update the IP address, SSID, and password in the code according to your network.
(Click here to access the code.)
The ESP32-CAM module broadcasts real-time video over Wi-Fi.
Users can see the robot and navigate it accordingly by accessing the IP address.
You should also update the SSID and password in the code.
The developed system successfully integrates hardware and software components.
This ESP32-based project combines wheeled robot motion, linear positioning, servo motor positioning, and live video streaming into a user-friendly, web-managed system.
It offers a flexible and scalable structure, particularly suitable for fields like agricultural robots, mobile exploration vehicles, and remote monitoring systems.
The system can serve as a reference for academic projects, graduation theses, and advanced IoT/robotic applications.
Video demonstration and application interface links:
Acrome was founded in 2013. Our name stands for ACcessible RObotics MEchatronics. Acrome is a worldwide provider of robotic experience with software & hardware for academia, research and industry.

ITU Science Park, ARI4 Building
No: B204 Maslak 34469
Istanbul Turkey
+90 212 807 04 56
info@acrome.net
+90 212 807 04 56
info@acrome.net