nishal
Advanced Member level 4
uart fails to communicate with pc
Hi Friends,
I am developing a PC Software Application that controls 5 weighing scales at a time. Also developed an interface board using PIC 16F877A which accepts commands from the PC software and responds accordingly. This interface board will query the weight information from weighscale (MCU = AT89XXXXX) on command request from PC software. Interface board is communicating to pc via hardware USART and software USART to weighscale both at 9600,8,n,1. Everything works perfect if weighscale and interface board works on different power supply with common ground. But fails to communicate with weighscale when connected to same power supply. However, interface board works well. I tried to route through max232 shorting txout (pin 14) and rxin(pin 13) with no success. The power supply transformer is 2 Amps and connected with independent 5v regulator ic for both boards.
Please suggest a solution.
Thanks in advance.
Nishal
Hi Friends,
I am developing a PC Software Application that controls 5 weighing scales at a time. Also developed an interface board using PIC 16F877A which accepts commands from the PC software and responds accordingly. This interface board will query the weight information from weighscale (MCU = AT89XXXXX) on command request from PC software. Interface board is communicating to pc via hardware USART and software USART to weighscale both at 9600,8,n,1. Everything works perfect if weighscale and interface board works on different power supply with common ground. But fails to communicate with weighscale when connected to same power supply. However, interface board works well. I tried to route through max232 shorting txout (pin 14) and rxin(pin 13) with no success. The power supply transformer is 2 Amps and connected with independent 5v regulator ic for both boards.
Please suggest a solution.
Thanks in advance.
Nishal