
This project is a safety road sign board. See attached picture.
The original PCB was burned out so I had to make a new one. But I have some questions

Situation:
• DC motor 12V
• Two limit switches (up and down) – Active LOW
• Remote control with four switches – Active HIGH
• Two relays for switching the engine right and left turn
• One relay for measuring the used power through a LEM LTSR 15-NP. This LEM is hardware configured for 7.5A. This LEM is used to stop the motor when it is using more than 7.5A in case of the limit switches are not working or other problems. In both turn directions.
The LEM is supposed to give 2.5V (Nominal Output Voltage) when the 7.5A is reached. This voltage goes through a TL082CP (Operational Amplifier) and then to PIN RA5 from the PIC16F1788.
I don’t have any experience with ADC configuration on a PIC. I hope someone can help me with this.
The motor must be stopped when the 2.5V is reached under all circumstances.
Other information:
The critical part on this PCB is RL2 and RL3. The must be switched at the same time otherwise there will be a short. In an next updated version of this PCB I will make use of a MOSFET H-Bridge in this case.
Attached pictures are a part of the PCB with the relays and the LEM and the new PCB.
Attached is also the flowchart what I have made.
This is how the basics are working:
https://youtu.be/bYipUoFUdfc
-