Mithun_K_Das
Advanced Member level 3
- Joined
- Apr 24, 2010
- Messages
- 899
- Helped
- 24
- Reputation
- 48
- Reaction score
- 26
- Trophy points
- 1,318
- Location
- Dhaka, Bangladesh, Bangladesh
- Activity points
- 8,254
I've been making a product since 2014 which is good in service and over 5000 copies are running till this year. All function is ok without only one common problem.
In the circuit, I used PIC16F76 as the MCU and MAX232CPE for RS232 communication. This product needs communication with a PC all the time (24/7) to maintain the service. Problem is, almost every circuit works fine when tested and installed for the first time. After a few days(a few months in some cases) of running, it simply can not communicate with the PC. Only and only if the control card is replaced or the MAX232 IC is replaced with a new one, communication can be reestablished. Otherwise, no way to establish communication back with that PC.
But, that faulty card works fine with another PC. No need to repair anything. It simply works fine at another location with another PC. But if we replace again where it was having trouble, it doesn't work again. As these products are being installed all over the country, there is a discrete distance from each other. Sometimes this simple problem takes a few hundred KM of the journey. This is why the problem is becoming a pain day by day.
The primary circuit diagram was very simple:
In this configuration, the capacitors C1, C2, C3, C4 was used 0.1uF for the first time, then 1uF then 10uF. Finally, we were having a better result with 10uF. Another change was made periodically after the MAX232 heating issue, we added resistors with series in COM port lines.
Physically MCU and MAX are closely placed.
This update was done in 2015. After that time, there is only one problem which is still having. The problem is already described on the top. Again I'm repeating the problem.
Each circuit works fine at the beginning. Communication is ok between the control circuit and the PC. But after a few days (or a few months for some cases) there is no communication between the circuit and the PC. But if this faulty card is replaced with a new (or used at another place) one, communication works fine again. Even this faulty card works fine with other PC. Also, if the MAX232 is replaced, it works again. All I noticed that problem is with associated this MAX232 IC. But can not find any solution to this. There is no coding issue. If so, restarting would solve the problem.
I tried MAX232CPE, MAX232A. Both the same result. Baud rate: 9600 and 115200 both the same result. Is there any suggestion that I can try to solve this problem? Note that those PCs are not replaceable. Thanks in advance.
In the circuit, I used PIC16F76 as the MCU and MAX232CPE for RS232 communication. This product needs communication with a PC all the time (24/7) to maintain the service. Problem is, almost every circuit works fine when tested and installed for the first time. After a few days(a few months in some cases) of running, it simply can not communicate with the PC. Only and only if the control card is replaced or the MAX232 IC is replaced with a new one, communication can be reestablished. Otherwise, no way to establish communication back with that PC.
But, that faulty card works fine with another PC. No need to repair anything. It simply works fine at another location with another PC. But if we replace again where it was having trouble, it doesn't work again. As these products are being installed all over the country, there is a discrete distance from each other. Sometimes this simple problem takes a few hundred KM of the journey. This is why the problem is becoming a pain day by day.
The primary circuit diagram was very simple:
In this configuration, the capacitors C1, C2, C3, C4 was used 0.1uF for the first time, then 1uF then 10uF. Finally, we were having a better result with 10uF. Another change was made periodically after the MAX232 heating issue, we added resistors with series in COM port lines.
Physically MCU and MAX are closely placed.
This update was done in 2015. After that time, there is only one problem which is still having. The problem is already described on the top. Again I'm repeating the problem.
Each circuit works fine at the beginning. Communication is ok between the control circuit and the PC. But after a few days (or a few months for some cases) there is no communication between the circuit and the PC. But if this faulty card is replaced with a new (or used at another place) one, communication works fine again. Even this faulty card works fine with other PC. Also, if the MAX232 is replaced, it works again. All I noticed that problem is with associated this MAX232 IC. But can not find any solution to this. There is no coding issue. If so, restarting would solve the problem.
I tried MAX232CPE, MAX232A. Both the same result. Baud rate: 9600 and 115200 both the same result. Is there any suggestion that I can try to solve this problem? Note that those PCs are not replaceable. Thanks in advance.