Society of Robots - Robot Forum
General Misc => Misc => Topic started by: rahulver on October 06, 2011, 11:01:32 PM
-
Tutorial For USB Interface Development board. USB PROJECT ON PIC18F4550 Microcontroller
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.
FIRMWARE AND C# application
USB Demo Interface Development Board (PIC18F4550) (http://www.youtube.com/watch?v=qL80dWqPJZw#)
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 , 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 )
1- CIRCUIT CONSTRUCTION - http://rakeshmandal.info/USB-DEMO-INTERFACE-BOARD-PROJECT.html (http://rakeshmandal.info/USB-DEMO-INTERFACE-BOARD-PROJECT.html)
2- FIRST TIME PROGRAMMING - http://rakeshmandal.info/microcontroller/first-mircrocontroller-programming.php (http://rakeshmandal.info/microcontroller/first-mircrocontroller-programming.php)
3- Making of JDM PROGRAMMER TO LOAD CODE - http://rakeshmandal.info/microcontroller/How-to-make-JDM-Programmer.php (http://rakeshmandal.info/microcontroller/How-to-make-JDM-Programmer.php)
4- CONFIG WINPIC 800 with JDM - http://rakeshmandal.info/microcontroller/winpic800-config-for-JDM-Programmer.php (http://rakeshmandal.info/microcontroller/winpic800-config-for-JDM-Programmer.php)
5- DRIVER INATALLATION for PIC18F4550 board - http://rakeshmandal.info/microcontroller/USB-Interface-Board-Driver-Installation-PIC18F4550.php (http://rakeshmandal.info/microcontroller/USB-Interface-Board-Driver-Installation-PIC18F4550.php)
6- BOOTLOADING - http://rakeshmandal.info/microcontroller/BOOTLOADING-PIC18F4550-USB-BOARD.php (http://rakeshmandal.info/microcontroller/BOOTLOADING-PIC18F4550-USB-BOARD.php)
7- *FIRMWARE TO CONTROL 6 LED in PIC18F4550 - http://rakeshmandal.info/microcontroller/FIRMWARE-6-LED-CONTROL-PIC18F4550-1.php (http://rakeshmandal.info/microcontroller/FIRMWARE-6-LED-CONTROL-PIC18F4550-1.php)
8 - ** C# application to control pic18f4550 board DOWNLOAD - http://rakeshmandal.info/CS-Application-To-Control-PIC18F4550-Board-6LED.zip (http://rakeshmandal.info/CS-Application-To-Control-PIC18F4550-Board-6LED.zip)
(http://rakeshmandal.info/photu/pic18f4550_board11-small.jpg)
(http://rakeshmandal.info/photu/demobrd-small.jpg)
-
STEP BY STEP
1- CIRCUIT CONSTRUCTION - http://www.rakeshmondal.info/pic18f4550-project-tutorial-part-1-USB (http://www.rakeshmondal.info/pic18f4550-project-tutorial-part-1-USB)
2- FIRST TIME PROGRAMMING - http://www.rakeshmondal.info/programming-a-microcontroller (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 (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 (http://www.rakeshmondal.info/winpic800-config-for-JDM-Programmer)
5- DRIVER INATALLATION for PIC18F4550 board - http://www.rakeshmondal.info/pic18f4550-Driver-installation-tutorial (http://www.rakeshmondal.info/pic18f4550-Driver-installation-tutorial)
6- BOOTLOADING - http://www.rakeshmondal.info/BOOTLOADING-PIC18F4550-USB-BOARD (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 (http://www.rakeshmondal.info/cs-firmware-control-6-leds)
-
Nice. I'll keep this thread in mind for when I try doing a USB PIC.
-
.sure