Since many people downloaded my project, ECG Primer 1.0, I think some of the people may also be interested in knowing how to handle the USB ECG data on the PC host side. It is appropriate for me to put my Windows source code and project to public. I think it can be a reference for other developers who like to use the STM32 Primer USB to exchange data to the PC host. However, I don’t know how I can upload it to STM32Circle website since the contest uploading is closed. Maybe I can send it individually by email if you send a request to my email. Any suggestion?
The program uses USB HID (Human Interface Device) class. Don’t be fooled by the class name. You can use the HID class to transmit many different data stream which have nothing to do with the human interface (ECG data is one example). The program is adapted from Ashley Deakin’s article “Making USB C# friendly” (http://www.vsj.co.uk/articles/display.asp?id=600). Although it is a C# project (Visual Studio 2005), the system USB API calls are converted from C/C++. It can easily be adapted to C/C++ project.
Jingxi Zhang
Last edited by jingxizhang (2008-03-02 01:13:19)