1. Download and write Raspbian or something similar;
  2. Add to config.txt on flash card:
1
2
# Enable UART
enable\uart=1
  1. Connect as on picture: