Here is the code to create a voltmeter and ammeter. Everyone has a "display of choice" so you can use this to drive whatever display you wish to add. The color coding of the wires is only as a reference to make construction easier. I understand from Allegro that the ACS758 can handle as much as 200 amps and 72 amps is about maximum for this code. Hope this is of use and helpful to others.
Best, Ed
Re: serial LCD 1602 Backpack using PIC16F690 for Hitach HD44780
a bit out of practice , forgot porta.4 is input only plus 1827 has bits and pieces in other banks
richard Today, 10:06so tested and working version
...