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.

How to connect USB cable with 8051 microcontroller?

Status
Not open for further replies.

cse_hammad.611

Newbie level 2
Joined
Jun 21, 2010
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Pakistan
Activity points
1,301
HOW can i connect usb cable with 8051 microcontroller,,, plzzzzz help me becuz it is using in my project
 

Re: 8051 Issue

either connect an external usb interface to 8051
or
get an 8051 derivative with builtin usb interface.

srizbf
21stjune2010
 

Re: 8051 Issue

cse_hammad.611 said:
HOW can i connect usb cable with 8051 microcontroller,,, plzzzzz help me becuz it is using in my project

How about using USB to Serial DB9 Port Adapter?
Any 8051 has UART and you can "talk" with it via Hyperterminal, for example ..

IanP
:D
 

Re: 8051 Issue

Hi,

If you can find fully reliable usb to serial adapter in your area, then the idea given by IanP is better, as 8051 has UART and you can easily communicate using hyperterminal.

NIKS
 

Re: 8051 Issue

does anyone use usb to rs232 convertor to comunicate with microcontroller...
??whats the result of this if anyone has try it...and one thing usb to rs232 need driver to be installed on computer to work properly but we can not install driver on microcontroller....what is the solution of this...
 

Re: 8051 Issue

does anyone use usb to rs232 convertor to comunicate with microcontroller...
??whats the result of this if anyone has try it...and one thing usb to rs232 need driver to be installed on computer to work properly but we can not install driver on microcontroller....what is the solution of this...

You need a microcontroller with builtin usb
 

i have tried rs232 to usb with atmega16 but it doesn't work all time when i connect usb i got unrecognized my usb port i installed drive for rs232 to usb cable in computer but still not worked i also need if possible solution to this
 

Have a look at pic18f2550 or 18f4550. You have tutorials and help from microchip site for connecting usb to the controller
 

One of the simplest ways to add USB connectivity to a MCU with a UART is with FTDI FT232 or Silabs CP210x USB to UART Bridge device. Most parts suppliers have a breakout board with either or both devices making it relatively painless.

FT232R - USB UART IC

USB Connectivity Bridges

Here a few commonly available breakout boards which make implementation convenient:

FTDI Basic Breakout - 5V

Breakout Board for CP2102 USB to Serial

FT232RL USB to UART Breakout Board

The FTDI device is more common, but I've had good success with both devices. I must have a dozen of these breakout boards in the lab, they make serial to USB connectivity a snap.

However, you can migrate to the PIC18F2550/4550 as Nanhu015 and will provide the USB connectivity you desire. There will be some additional coding and setup involved of course to implement the USB functions of the PIC.

Hope the info helps,

BigDog
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top