1. Introduction
The LAFVIN 2WD Smart Robot Car Chassis Kit is designed for DIY electronic projects, offering an engaging platform for learning about robotics, programming, and automation. It features an ESP8266 D1 WiFi R3 controller, an L9110S motor driver, and an ultrasonic ranging module. This kit allows users to control the robot car via a mobile application (Android only) over WiFi, enabling movements such as forward, backward, left, and right. Additionally, the ultrasonic module provides obstacle avoidance capabilities, enhancing the robot's autonomous functions.
This manual provides comprehensive instructions for assembly, programming, operation, and maintenance to help you get started quickly and explore the full potential of your smart robot car.
2. Package Contents
Before you begin, please verify that all components listed below are included in your package. Note: 2x 18650 lithium batteries are NOT included and must be purchased separately.

- ESP8266 D1 WiFi R3 Controller Board
- L9110S Motor Driver Module
- Ultrasonic Ranging Module (HC-SR04)
- Robot Car Chassis (Bat-shaped acrylic plate)
- DC Gear Motors (2 units)
- Wheels (2 units)
- Caster Wheels (2 units)
- Battery Holder (for 2x 18650 batteries)
- Jumper Wires (various colors)
- Screws, Nuts, and Spacers (for assembly)
- Small Screwdriver
- USB Cable (for programming)
- Cable Ties
3. Assembly Instructions
Follow these steps carefully to assemble your LAFVIN 2WD Smart Robot Car. A detailed assembly video is also available for visual guidance.
- Prepare Chassis Parts: Carefully peel off the protective film from both sides of the acrylic chassis parts (main chassis and ultrasonic sensor mount).

Figure 3.1: Peeling Protective Film from Acrylic Parts - Mount Motors: Attach the two DC gear motors to the designated slots on the main chassis using the provided screws. Ensure they are securely fastened.
- Attach Caster Wheels: Mount the two caster wheels to the front and rear of the chassis. These provide stability and allow for smooth movement.
- Install Battery Holder: Secure the battery holder to the underside of the chassis using screws.
- Mount Ultrasonic Sensor: Attach the ultrasonic ranging module to its dedicated mount, then secure the mount to the front of the chassis.
- Mount Controller and Driver: Secure the ESP8266 D1 WiFi R3 board and the L9110S motor driver module to the chassis using appropriate spacers and screws.
- Wiring Connections: Connect the motors to the L9110S motor driver. Connect the L9110S driver and the ultrasonic sensor to the ESP8266 D1 board using jumper wires. Ensure all connections are firm and follow any provided circuit diagrams for correct pin assignments.
- Attach Wheels: Press the rubber wheels onto the motor shafts.
4. Programming the ESP8266 D1 Board
The ESP8266 D1 WiFi Development Board is Arduino-compatible and integrates powerful Wi-Fi capabilities. You will use the Arduino IDE for programming.

- Install Arduino IDE: Download and install the Arduino IDE from the official Arduino website.
- Add ESP8266 Board Manager: In the Arduino IDE, go to File > Preferences and add the ESP8266 board manager URL. Then, go to Tools > Board > Boards Manager and install the ESP8266 boards.
- Select Board and Port: Connect your ESP8266 D1 board to your computer using the USB cable. In the Arduino IDE, select Tools > Board > ESP8266 Boards > NodeMCU 1.0 (ESP-12E Module) or similar. Then, select the correct COM port under Tools > Port.
- Upload Code: Open the provided example code (C language) for the robot car. This code typically includes libraries for WiFi client and server, motor control, and ultrasonic sensor functions. Upload the code to your ESP8266 D1 board.
- Verify Upload: The IDE will show a "Done uploading" message upon successful programming.
5. Operation
Your LAFVIN Smart Robot Car supports two primary modes of operation: WiFi APP Control and Ultrasonic Obstacle Avoidance.
5.1. WiFi APP Control
Control your robot car remotely using a dedicated Android application.

- Power On: Insert the 2x 18650 batteries (not included) into the battery holder and ensure the robot car is powered on.
- Connect to WiFi: On your Android smartphone, connect to the WiFi network broadcast by the ESP8266 D1 board (e.g., "ESP8266 Robot Car").
- Launch APP: Open the dedicated control application on your Android device.
- Control Movement: Use the directional controls within the app to move the robot car forward, backward, left, and right.
5.2. Ultrasonic Obstacle Avoidance
The robot car can detect and avoid obstacles using its HC-SR04 ultrasonic module.

When the obstacle avoidance mode is activated (as programmed), the ultrasonic sensor measures the distance to objects in front of the car. If an object is detected within a predefined range, the car will automatically adjust its direction to avoid collision. This functionality is demonstrated in the provided video.
6. Specifications
| Feature | Specification |
|---|---|
| Controller | ESP8266 D1 WiFi R3 |
| Motor Driver | L9110S |
| Power Battery | 2x 18650 lithium batteries (not included) |
| Supply Voltage | 7-24V |
| Remote Control Method | APP (WiFi) - Android OS only |
| Sensor | Ultrasonic module HC-SR04 |
| Development Environment | Arduino IDE |
| Application | Electric Toy |
| Customization | Yes |
| Condition | New |
| Origin | Mainland China |
7. Maintenance
To ensure the longevity and optimal performance of your robot car, follow these maintenance guidelines:
- Cleaning: Regularly clean the chassis and components with a soft, dry cloth to remove dust and debris. Avoid using liquids directly on electronic parts.
- Connections: Periodically check all wiring connections to ensure they are secure. Loose connections can lead to erratic behavior or component failure.
- Battery Care: Use only recommended 18650 lithium batteries. Remove batteries if the robot car will not be used for an extended period to prevent leakage and damage.
- Storage: Store the robot car in a cool, dry place away from direct sunlight and extreme temperatures.
8. Troubleshooting
If you encounter issues with your robot car, refer to the following common problems and solutions:
- Robot Car Does Not Power On:
- Ensure batteries are correctly inserted and fully charged.
- Check all power connections from the battery holder to the ESP8266 D1 board.
- Motors Not Moving:
- Verify that the motors are correctly connected to the L9110S motor driver.
- Check the wiring between the L9110S driver and the ESP8266 D1 board.
- Ensure the correct code has been uploaded and is running.
- APP Control Not Working:
- Confirm your smartphone is connected to the robot car's WiFi network.
- Ensure the APP is installed on an Android device, as it only supports Android OS.
- Check if the ESP8266 D1 board is properly broadcasting its WiFi network.
- Obstacle Avoidance Not Functioning:
- Verify the HC-SR04 ultrasonic module is correctly wired to the ESP8266 D1 board.
- Ensure the programming code for obstacle avoidance is correctly implemented and uploaded.
9. User Tips
Here are some helpful tips from other users and common inquiries:
- Wiring Diagrams: Always double-check your wiring against the provided circuit diagrams. Incorrect connections are a common cause of issues.
- Code Verification: Before uploading, verify your code in the Arduino IDE to catch any syntax errors.
- Battery Quality: Using high-quality 18650 batteries can significantly improve performance and runtime.
10. Warranty and Support
For any technical assistance, questions, or concerns regarding your LAFVIN 2WD Smart Robot Car Chassis Kit, please contact LAFVIN customer support through the platform where you purchased the product. Please refer to the seller's policies for specific warranty information.





