USB Motor Controller


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2008
    Posts
    3

    Default USB Motor Controller

    I want to control speed of DC motor with usb. from google i found that i can use 18f4550/18f2550 to communicate with usb port and create pwm output from ccp pin.
    i'm new with pic programming, still a lot to learn.
    which one should i use, cdc or hid. i want use vb to control the speed of motor, and i want to get feedback of actual speed of motor(by count pulse from speed encoder).
    Please help me.
    and sorry for my bad english

  2. #2
    Join Date
    May 2007
    Location
    Area 71
    Posts
    52

    Default

    PIC 18F2331 has feedback input and 8 power control pwm. This is suitable to your need.
    As for usb connection to VB, just use normal usb to serial cable. This way you do not need to learn usb .

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 14:43
  2. USB Bootloader.
    By HenrikOlsson in forum USB
    Replies: 22
    Last Post: - 2nd May 2013, 03:46
  3. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 21:17
  4. One USB keyboard to Two USB Ports
    By picnaut in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th June 2009, 01:04
  5. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 18:39

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts