V2N AI Demo: Autonomous Car on HB-IIoT – Setup & Assembly
Introduction
This document describes the mechanical and electrical assembly of the autonomous vehicle drive system.
The guide covers chassis preparation, DC motor installation, encoder wiring, and Arduino-based motor control using a dedicated motor shield.
Revision and Notes
Date | Owner | Revision | Notes |
|---|---|---|---|
Feb 1, 2026 |
| 1.0 | Initial release |
Table of Contents |
| ||
Kit Contents
V2N
V2N EVK
V3 Robot Car DIY Kit
order link: https://a.aliexpress.com/_c4FHlaaR
Verify that all components are available before starting the assembly process
Part Name | Link | Picture |
|---|---|---|
4 DC geared motors with integrated AB encoders |
| |
Vehicle chassis with pre-drilled motor mounting holes (M1–M4) |
| |
Wheels compatible with 6 mm D-shaft | ||
Motor mounting screws | ||
Arduino UNO | ||
Motor Shield V5.3 | ||
4 Encoder cables (PH2.0) |
RPLIDAR
Part Name | Link | Picture |
|---|---|---|
RPLIDAR A1M8-R6 |
|
Screen
Part Name | Link | Picture |
|---|---|---|
7’’ TFT with MIPI interface (Solidurn P.N DS00007) | part of HB-IIOT RZ/V2N EVK https://www.solid-run.com/embedded-industrial-iot/renesas-rz-family/hummingboard-rz-series-sbcs/hum… |
|
Camera
Part Name | Link | Picture |
|---|---|---|
Logitech HD Pro Webcam C920 |
|
Battery
Part Name | Link | Picture |
|---|---|---|
|
|
|
Mechanical Components
Part Name | Link | Picture |
|---|---|---|
Spacers:M3x100mmx5pcs, M3x80,M3x70 | ||
M3 Sscews set: option 2510, or just 4pc M3x10mm screws | ||
|
|
|
|
|
|
Mechanical Assembly
Motor Placement on Chassis
The chassis supports four motors positioned symmetrically as shown below.
Motor ID | Position | IN1 pin (forward PWM) | IN2 pin (backward PWM) |
|---|---|---|---|
M1 | Front-Left | CH8 | CH9 |
M2 | Rear-Left | CH10 | CH11 |
M3 | Rear-Right | CH14 | CH15 |
M4 | Front-Right | CH12 | CH13 |
Ensure that the motor shafts face outward and the gearboxes face inward.
Mounting Procedure
Assembling The Car
Connect the encoder cable connector to the designated connector at the rear of the motor until a click is felt, indicating a fully seated connection.
Verify that the connector is firmly attached and not loose.
Repeat this procedure for all four motors.
Install the front swing arm bracket. Secure it using 3×6 screws.
Install the small brackets. Make sure to pay attention to the top and bottom orientation. Do not install them upside down. Fix the shaft in place: Use the retaining screw to secure the shaft from the inside Press and hold the through column while installing Install the motor on the opposite side as well. Ensure that the small bracket on that side is facing the correct direction. Secure the assembly using M4 screws.
Do not tighten the screws fully at this stage — they will need to be adjusted later.
secure the front swing arm to the bottom plate.
Secure the two additional motors to the rear brackets. Then attach the brackets to the bottom plate.
Attach the Arduino board to the car chassis using the designated screws.
Attach it according to the following images:
Connect the Motor Shield V5.3 to the Arduino Uno, and then connect the encoder cables and the power cables to the board according to the following image
Attach the top plate using the appropriate screws.
Install the wheels in their positions (pay attention to the orientation of the wheels).
RPLIDAR Connection
Secure the LiDAR sensor to the designated mounting bracket using M2.5×14 screws.
Place the EVKIT V2N in the designated holes on the bracket.
Then, attach the bracket to the vehicle chassis using spacers and fasten it with M3×14 screws, according to the position and orientation shown in the image.
Connect the RPLIDAR to the EVKIT using the designated USB cable.
Connect the Arduino Uno to the EVKIT using the designated cable.
Connect the camera to the EVKIT using a USB cable.
Connect the batteries to the EVKIT and to the Motor Shield V5.3.
Make sure not to connect the batteries to the Arduino Uno.
Software Setup
Arduino
Cable setup and prerequisites
USB cable
git
python3
platformio (CLI)
Flashing Arduino Code
Clone the Repository:
git clone https://github.com/SolidRun/rzv2n-arduino-motor-controller.git
cd rzv2n-arduino-motor-controller
Verify Project Environment:
pio project configEnsure that a valid environment exists (e.g. uno).
Connect the Board and Identify the Port
Connect the Arduino UNO via USB, then run:
pio device listNote the serial port (e.g. /dev/ttyACM0).
Build:
pio run
Upload (Flash):
pio run --target upload
Documentation
