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 interface USB printer to PIC24 OR pic18 controllers?

Status
Not open for further replies.

haroon_tech

Member level 2
Joined
Apr 28, 2011
Messages
51
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
bangalore
Activity points
1,727
hi,
any one can help me to interface USB printer (HP) to PIC 18/PIC24 controllers. i have microchip - application library in that i got the printer driver code.but my problem is that i dont know to control(drive) the printer.

if any body interfaced printer to pic controller plz give links.
 

any one can help me to interface USB printer (HP) to PIC 18/PIC24 controllers. i have microchip - application library in that i got the printer driver code.but my problem is that i dont know to control(drive) the printer.

For a microcontroller to interface with and control a USB peripheral, i.e., USB printer, the microcontroller must be able to configure its interface as a OTG/Embedded Host USB Interface via a USB Protocol Stack with supports a OTG/Embedded Host configuration.

It should be noted that both the OTG and the Embedded Host USB configuration offer only a limited subset of the USB Host Interface features in comparsion with a USB Host Interface found on a PC or Laptop for example.

Of course, typically the more elaborate the offered features, the more device resources are required, e.g., Flash and RAM memory, to successfully implement the design.

Utilizing either the PIC24 or PIC32 such a design is definitely doable, however it is doubtful that most PIC18s can provided the required resources to implement a USB Host interface and still leave enough to store and execute a worthwhile embedded application.


if any body interfaced printer to pic controller plz give links.

The following documents and example projects discuss and demonstrate implementing a OTG or Embedded Host USB Interface:

USB OTG and Embedded Host

**broken link removed**

**broken link removed**

PIC24 USB On-The-Go (OTG)

**broken link removed**

Hope the info helps in your endeavors,

BigDog
 

For a microcontroller to interface with and control a USB peripheral, i.e., USB printer, the microcontroller must be able to configure its interface as a OTG/Embedded Host USB Interface via a USB Protocol Stack with supports a OTG/Embedded Host configuration.

It should be noted that both the OTG and the Embedded Host USB configuration offer only a limited subset of the USB Host Interface features in comparsion with a USB Host Interface found on a PC or Laptop for example.

Of course, typically the more elaborate the offered features, the more device resources are required, e.g., Flash and RAM memory, to successfully implement the design.

Utilizing either the PIC24 or PIC32 such a design is definitely doable, however it is doubtful that most PIC18s can provided the required resources to implement a USB Host interface and still leave enough to store and execute a worthwhile embedded application.




The following documents and example projects discuss and demonstrate implementing a OTG or Embedded Host USB Interface:

USB OTG and Embedded Host

**broken link removed**

**broken link removed**

PIC24 USB On-The-Go (OTG)

**broken link removed**

Hope the info helps in your endeavors,

BigDog


thank you this links are very usefull...if you have any model project so i can refer that .....
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top