PIC18F4550 USB DEMO INTERFACE BOARD PROJECT
This project / USB hardware is quiet easy to make at home with few components, this piece of hardware will be detected by your computer like any other external device once it’s completed. This is a Simple USB demo interface development board project and demonstrate excellent USB interface to Microcontroller. This is my first project in this website. It is a USB demo board using PIC18F4550 microcontroller. This project originally was published on my old Website in year 2010 But the site had to be shutdown hence I included this project in this one website.
PIC18F4550 allows this board to control 8 led’s through laptop USB port, a small application written on C# can control the glowing of the led’s on board with simple Mouse clicks. With this project you can Create your own USB control from your laptop computer. An application written in C# on you computer will control few LED’s on a Circuit board, the circuit board will connect to your computer via a USB port.
Please watch the video below so see the PIC18F4550 Microcontroller in action.
I am enclosing the entire project at the end of this page. Initial stages this project was tested on windows XP, however it works on vista and win7 too.
-You can download the entire project at that end of this page or you can follow a step by step tutorial which is written for absolute beginners with microcontrollers.
– I am assuming that you already have a microcontroller programmer, if not then you can make you your own microcontroller programmer.
-First you need to make the USB Demo board with the schematic below then , You have load the firmware code into the microcontroller with a suitable programmer. Then after the code is loaded , USB Interface Board will be detected by your computer like any other hardware.
I am also enclosing the driver. Go to the end of this page where you’ll find all the schematic and necessary software.
STEP BY STEP Tutorial For Beginners
1- The Making Of the Hardware – http://www.rakeshmondal.info/pic18f4550-project-tutorial-part-1-USB
2- FIRST TIME PROGRAMMING – http://www.rakeshmondal.info/programming-a-microcontroller
3- Making of JDM PROGRAMMER TO LOAD CODE – http://www.rakeshmondal.info/How-to-make-a-JDM-Programmer
4- CONFIG WINPIC 800 with JDM – http://www.rakeshmondal.info/winpic800-config-for-JDM-Programmer
5- DRIVER INSTALLATION for PIC18F4550 board – http://www.rakeshmondal.info/pic18f4550-Driver-installation-tutorial
6- BOOTLOADING – http://www.rakeshmondal.info/BOOTLOADING-PIC18F4550-USB-BOARD
7- FIRMWARE TO CONTROL 6 LED in PIC18F4550 – http://www.rakeshmondal.info/cs-firmware-control-6-leds
8 -C# application to control pic18f4550 board DOWNLOAD – http://www.rakeshmondal.info/CS-Application-To-Control-PIC18F4550-Board-6LED.zip
It’s a low cost Demo Board that provides cool interface to your computer, an excellent USB interface to Microcontroller and it can be used to control various devices like DC Motor, Stepper motor, Servo, relay switch etc with your laptop or any computer with a USB port and dot net framework installed. A small program that written in C# communicates with the hardware to issue commands to set the pins of the Microcontroller.
You can replace the led’s with anything else you want to control like DC motors, steppers motors. This USB project will require a microcontroller named as PIC18f4550. PIC18F4550 is a pic18f Series of microcontroller designed by microchip. An excellent USB feature of pic18f4550 makes it perfectly suitable for such USB application. There are also other microcontrollers which has ability of Communicate vie USB port like pic18f2550 but pic18f4550 has more number of pins (40pins) , hence you get more number of pins to control. With little modification on pic18f4550 codes it can also made to work with pic18f2550, because the architecture of 18f4550 and 18f2550 are quiet similar. However we are going to use PIC18f4550.
I tested all the connection 1st in Bread Board but it didn’t turned out so well because of loose connections , So making it on PCB reduces the chances of loose connection for perfect working of the USB Demo Board using PIC18f4550 microcontroller.
For more detail: USB Interface Demo Board Using PIC18F4550