USB PROJECT :- USB INTERFACE BOARD USING PIC18F4550 Microcontroller CONTROL - 6 LEDS
Enclosed - C# software ( 4.0 .net framework)
- pic18f4550 Firmware - for 6 leds.
TUTORIAL FOR BEGINNERS
It’s a low cost USB interface Board that provides cool interface to your computer 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 C# program communicates with the hardware to issue commands to set the pins of the Microcontroller. Inspite of LEDS u can use it as control singnals for your project.
USB controlling is more cool than that of parallel port. Rather laptops now days don't come with parallel port, so a USB port is a bit easy replacement.The Video will show u my usb Interface Board, see its working , i will post links for making your own Micro-controller board .
As Audrino Boards are very costly and if are beginner with microcontroller then you really don’t wanna invest so much on a audrino board for the 1st time on microcontroller, rather if you make one mistake then you microcontroller is fumed (like exceeding Vmax of microcontroller).
The Video below will show u my USB DEMO INTERFACE DEVELOPMENT BOARD, see its working in the end i will post links for making your own Micro-controller board .
I WILL PUT TUTORIAL TO MAKE THIS BOARD AT THE END PART.
BEGINNERS: Microcontroller projects are not like ordinary circuits ( follow schematic and u are done) In case of Microcontroller board there are lots of steps.. Microcontrollers are like Artificial Mind Of a ROBOT.
USB Demo Interface Development Board (PIC18F4550) :Tutorial for making this Board is Lengthy, so i will post the links for making this board.
This a USB Demo Interface Device , that allows me to control 6 led's, i have used a pic18f4550 microcontroller , i have found the schematics and diagrams on microchip.com to make it. I have modified it control 6 led's , it is provides a cool interface to my computer using USB port and leds are controlled with clicks or pressing numpad buttons on my laptop.
It can be used to control various devices , like , Stepper Motor , rervos , DC motor , Relay switches etc etc etc.
Download the firmware code ( for 6 - 8 leds) and C# application..
I Found this Nice Tutorial on a website while i was searching for some tutorial for making this board, i made a robotic arm based on this USB Interface Board, At beginning i thought of using Parallel Port but laptop dont come with laptop , so using a USB port is a cool replacement of parallel or serial port with more better performance .This tutorial is actually not mine but i found it on a website and so sharing with all :)
UNFORTUNATELY FOR BEGINNERS THE DETAILED INFORMATION AND TUTORIAL STEP STEP CONSTRUCTION CAN BE VERY LENGTHY.
SO I AM GOING TO POST LINKS OF A DETAILED TUTORIAL
FOLLOW EACH STEPS ONE BY ONE... (for beginners )
STEP BY STEP
1- CIRCUIT CONSTRUCTION - 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 INATALLATION 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
http://www.facebook.com/microcontrollerinfo
NOTE: IF in case the links above are not working then please come back later after some hours , the website goes goes down sometimes (sorry about it) , though i have attached the C# APPLICATION and 6 -led controlling at the end for Advance users here. But If u really new at microcontroller stufs then please wait for sometime in case the links are are not working. The Links explains everything in Details.
THANKS FOR READING
RON
www.rakeshmondal.info
BLOG 1
BLOG 2


































Visit Our Store »
Go Pro Today »




C# http://www.instructables.com/files/orig/F1H/15UJ/GTGZI6U1/F1H15UJGTGZI6U1.zip
firmware http://www.instructables.com/files/orig/FVS/U0J5/GTGZI6UQ/FVSU0J5GTGZI6UQ.zip
STEP1
http://www.scribd.com/doc/72780282/Usb-Interface-Board-6-led-CONTROL-tutorial-1
STEP2
http://www.scribd.com/doc/72780578/Programming-Micro-Controller-PIC18F4550-by-ron
STEP3
http://www.scribd.com/doc/72780626/How-to-Make-a-Jdm-Programmer-by-ron
STEP4
http://www.scribd.com/doc/72780714/Config-Winpic800-With-Jdm-by-ron
step 5
http://www.scribd.com/doc/72780941/Usb-Interface-Board-Driver-Installation
STEP-6
http://www.scribd.com/doc/72793746
can u send me the source code of hex file so i can use it according to me or mail me at zeeshan.pauline@gmail.com plz plz do it as early as u can.....plz
almioten.mail@gmail.com
almioten.mail@gmail.com
Firstly, I would like to say thank you very much! Since your project has assisted me very much for my learning. Very appreciate it.
I would like to ask, it is possible for me to get the Step 6 for this project?
This because I can't access the link (http://http//www.scribd.com/doc/72793746)
Really appreciate your help since I need it in order to assist my project.
Thanks and Regards!
You Are welcome..
And Step 6 talks About Bootloading...
Here is Video that will help you. :)
http://www.youtube.com/watch?v=yBFIIHwpcIE&list=UUl5VuPQN8dAjYtYloo23iGA&index=10&feature=plcp
RON
i'm very intresting in your project
it's very nice and creative to use USB interface Board to control various devices with a simplest circuit ..
real i like it
but i have a small proplem with software files
the above links didn't work with me
Please can you send me the sorce code for PIC
thanks alot
Please can you send me the the sorce code for c#
i don't have any arduino device or any other thing to programme these chips so should i buy it or u can help me to programme these chips manually/ in other easy way.......
We are proud of you.
Thank you
Thanks for commenting :)
And I think, your ciruit is just a one way.. How can we change it as two ways.. I mean, We will be able to send data to pic from usb and also we will be able to get data to usb from pic.. ? If you have an example, can you publish it also?
Thank you
In the above tutorial i have mentioned about a Microchips USB framework MCHPFSUSB v 1.2 on
http://rakeshmandal.info/microcontroller/USB-Interface-Board-Driver-Installation-PIC18F4550.php page.
when u download this framework it comes with lot of firmware examples and possible thing u can do with it :)
This same board can be used for many things.
I downloaded this framework but i didnt see a nice sample about it.. It looks a bit complicated.. I never have any experience with usb then i have some prejudgement.. I think that you can prepare a file that contains usb data sending and recieving for us :) i think it will be really good if u have time..
and if u can publish it sunday on monday, I will start to make your circuit on monday in our lab. After I learnt it, i will be able to start to change your codes which are in pic :)
I am looking forward this file....
Thank you
very much :)