USB Interface Board Using PIC18F4550
USB IO Board Schematic
Assembling
Pin out
|
Download PC software, Schematic
Download Source Code
PC Software:-
PIC hardware Board:-
Installing :-
Found New hardware
|
you may also like 30 volts Panel Volt Meter Using Pic mcu
Thank you very very much :)
ReplyDeleteHi, 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? Thanks
ReplyDeletethe original version was 9.6
DeleteHi-Tech v9.6?
ReplyDeleteof course
DeleteWorking! Thanks,
ReplyDeletehi..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..
ReplyDeletecrystal frequency?
ReplyDeletecrystal frequency is 20Mhz as mentioned in the schematic it self
ReplyDeletedo you have sch and brd file for eagle cad
ReplyDeletei 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.
DeleteGreetings from PAKISTAN!!!
ReplyDeleteDear 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.
DeletePlease 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.
ReplyDeleteHello, 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!
ReplyDeletethe firmware in this project implements HID class USB device so it doesn't need any drivers . HID USB devices are driver less .
Deletethank you for your answer. But what is actally installing?
DeleteHello, 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..
ReplyDeletehi, 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 you
ReplyDeleteNever 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.
ReplyDeleteHi Gaurav,
ReplyDeleteYou 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.
Thanks,
Ash Indiano
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.
ReplyDeleteI 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 stack
ReplyDeleteGaurav 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 ?
ReplyDeletethere is no RS232 Communication involved so there no need to set any baud rate. it USB.
ReplyDeleteyep 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!
ReplyDeletep.s.: If you have an other simple project, please, send me: iusley.sl@hotmail.com
the source code link is present up there please take a look
Deleteyour source code is error
ReplyDeletewhich source code PC or the PIC firmware ?
Deletewhat kind of error??
Have android driver?
ReplyDeleteHi, 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: ibramson@hotmail.com, thnaks
ReplyDeleteDear Gaurav,
ReplyDeleteThis 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.
Thanks
Karthick.
hi your post is very nice i will follow your post but my usb not recognized how to solve ?
ReplyDeleteHi I am new in micro controller. Please help me.
ReplyDeleteyou use vb6 or vb2008 or vb2010 thank you.
ReplyDeletevisual studio 2010
DeleteDear 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 : kanthtpriya@gmail.com
ReplyDeletesource code is freely available ,link is up there ...
DeleteBut i don't know how to change source code Please help me
DeleteHi
ReplyDeleteI 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.
ReplyDeletecrystal frequency need to be 20 Mhz , there is no substitute , unless you modify software for PLL.
DeleteDear 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.
DeleteThank you Mr. Chaudhary, now it it fully working, the problem was in xtal capacitors 33pf.
ReplyDeleteDear Mr. Chaudhary,
ReplyDeleteThank 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.
Dear Gaurav,
ReplyDeleteCould 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: jeyadheepan@gmaill.com
Dear Gaurav,
ReplyDeleteAtleast 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.
With regards,
Dr. Jeyadheepan K.M
Dear Gaurav,
ReplyDeleteI 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 go
DeleteThank you very much Gaurav Chaudhary . . .^_^
ReplyDeleteAre 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 XC8
ReplyDelete