Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

few questions about USB device

Status
Not open for further replies.

Kz9

Newbie level 6
Joined
Jun 4, 2010
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,360
Hello everyone,

I want to desgin a device that communicates with the computer via the USB port. more like a "hello world" project.

I know I need a microcontroller; but is it any microcontroller that just need some code written to it, or it must has a USB interface?

And about the D+ and D- data wires in the USB, which one carries data to the device and which to the computer?

Thanks in advance.
Kz9
 

you must have an usb interface for the microcntroller.

some controllers have them built-in and some requires externally to be connected.

the D+ and D- lines are data lines .
they carry the data , whether its from or to the PC.


srizbf
5thjune2010
 

    Kz9

    Points: 2
    Helpful Answer Positive Rating
thanks, srizbf.

can you please recommend a microcontroller that has the usb feature.

Kz9
 

Many Microchip PIC devices has built in USB peripheral. One PIC micro controller that I used recently is PIC18F14K50. This is a low cost controller that supports USB. You can download Microchip USB stack and sample firmware for free from https://www.microchip.com/usb. It took less than 30 minutes for me to get my "Hello world" application up running.
 

    Kz9

    Points: 2
    Helpful Answer Positive Rating
You can see the specs of every microcontroller at the manufacturer site, just read the datasheets! ;) One pic i used few days ago was 18F2550.
 

    Kz9

    Points: 2
    Helpful Answer Positive Rating
thanks for the replies ;)
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top