Upgrade Communication Interface between PIC24 microcontroller (with FTDI FT232R) and PC (Microsoft Visual Studio)
Closed - This job posting has been filled and work has been completed.
We are developing a body-worn glucose meter for people with diabetes. The meter is a small battery-powered device worn on a patient’s body. The meter samples the patient's blood glucose automatically every 2 minutes.
The microcontroller in the meter is a Microchip PIC24FJ256GA106. It has the FTDI FT232R chip for interface with a PC via the USB port, which has a driver than transforms the USB port into a COM port. The PIC24 code that we have written already has the following functionality: (1) it receives commands and data from a peripheral via a COM port; and (2) it transmits data back via the same COM port.
We recently drafted a new version of the Communication Interface Protocol. The meter currently is not compatible with our upgraded version of the new Communication Interface Protocol.
The task at hand is to parse each of the existing commands received by the FTDI FT232R associated with the PIC24 and modify or restructure the PIC24 code to respond correctly to the new upgraded Communication Protocol.
We have PC Simulator code that runs on a PC and that imitates the meter Communication Protocol. The Simulator code may be used for testing purposes. The Simulator implements the new upgraded Communication Protocol.
We will provide to you the Interface Control Specification document that describes all of the commands that may be received via the COM port. There are approximately 30 commands. We will also provide to you the existing code. We will also provide the data format for the glucose data that is read in, and we will also provide the data format for the log file (to log meals, health events, exercise, and insulin doses).