Sonsivri

Electronics => Projects => Topic started by: Rafa on October 25, 2012, 01:59:16 13:59



Title: C# (Sharp) USB Interfacing with PIC 18F2550 using HID
Post by: Rafa on October 25, 2012, 01:59:16 13:59
Hello!

Hid usb communication has the advantage of not needing drivers for the devices. Here are presented two projects using C# to interface with PIC.
The most complete project includes also the PIC source code. Plus there are included a book: Advanced PIC Microcontroller Projects in C - From USB to ZIGBEE.
And a HID usage table, needed to setup the hid parameters.

Enjoy it. ;D


Title: Re: C# (Sharp) USB Interfacing with PIC 18F2550 using HID
Post by: glenndr_15 on October 25, 2012, 02:56:15 14:56
Did you test the project already?


Title: Re: C# (Sharp) USB Interfacing with PIC 18F2550 using HID
Post by: Rafa on October 25, 2012, 04:17:14 16:17
I know very well the question/problem: Does it really work??
So I made a fast incomplete setup and a small footprint to you see it working!!

- At the begining USB cable was unpluged, connect button is gray (not tried to connect yet).
When the connect button is pressed it becomes blue, because there is no usb device plugged.

- After pluggin the cable it becomes green and allowed the commands. So the device is find over usb (pic 18f).

- Then you can see the digital inputs changing to on and off. (it was just wires connected to ground and after released to noise.)

- At the end I release the analog inputs to became noising too and you can see the blue bars readings on the screen.

   I hope this's enough to show you can go on if you like to start a project using these files.
   The video has a low resolution because I want to keep it little. Enjoy:   


Title: Re: C# (Sharp) USB Interfacing with PIC 18F2550 using HID
Post by: glenndr_15 on October 26, 2012, 05:46:45 17:46
"'ZZA.rar' is unavailable. This file was deleted"...  :(
Here's the download link of what Rafa posted before.
Download at
http://www.4shared.com/rar/CObVKKwH/ZZA.html


Title: Re: C# (Sharp) USB Interfacing with PIC 18F2550 using HID
Post by: Rafa on October 26, 2012, 07:00:03 19:00
Sorry!! My mistake, i've made a clean up and wiped out the file. ???


Title: Re: C# (Sharp) USB Interfacing with PIC 18F2550 using HID
Post by: koseyel on October 31, 2012, 07:46:09 07:46
Hello,
thanks for your work.
Could you please upload it on Rapidshare?

Regards