Merge pull request #836 from PythonHacker24/master

Using Arduino UNO R3 (Non-SMD Atmel 328p) board with a quick hack to get UART Console
This commit is contained in:
cp 2024-04-07 18:17:23 +02:00 committed by GitHub
commit 99cd795213
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,6 +81,14 @@ Configure the settings such as baudrate and device name in the `Serial port setu
After configuration, use the command `minicom` to start get the UART Console.
## UART Via Arduino UNO R3 (Removable Atmel 328p Chip Boards)
Incase UART Serial to USB adapters are not available, Arduino UNO R3 can be used with a quick hack. Since Arduino UNO R3 is usually available anywhere, this can save a lot of time.
Arduino UNO R3 has a USB to Serial adapter built on the board itself. To get UART connection, just plug out the Atmel 328p microcontroller chip from the board. This hack works on Arduino UNO R3 variants having the Atmel 328p not soldered on the board (SMD version is used in it). Connect the RX pin of Arduino (Digital Pin 0) to the TX pin of the UART Interface and TX pin of the Arduino (Digital Pin 1) to the RX pin of the UART interface.
Finally, it is recommended to use Arduino IDE to get the Serial Console. In the `tools` section in the menu, select `Serial Console` option and set the baud rate as per the UART interface.
## Bus Pirate
In this scenario we are going to sniff the UART communication of the Arduino that is sending all the prints of the program to the Serial Monitor.