I would like to start interfacing PICs to my PC, I can program VB.NET applications and it has a serial output in that software, so if I can turn my usb on and have it act like a serial port I should be able to interface with the PIC.
First though we need to get a breakdown of whats all needed and identify some of the terms and definitions used. second is what is our limits, what kind of data can we send/receive, third what is needed in code to turn on USB, etc...
4th project ideas.
Number 1
What is HID?
In MicroCode Studio (I have version 4) there is a "Easy HID Maker" Should we use this or is there a better way?
Does enabling USB just place a new COM Port on the PC?
If its not a COM Port then how do we communicate?
As far as schematics and electrical layout, I will be using a 18F4550, D+ & D- are tied to those pins, vUSB is tied to power/capacitor etc. there are numerous layouts online for the electrical side. So this shouldnt be a problem, but if anyone has special notes or ideas, put them in.
If Ive missed anything for number 1 just add it in.
Now for Number 2
How much data can we send in a single stream?
can we send text? like a "Hello World" to a LCD?
Does the USB have to sync with PC on regular basis or just act like a one-shot?
Other ideas?
And Number 3
Ive seen some articles that list a few DEFINEs for USB, Is there a minimum or are all required and what are they?
How do you store the info that is to be sent or received from USB?
Do you just transmit/receive like serial, example USBIN USBOUT?
Number 4, Ideas?
I would like to control several Servos, LEDs, interface with multiple ADC's for readings, be able to read the I/O states, Etc...
What have other people used USB for?\
now I may have left some stuff out, this is just a list of stuff that comes to mind right now. I did several searches for USB and didnt find great info on begining USB. The idea though is to list everything to get USB to run and bits of code for interfacing it.
Bookmarks