USB Interface Board Tutorial Using PIC18F4550




USB Interface Development Board Tutorial -1

STAGE/PART-1
MAKING OF THE MAIN CIRCUIT BOARD

CONTROL YOUR DEVICES FROM COMPUTER USING USB PORT – pic18f4550 + MPLAB IDE

INTRODUCTION ( USB PROJECT) : STEP 1

This project demonstrates a computer control interface using a USB Board. (USB INTERFACE PROJECT). This tutorial will show you a simple way to control some device like led, motors and other devices with computer through a USB Board. The traditional way to control devices from a computer was to use a parallel printer port which is much more easy to implement than that of a USB PROJECT, but the only limitation with parallel printer port is that the latest computer does not comes with parallel printer port. So you can use this project as an alternative to a parallel port interface. pic18f4550 usb interface project is Human Interface Device (HID).USB Interface Board Tutorial Using PIC18F4550

If you are thinking that Buying a USB to Parallel port converter would work then you are wrong ! , hence this one is an very good alternative .

For this USB Interface Board we are going to use a Microcontroller “PIC18F4550

This tutorial is not so difficult for a experienced person however I am also posting a step by step procedure for beginners . If you are an experienced person with microcontroller then all you need to do is to make the USB board Circuit and then burn the firmware into the microcontroller , with a microcontroller programmer and then install the drivers on your system , and finally launch the application after connecting the main board to the computer with a USB PORT.

-Experienced personal can go to end of Interface Board link and can download everything at the end of that page. Beginners can follow this page and continue on for full description.

– This project allows you to control some device with your computer on clicks of few buttons on a small application written in C# which communicates through the pic18f4550 microcontroller. But creating this board can be difficult for beginners and easy for experienced persons.

SO beginners please follow this entire tutorial step by step.

Please watch the video below so see the PIC18F4550 Microcontroller in action.

USB Interface Board Tutorial Using PIC18F4550

 USB Interface Development Board Tutorial -1

STAGE/PART-1
MAKING OF THE MAIN CIRCUIT BOARD

CONTROL YOUR DEVICES FROM COMPUTER USING USB PORT – pic18f4550 + MPLAB IDE

INTRODUCTION ( USB PROJECT) : STEP 1

This project demonstrates a computer control interface using a USB Board. (USB INTERFACE PROJECT). This tutorial will show you a simple way to control some device like led, motors and other devices with computer through a USB Board. The traditional way to control devices from a computer was to use a parallel printer port which is much more easy to implement than that of a USB PROJECT, but the only limitation with parallel printer port is that the latest computer does not comes with parallel printer port. So you can use this project as an alternative to a parallel port interface. pic18f4550 usb interface project is Human Interface Device (HID).

If you are thinking that Buying a USB to Parallel port converter would work then you are wrong ! , hence this one is an very good alternative .




For this USB Interface Board we are going to use a Microcontroller “PIC18F4550

This tutorial is not so difficult for a experienced person however I am also posting a step by step procedure for beginners . If you are an experienced person with microcontroller then all you need to do is to make the USB board Circuit and then burn the firmware into the microcontroller , with a microcontroller programmer and then install the drivers on your system , and finally launch the application after connecting the main board to the computer with a USB PORT.

-Experienced personal can go to end of Interface Board link and can download everything at the end of that page. Beginners can follow this page and continue on for full description.

– This project allows you to control some device with your computer on clicks of few buttons on a small application written in C# which communicates through the pic18f4550 microcontroller. But creating this board can be difficult for beginners and easy for experienced persons.

SO beginners please follow this entire tutorial step by step.

Please watch the video below so see the PIC18F4550 Microcontroller in action

APPLICATION OF USB DEMO BOARD (USB ROBOT)

In traditional parallel printer port interface project all you have to do is to connect few led’s across you parallel port (printer port) and code an application in Visual Basic or C# and you are done. But when it comes to USB port control, its quiet complex way than parallel printer port control.

This Tutorial will show you in details for constructing this USB pic18f4550 circuit and running it from a C# application. Please read and follow all the posts.

PIC18F4550 USB Interface Development Board

I found a kind of tutorial on microchip.com to control one led with PIC18F4550, and from there I started to do experiments on source codes and then I came up with controlling 8 led’s. For now I am showing only 6 LED controls.

This USB Interface board pic18f4550 is programmed to control 6 led’s and it can be manipulated easily to control 8 led’s. In spite of led’s you can interface it to some other electronics components to control, like DC motor or stepper motor or can make your own robotics application as I did. A small software coded in C# can control the glowing of led’s with clicks of mouse or by pressing some keys.

Let’s First Take care care of circuit board then we will come back to MPLAB IDE to program it.USB Interface Board Tutorial Using PIC18F4550 schematich

Let’s start with making the circuit board first, then we will discuss about other coming steps for making this demo interface development board like firmware, Driver, bootloading, writing our own code using MPLAB IDE, etc. Please read all my steps carefully and follow them properly, in first reading it may not be so much clear, so I suggest giving a second reading. As you go further, it will start to get clear slowly. I am trying to make it as easy as possible for better understanding.

-For my project I bought this PIC18f4550 microcontroller for Rs. 375 (Indian currency) that is around 6.5 $. It is available in any electronics shop.

The schematic provided in this tutorial is a snapshot picture from EAGLE Layout designer.

So get all the components in the list i have provided below and heat up your soldering iron and lets begin. Be careful while working with soldering iron.

pic18f4550 USB Board SCHEMATIC

SCHEMATIC

TIP: Save the schematic and pin diagram for this USB demo interface Board. Refer the pin diagram time to time while soldering to avoid confusion. It is better to do labeling in the PCB to avoid confusion while you are soldering.

 

 

For more detail: USB Interface Board Tutorial Using PIC18F4550




Current Project / Post can also be found using:

  • usb to parallel pic 4550 pcb
  • cnc interface board schematic pic18f
  • pic 18F4550 interfacing board images
  • pic 18f4550 usb tutorial

Leave a Comment

*
= 5 + 6

Read previous post:
New flat transistor defies theoretical limit
New flat transistor defies theoretical limit

A team of researchers with members from the University of California and Rice University has found a way to get...

Close
Scroll to top