![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
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...
__________________ -The kinda guy who would improvise so much that you'd say "Here's 50 bucks for your Gigantron" http://vortexelectricaz.blogspot.com | |
| |
| | #2 |
|
The easiest way is to use MicroChip's USB framework which is available as a link from the 18F4455 page.
__________________ Inside every little problem, is a big problem trying to get out. | |
| |
| | #3 |
|
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?
__________________ -The kinda guy who would improvise so much that you'd say "Here's 50 bucks for your Gigantron" http://vortexelectricaz.blogspot.com | |
| |
| | #4 |
|
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.
__________________ Inside every little problem, is a big problem trying to get out. | |
| |
| | #5 |
|
Also see the USB Bitwacker which implements usb and has a usb bootloader
| |
| |
| | #6 |
|
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. | |
| |
| | #7 |
|
Yeah.. I got VB 2008, but how do I get to the part which configures the USB outputs of my laptop? The software is like... too general for me.
__________________ -The kinda guy who would improvise so much that you'd say "Here's 50 bucks for your Gigantron" http://vortexelectricaz.blogspot.com | |
| |
| | #8 | |
| Quote:
Kchriste: I've just completed downloading the software. I'll need to maneuver it before using it properly. Thanks.
__________________ -The kinda guy who would improvise so much that you'd say "Here's 50 bucks for your Gigantron" http://vortexelectricaz.blogspot.com Last edited by Vizier87; 24th October 2009 at 05:10 PM. | ||
| |
| | #9 |
|
The UBW software connects to the PC as a virtual COM port. No specific software needed. 3v0
__________________ Please post questions to the forums. PM's are for personal communication. BCHS/3v0's Tutorials Junebug USB PIC programmer kit., USB Bit Whacker, The 15 Minute Printed Circuit Board! (+drill time) | |
| |
| | #10 |
|
so that means the PIC18F4455 which is directly USB-connected is recognized after installing that software? I mean the MCHPFSUSB_Setup.
__________________ -The kinda guy who would improvise so much that you'd say "Here's 50 bucks for your Gigantron" http://vortexelectricaz.blogspot.com | |
| |
| | #11 |
| As long as the PIC is programmed accordingly - but I'm not sure what you mean by 'directly USB-connected'?
| |
| |
| | #12 |
|
Look at this tutorial: UBW tutorial 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. | |
| |
| | #13 |
|
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.
| |
| |
| | #14 | |
| Quote:
http://www.electro-tech-online.com/a...1&d=1256538457 .... and connected to the USB port of my netbook, only that I'm using 18F4455 rather than 18F2455. Thanks for the UBW link, I'm exploring them now.
__________________ -The kinda guy who would improvise so much that you'd say "Here's 50 bucks for your Gigantron" http://vortexelectricaz.blogspot.com | ||
| |
| | #15 |
| You mean just like the UBW, or any oither 18F PIC cicruit.
| |
| |
|
| Tags |
| communication, pic, usb |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Pic 2 Pic i2c communication | HerbertMunch | Micro Controllers | 8 | 8th June 2008 01:44 PM |
| USB communication with pic | Albert Smit | Electronic Projects Design/Ideas/Reviews | 5 | 3rd May 2008 04:23 PM |
| USB communication between microcontroller & PC | HiteshDR | Micro Controllers | 15 | 19th December 2007 08:57 AM |
| USB Communication Software Algoritm | iso9001 | General Electronics Chat | 5 | 14th January 2005 07:38 PM |
| usb device communication with my pc | defcon31 | Micro Controllers | 4 | 8th January 2004 09:16 AM |