L2-R12
AI

The **L2-R12** typically refers to a specific model of a **Mini Smart Car Chassis** or a **Balance Car Kit** often used in robotics education (such as those by Yahboom or similar DIY electronics manufacturers).
Below is a breakdown of the core electronic components found in these types of kits.
---
### Core Electronic Components
| Component | Function | Description |
| :--- | :--- | :--- |
| **Microcontroller (MCU)** | The "Brain" | Usually an **Arduino Uno R3**, **ESP32**, or **STM32** board that processes code and controls peripherals. |
| **Motor Driver** | Power Control | Typically an **L298N** or **TB6612FNG** H-bridge module used to control the speed and direction of DC motors. |
| **DC Gear Motors** | Locomotion | 1:48 ratio motors that provide torque to the wheels. Often include hall-effect encoders for speed feedback. |
| **Expansion Shield** | Interfacing | A custom PCB that sits atop the MCU to allow easy "plug-and-play" connection for sensors and servos. |
---
### Sensor Modules
These parts allow the L2-R12 to interact with its environment:
1. **Ultrasonic Sensor (HC-SR04):**
* **Purpose:** Obstacle avoidance.
* **Mechanism:** Emits high-frequency sound waves and measures the time taken for the echo to return to calculate distance.
2. **Line Tracking Modules:**
* **Purpose:** Following black lines on a white floor.
* **Mechanism:** Uses Infrared (IR) transmitter/receiver pairs to detect surface reflectivity.
3. **IR Remote Receiver:**
* **Purpose:** Manual control.
* **Mechanism:** Decodes signals from a handheld infrared remote.
4. **Bluetooth Module (HC-05/06 or BLE):**
* **Purpose:** Wireless communication.
* **Mechanism:** Allows the car to be controlled via a smartphone app.
---
### Power System
The electronic stability of the L2-R12 depends on its power delivery:
* **Battery Pack:** Usually consists of two **18650 Lithium-ion batteries** (7.4V total).
* **Voltage Regulator:** Buck converters on the expansion board that step down 7.4V to 5V for the MCU and 3.3V for sensors.
* **Power Switch:** A physical toggle to disconnect the battery from the circuit.
---
### Wiring and Connectivity
The L2-R12 kit usually emphasizes a "no-solder" approach:
* **XH2.54 Cables:** Polarized connectors that prevent plugging sensors in backwards.
* **Dupont Wires:** Used for breadboard prototyping or connecting generic modules to the expansion shield.
- ⤷
Which microcontroller board is specifically used in your L2-R12 kit (Arduino
- ⤷ ESP32
- ⤷ or STM32)?
- ⤷ Are you having trouble with the motor driver wiring or the sensor code?
- ⤷ Would you like a sample Arduino code snippet for the ultrasonic obstacle avoidance feature?