USB Interface Board Using PIC18F4550
New Updated USB IO board V2 is here
USB IO Board Schematic
Download PC software, Schematic
Download Source Code
PIC hardware Board:-
Found New hardware
you may also like 30 volts Panel Volt Meter Using Pic mcu
Thank you very very much :)ReplyDelete
Hi, Im am struggling to compiler the source code in MPlab 8.87 using Hi-Tech C compiler 9.8. What compiler was the original code compiled with? ThanksReplyDelete
the original version was 9.6Delete
hi..im beginner about this..i try follow your connection circuit, and i try burned your source code, but nothing happen..what is my problem?please..ReplyDelete
crystal frequency is 20Mhz as mentioned in the schematic it selfReplyDelete
do you have sch and brd file for eagle cadReplyDelete
i don't have any sch or brd file. why do you need that its just simple circuit i have assembled it on a bread board. you can do it on general purpose PCB.Delete
Greetings from PAKISTAN!!!ReplyDelete
Dear Mr. Gaurav Chaudhary,
This is one of the best Website / Forum
Thank and best Regards
M. Akbar Durrani
I have just discovered this site and I am interested in PIC18F4550. I have been teaching PIC 16F84 Assembly and now like to develop a couple of projects based on PIC18F4550.Delete
Please post details related to PIC 16F4550(Crystal 20MHz) connect to (16x2}LCD with USB. I am confident that you would certainly post a positive reply. Your expert advise / guidance in regard would be appreciated.
This comment has been removed by the author.ReplyDelete
Hello, at first, thank you for nice inspiration, nice work:) Please, I am learning how to work with 18f2550 now. I think I can make .hex file, I also think I can make some aplication in VB. Now i decided to do the next step and make some circuit to connect through USB. I want to make aplication for measuring Voltage on 6 inputs. I want to make it with my own code, and i dont understand where you get the driver. Please can you tell me how to make it? Thank you very much!ReplyDelete
the firmware in this project implements HID class USB device so it doesn't need any drivers . HID USB devices are driver less .Delete
thank you for your answer. But what is actally installing?Delete
Hello, me again:) Please, can you describe me how the voltage measuring works in your application? I want to have small application to measure only voltage, but i cannot cut off the part with digital input output. I am trying to cut it "softly", but every time after building the application the analog part doesnt work. It would help me a lot, thank you for your cooperation..ReplyDelete
hi, I am new to pic and tried your circuit for learning purposes. I am having trouble with my computer recognizing USB device. I am not sure what I might be doing wrong. I have loaded PIC18F USB IO board.hex using pickit2 programmer. I have checked the schematic several times to make sure it is correct. Would you have any suggestion as to what I should check? My computer is using Windows7 with 64 bit as OS. Thank youReplyDelete
Never mind. I got it working. I must have checked the circuit 10 times before finding missing pin between Vusb and .47uF cap. Thanks for the code and circuit.ReplyDelete
You have mentioned that you have used the HID framework for this project. I hope you might have used the sample source code from microchip for CCS compiler and have edited. I believe the code had the HID framework. Can you tell me which are the functions you have altered in the code so that I would try the same.
i am afraid this demonstration does not use sample provided by Microchip. in fact Microchip does not provide USB demonstrations with CCS compilers they mainly use C18 compiler , now C18 is also off the self , now they moved to XC8. although XC8 have tremendous bugs. but good thing is that this implementation does use Microchip USB stack by Microchip Technology.ReplyDelete
I am Sorry i meant to say C18 compiler.. in that case can you help me with the functions you have altered or made use of from the USB stackReplyDelete
Gaurav few questions I had. What is the baud rate set to ? Which file sets that. Is there a way to extract the raw data in computer which comes as digital bits ?ReplyDelete
there is no RS232 Communication involved so there no need to set any baud rate. it USB.ReplyDelete
yep you can see raw data in please take a look in the pc software source code you will find it there.
Guys, i didn't find the pic source. Where is it? Because i'd like to see how you did it. Thank you!ReplyDelete
p.s.: If you have an other simple project, please, send me: email@example.com
the source code link is present up there please take a lookDelete
your source code is errorReplyDelete
which source code PC or the PIC firmware ?Delete
what kind of error??
Have android driver?ReplyDelete
Hi, the vb source code has an error like: "is ambiguous in the name space", could uor anybody send it to me or re-upload it, my e-mail: firstname.lastname@example.org, thnaksReplyDelete
This is very good project. I need some help from you. I need some API and DLL files to communicate this USBIO device through labview. Could you please share some DLL files. I would like to control this device through Ni LabVIEW. Please help me. I'm looking forward your reply.
hi your post is very nice i will follow your post but my usb not recognized how to solve ?ReplyDelete
Hi I am new in micro controller. Please help me.ReplyDelete
you use vb6 or vb2008 or vb2010 thank you.ReplyDelete
visual studio 2010Delete
Dear Sir this circuit was working fine.......... But I want to add gsm & gprs modem (Sim 300) for Remote monetoring and controlling purpose Is it possible or not I don't have a knowldge of Surce code changeing Please help me As soon as possible Email Id : email@example.comReplyDelete
source code is freely available ,link is up there ...Delete
But i don't know how to change source code Please help meDelete
I just fused the hex code to the chip.
The led is ON.
I connected it as mentioned but no response from the Host (PC).
I double checked the connections and the components, everything is connected well.
I don't know What's the problem.
Dear Mr. Chaudhary, I have build the circuit carefully and got the chip programmed with the hex file but I am always getting (USB Device Not Recognized) message !.. I have checked the circuit, pin connections several times and sure of my work except for the XTAL frequency is (22.0 MHz).. Do you think that is the reason? Your reply is highly appreciated..Thank you.ReplyDelete
crystal frequency need to be 20 Mhz , there is no substitute , unless you modify software for PLL.Delete
Dear Mr. Chaudhary, thank you very much for your prompt reply. At last I found a 20.000 MHz XTAL and replaced it in the circuit but unfortunately still getting the same (device not recognized) message! .. What else could be the reason..please? taking in mind that my operating system is Windows XP - SP3. I can send you clear pictures of my work if you don't mind.. Thank you again for your cooperation.Delete
Thank you Mr. Chaudhary, now it it fully working, the problem was in xtal capacitors 33pf.ReplyDelete
Dear Mr. Chaudhary,ReplyDelete
Thank you for your great work, I work on your source files to develop my own application and I found a little bug : when I launch the IO_board, I connot write anything in the textbox of the PORTD.
I fixed it by add this event : "me.activated" in the sub "portbAsInp_CheckedChanged" to initilialise the board with the correct parameters.
Could you please share the API and DLL files to communicate this USBIO device through labview, since I would like to control this device through Ni LabVIEW. Please help me.
My mail ID: firstname.lastname@example.org
Atleast let us know the commands to read and write the data from or to individual ports or pins of the port to communicate the IO board from LABVIEW. Your help will be acknowledged. Kindly help me.
Dr. Jeyadheepan K.M
I want to know whether this set of codes will work in mplabx ide and xc8 compiler or not...
the controller is same pic18f4550
i will work with mplab x but i don't thnk xc8 will take it . hitech is the way to goDelete
Thank you very much Gaurav Chaudhary . . .^_^ReplyDelete
Are you have any reference material about HID? or internet link?
Hola Gaurav estoy utilizando tu código fuente pero tengo un problema, la terminal de Visual estudio no me reconoce mi placa de desarrollo PIC18F4550. Te comento que estoy utilizando el compilador XC8ReplyDelete