ESP8266–Controlled Smart Car
-
Structural Design The vehicle’s chassis is integrally 3D-printed, equipped with dual TT gear motors for differential steering. It features a dedicated battery compartment and mounting brackets for the main controller, offering a compact structure that’s easy to disassemble and assemble. The car can accommodate an 18650 lithium battery for power, with well-planned wiring space.
-
Hardware Solution The ESP8266 serves as the core controller, paired with a motor driver module and leveraging Wi‑Fi network communication. No additional remote receiver is required—your smartphone can establish a local network connection. With its low hardware assembly threshold, this setup is ideal for electronics DIY learning projects.
-
Functions and Applications A companion mobile web‑based control system supports forward, backward, turning, and stepless speed adjustment, while providing real-time display of the vehicle’s operating status. This project makes an excellent introductory embedded systems training exercise, easily expandable to include line-following, obstacle avoidance, and other intelligent functions.
## Notes
1. Common Ground: Ensure the GND terminals of the battery, ESP8266, and L9110S are interconnected.
2. Capacitor Addition: Connect a 100 μF electrolytic capacitor in parallel across the battery’s positive and negative terminals to absorb motor-startup current spikes and prevent the ESP8266 from resetting due to power fluctuations.
3. Current Limitation: The L9110S can sustain up to 800 mA per channel, making it suitable for TT motors or hollow‑cup motors; for higher‑current motors, consider using the DRV8833 instead.
4. nSLEEP Pin: The L9110S lacks this pin, so keep it enabled at all times—the wiring is simpler than with the DRV8833.
5. PWM Frequency: The ESP8266’s analogWrite defaults to 1 kHz, which the L9110S fully supports.
6. Indicator Lights: The L9110S module typically includes LEDs that illuminate corresponding channels during turns, allowing you to visually confirm operational status.
After completing the wiring, power on the system → connect your smartphone to Wi‑Fi → open a browser and navigate to 192.168.4.1 → you’ll see a tech‑inspired control page labeled “Mooring” or “Morning,” ready for operation.
Code:
The file shared via cloud storage: 8266-car.rar
Link: https://pan.baidu.com/s/122UJu3x0zMUbKN9dgTesUw?pwd=ugwk Extraction code: ugwk
태그
모델 소스
