import serial

ser = serial.Serial('/dev/ttyAMA0', 115200, timeout=1)

ser.write(b'Helo\n')
data = ser.readline()
print(data)
ser.close()