HOW TO USE AT89C51 TO INTERFACE USB AND PRINTER???

Status
Not open for further replies.

Hunzala

Newbie level 2
Joined
Jun 14, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
Hi guys! how r u?
can anyone tell me how to interface USB and Printer using AT89C51, and how can i get there codes? Plz help me

Thanks

BlOcKHeAd
 

Hi
You need to have a USB driver/controller chip in your system such as the FTDI device, part number FT245BM or one of its variants. These are readily available, cheap and easy to interface to one of the AT89C51 8 bit parallel ports with a few of the other I/O line for chip control. The device comes complete with ready to use drivers, which work great and a set up routine so you can program your own ID string if you want to, these routines can be downloaded from the #FTDI website.

https://www.ftdichip.com/

You will have to write your own printer driver routine I think but that should be OK if you have the USB bit sorted for you.

Hope that helps.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…