![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hello, I am doing a project on USB interfacing. i want to Interface PC uSB port with PIC18F4550 to control various electronic device. i need to control only the output ports of PIC18F4550 by genrating commands from PC.That is if i want to control Stepper motor then step and direction pulse for controlling stepper motor will be applied from PC by coding in C/C++/VC++ or any other languages.it may be controlled by some GUI or some key event from keyboard. so,i need USB driver for this IC and how can i send the commands to this driver for controlling eletronic devices? And Do i need any programmer circuit for this IC?if yes then from where i can get software for that?if i want to make my own programmer circuit then how can i make ? With Thanks And Regards. amax | |
| |
| | (permalink) |
| Search the Microchip website for the “PICDEM FS USB DEMO BOARD” that uses that chip. You can download a schematic and software for that board. The demo software will let you program the chip with your HEX file. They used Borland C for the PC end of the demo but I was able to find a Visual C++ translation of it on their Microchip forum. If you don’t find all you need say so, I will look up numbers and links for you.
__________________ C:\WHUT ? Beware the asterisk * | |
| |
| | (permalink) |
| You may also want to look at the UBW USB Wacker project. | |
| |
| | (permalink) |
| If you want to concentrate on "engineering" the PC-side of your application, you may want to look into a pre-configured MC device. I've used both of these: http://www.phidgets.com/index.php http://www.dlpdesign.com/usb/io8.shtml These allow you to write your PC code to a "standard" interface (COM ports or APIs).... | |
| |
| | (permalink) |
| Thanks for your reply. But what do you mean by pre-configured MC? how this pre configured MC will differ from the API programs? i need to build my own interfacing circut.i have seen tthe link http://www.phidgets.com/index.php. but,i need to develop my own hardware.and they do'nt provide any internal circuitary.i could not found which interfacing ICs has been used. As you told,i have to work with preconfigured MC,how can i Pre-configure it.what is circuit and software for that? Thanks And Regards, amax. Last edited by amax; 20th December 2007 at 05:01 AM. | |
| |
| | (permalink) |
| Sorry to be cryptic. What I'm saying is that you can either obtain the discrete components, get your microcontroller (MC), design the firmware (i.e. code for the microcontroller including the USB communication), program it, debug it, and make sure your components work the way they should. Then, you will need to program the PC-side of it... Personally, I use MCs when the project is strictly embedded (i.e. it works w/out PC control or input). For sending digital signals directly from a PC to a device, I like the DLP or Phidget devices as the firmware is already on the "board" and the peripheral devices are available to rapidly interface to a PC. I have C# code blocks to perform serial communications (DLP) and am on the way to having classes that implement the Phidget APIs. So, if for instance you want to control a motor from your PC, you could buy a Phidget with the motor board(s), write several lines of code on your PC and be on your way (vice the first part of this message). Hey, I do this stuff as necessary to keep laboratory instruments running and to (ultimately) save time. Although I'd love to devote more time to it, quick and easy is the way I usually go! | |
| |
| | (permalink) |
| Hello, thanks for giving me suggetions.but i can't follow that way. well,can you tell me what is the maximum data transfer rate that can be handled by 4550. With Thanks And Regards, amax. | |
| |
| | (permalink) | |
| Quote:
http://www20.inetba.com/tracesystemsinc/usb_tools.ivnu Or You might want to explore the FT245R IC (USB to parallel) http://www.ftdichip.com/Products/FT245R.htm Last edited by blueroomelectronics; 21st December 2007 at 03:27 PM. | ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Am I USING PIC UART CORRECTLY?? | cyprio7 | Micro Controllers | 46 | 15th January 2008 07:03 PM |
| Capturing and reproducing audio with a PIC | Fred.Amoson | Micro Controllers | 14 | 14th December 2007 09:22 PM |
| Reliable USB PIC Programmer | UTMonkey | General Electronics Chat | 11 | 25th November 2007 09:42 PM |
| Problems switchin relay with PIC | Andy1845c | General Electronics Chat | 5 | 17th November 2007 07:14 PM |
| High ADC sampling rate PIC, 18F needed? | bananasiong | Micro Controllers | 24 | 28th October 2007 01:13 PM |