Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 08, 2016, 01:06:25 01:06


Login with username, password and session length


Pages: [1]
Print
Author Topic: C# (Sharp) USB Interfacing with PIC 18F2550 using HID  (Read 5486 times)
0 Members and 1 Guest are viewing this topic.
Rafa
Junior Member
**
Offline Offline

Posts: 36

Thank You
-Given: 21
-Receive: 21


« on: October 25, 2012, 02:59:16 14: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. Grin
Logged
glenndr_15
Active Member
***
Offline Offline

Posts: 138

Thank You
-Given: 19
-Receive: 72



« Reply #1 on: October 25, 2012, 03:56:15 15:56 »

Did you test the project already?
« Last Edit: October 25, 2012, 03:59:33 15:59 by glenndr_15 » Logged
Rafa
Junior Member
**
Offline Offline

Posts: 36

Thank You
-Given: 21
-Receive: 21


« Reply #2 on: October 25, 2012, 05:17:14 17: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:   
« Last Edit: October 25, 2012, 07:02:54 19:02 by Rafa » Logged
glenndr_15
Active Member
***
Offline Offline

Posts: 138

Thank You
-Given: 19
-Receive: 72



« Reply #3 on: October 26, 2012, 06:46:45 18:46 »

"'ZZA.rar' is unavailable. This file was deleted"...  Sad
Here's the download link of what Rafa posted before.
Download at
http://www.4shared.com/rar/CObVKKwH/ZZA.html
Logged
Rafa
Junior Member
**
Offline Offline

Posts: 36

Thank You
-Given: 21
-Receive: 21


« Reply #4 on: October 26, 2012, 08:00:03 20:00 »

Sorry!! My mistake, i've made a clean up and wiped out the file. Huh
Logged
koseyel
Junior Member
**
Offline Offline

Posts: 58

Thank You
-Given: 492
-Receive: 205


« Reply #5 on: October 31, 2012, 07:46:09 07:46 »

Hello,
thanks for your work.
Could you please upload it on Rapidshare?

Regards
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC