i agree with chandeepa1, i use 4k7 pull up for TX pin MCU (Uno). it work perfectly for a short time about 5 minutes and short distance also. above 5 minutes it will disconnect automatically, do know why. maybe use different size of pull up resistor would have different result.