Driver for Windows COM serial port FT232R USB UART device:
CDM212364_Setup.exe download:
Driver for Arudino NANO USB:
IMPORTANT: before connecting Arduino NANO Stop/Suspend VM Ware
After connection OK:

Create conda enviroment for working with Arduino nano:
conda create -n arduino-nano python=3.9.0
Install PySerial:
pip install pyserial
Check serial port:
python -m serial.tools.miniterm
Follow this video:
I have two CQRobotr Ocean 30:1 ratio:
http://cqrobot.wiki/index.php/Metal_DC_Geared_Motor_w/Encoder_CQGB37Y001
In case of CQRobot Ocean 30:1 is 1920

Wiring for the motor:


Arduino pins to motor encoders:

Arduino pins to L298N motor controller:

PID for loop (PID for loop is 30 times per revolution)
1920/30 = 64
Now lets create the ROS nodes (ROS1):
git clone https://github.com/hbrobotics/ros_arduino_bridge.git
ROS 2:
git clone https://github.com/joshnewans/ros_arduino_bridge.git
After:
catkin_make
And for ROS1:
source devel/setup.bash
Send control signals to Arduino NANO via miniterm:
miniterm -e /dev/ttyUSB0 57600