Hi guys.. I'm having trouble googling around about this stuff, so here goes.
What is the simplest way to transmit/receive data to a PIC18F4455 which can be directly USB connected to a PC/laptop? I have VB 2008, where some guys said that can be used for this purpose, but i'm getting nowhere...
Thanks a zillion man. I'm still downloading it with our crappy wireless signal... but I'm good.
So the link is Microchip Application Libraries v2009-08-31.zip right?
Is it a standalone software or is it to be incorporated into a compiler like MikroC?
Yes. the zip file contains a bunch of code. The USB framework is part of that.
The code is in C which is compatible with MicroChip's C18 compiler which can also be downloaded for free. The free student edition will work fine and even when it "expires", it still compiles but just with some optimizations turned off. I think the code also supports HiTech C. It did when I was playing with it a year or so ago.
Follow the previous suggestion from Russ Hensel: UBW.
It's a complete USB PIC project with a "firmware" (Firmware ver 1.4.3) that implements simple text commands to drive PIC I/O pins. The commands are sent using a sort of "usb serial emulator" so a simple VB 2008 program can drive the PIC board.
Follow the previous suggestion from Russ Hensel: UBW.
It's a complete USB PIC project with a "firmware" (Firmware ver 1.4.3) that implements simple text commands to drive PIC I/O pins. The commands are sent using a sort of "usb serial emulator" so a simple VB 2008 program can drive the PIC board.
The UBW can be recognized by the specific software provided, right? But how about PIC184455 which is wired directly so that the USB connection is configured? Can it detect that as well?
Kchriste: I've just completed downloading the software. I'll need to maneuver it before using it properly. Thanks.
UBW is just a generic PIC18F2550, 4550, 4455 board with a bootloader and an optional program (named "firmware" in the tutorial) that enables the UBW to be connected to a PC as a virtual COM. From a PC program that is able to connect to a serial port (from Hyperterminal to VB6 to Delphi to VB.NET to ...), you can control every PIC pin. The tutorial helps you in finding the correct driver in the microchip usb software.
If you want to talk to the ubw from the pc ( not programming but afterword ) two easy ways are to use liberty basic ( examples from the ubw guy ) or processing which is often used with the arduino, lots of examples out there.
Er.. to put simply, mine is a simple main board which goes according to your tutorial, and the USB connections are made according to the schematic I attached with the previous post.
Well... the UBW link given shows the schematic which is not too different from the standard main board in your tutorials, right?
Er.. to put simply, mine is a simple main board which goes according to your tutorial, and the USB connections are made according to the schematic I attached with the previous post.
Well... the UBW link given shows the schematic which is not too different from the standard main board in your tutorials, right?
pardon me if I didn't understand your question, but I believe the link to the circuit is with accordance with the UBW. That means according to the figure below: