No funciona la comunicacion RS485, ni salidas digitales
Posted: Fri Jul 25, 2025 1:02 pm
Hello,
I have a problem with the development of a project to communicate 2 pic16F886 through the RS485 bus.
It seems that in the simulation it works perfectly.
I record the pics and physically test them and absolutely nothing works.
To rule out any errors, I have created a second program so that I read the keys pressed and act on an output accordingly. In simulation it works perfectly, but in physics nothing is still working.
Since the test does not work, that's why I assume that communication will not work either 485
I have reviewed the entire assembly, according to the attached diagrams, and it is OK.
I suspect it could be due to poor bit configuration, but I'm not sure.
I also attach the two flowcode files. Both the communications one and the input/output test one, in case you can give me some help.
If all of the above is fine, I only have to verify that it is the microcontrollers that are wrong.
C.
I have a problem with the development of a project to communicate 2 pic16F886 through the RS485 bus.
It seems that in the simulation it works perfectly.
I record the pics and physically test them and absolutely nothing works.
To rule out any errors, I have created a second program so that I read the keys pressed and act on an output accordingly. In simulation it works perfectly, but in physics nothing is still working.
Since the test does not work, that's why I assume that communication will not work either 485
I have reviewed the entire assembly, according to the attached diagrams, and it is OK.
I suspect it could be due to poor bit configuration, but I'm not sure.
I also attach the two flowcode files. Both the communications one and the input/output test one, in case you can give me some help.
If all of the above is fine, I only have to verify that it is the microcontrollers that are wrong.
C.