Loopback Test for Arduino Uno

by devansh khandekar in Circuits > Computers

24094 Views, 13 Favorites, 0 Comments

Loopback Test for Arduino Uno

temp_94436986.jpg
The loop-back test is a sort of troubleshooting procedure to check if the serial communication between the PC and Arduino board is working in n a right order.
Actually I have tried this with my Arduino uno R3 clone but the method is same for the original board too.

What You Need?

temp_-705718737.jpg
1) Arduino board(I have used my clone here)
2)USB cable
3)jumper wires
4)Arduino IDE

Disconnect Power

Disconnect power from the board.
Also remove all connections and shields from the board.

Connect Jumper Wires

temp_-1399725638.jpg
temp_1791633188.jpg
temp_1614056498.jpg
temp_-70665008.jpg
temp_-9898604.jpg
temp_-2018288359.jpg
1.)Force the processor to remain in reset by connecting a jumper from RESET to GND(black wire in photo).
2.)Connect a jumper wire from TX pin(digital pin 1) to the RX pin(digital pin 0). (white wire in photo)

Connecting Board to PC

temp_-1555943104.jpg
temp_-250358945.jpg
temp_-1127352650.jpg
temp_614445448.jpg
Open Arduino IDE .
Start terminal application like serial monitor after selecting your port.
Send data by typing.Whatever you write should be echoed back.
If exactly what you write is echoed back then the board passes the test.And so the host computer hardware driver,USB cable,and USB to serial converter are all working.

If Nothing Echoes Back!

If nothing is echoed back,check:
* You have the correct com port.
* Try a different cable.Some cheap USB cables only have power wires and not data wires.
* Check the device driver for the Arduino is installed .