User Manual
14
And connect the pin TRIG to pin 12 of the servo control board. ECHO to pin 11, VCC to V and
GND to G.
Upload the program to the Nano board, open the serial monitor. Then press the power
button on the servo control board. Set the baud rate as 115200, hold the ultrasonic module
and make the two ultrasonic “eyes” facing an obstacle, move the robot back and forth,
and observe the data shown on serial monitor. If the data changes with the robot’s moving,
it proves the ultrasonic module is good. The testing distance of the ultrasonic module is
between 3cm470cm, there exist deviation of the maximum range value. At last, turn it off,
and remove the battery, then loosen the power supply terminal to remove the two wires.