I need someone to program a device for me in C-Language.
The device is called “ADC”
ADC is an Analog Digital Converter (Microcontroller).
General specifications of the ADC device:
Microprocessor: [url removed, login to view] (part# DSPIC33FJ256GP510-I/PF)
Works on 12v-14v power supply.
Has 10 analog inputs – each input measures 0-14 volts (accuracy of [url removed, login to view]).
Has 10 analog outputs – each output can put out 0-12 volts (accuracy of [url removed, login to view]).
Maximum Input Frequency: 200 Hz
Precision: ~50 mV @ 4096 bits ADC
Device has 256Kbytes of flash memory (non-volatile memory). About 30% of the memory is used for the code, calibration data, and 10 variables.
ADC communicates with a computer (PC) via USB/COM port.
I have a PC software written in VB6 language to communicate with the ADC.
ADC sends to the PC values of all inputs voltages, outputs voltages, 10 variables, and power supply voltage – VB6 software displays the values on the screen.
The VB6 software can request the ADC to change any of the output voltages.
The VB6 software can request the ADC to change any of the 10 variables values (to be written in flash non-volatile memory).
The VB6 software can request the ADC to send to the PC all the calibration factors stored for inputs and outputs.
The VB6 software can send to the ADC new calibration factors to be saved in the ADC’s flash non-volatile memory.
ADC can work on its own even if not connected to a PC.
Please see attached the current code for the ADC.
Current ADC code is in C-Language.
It is programmed into the ADC by using microchip’s “MPLAB IDE [url removed, login to view]”, and “PikKit2” programmer.
I need you to add additional code in C-Language for new functions for the ADC.
Please see attached an explanation of what your additional code should do on the ADC (file named “ADC New Code Explanation”). I have written the new code additions in Visual Basic format. You must convert it to C Language to be programmed into the ADC.
Your code must be fully explained line by line.
Please DO NOT modify the current code, you can only add your code to the current code.
You must provide me a text file that shows all the new code that you have added to my current code, as well as the final code containing my old code and your new code together.