This is a draft version of the pic 24ep32gp202 using a timer interrupt to sample from the ADC. This sampled values is transmitted over UART, and onto an RS485 differential transceiver.