Midi cc controller!


Closed Thread
Results 1 to 5 of 5
  1. #1
    Alaskanphoenix's Avatar
    Alaskanphoenix Guest

    Default Midi cc controller!

    Hi!
    I am using a 16f84a with 20mhz to control 10 pots and send the corresponding midi cc message, but the pot command seems to be too slow and if i move the pot very fast it skips many messages! The 10kb pots are connected with a 0.1uf cap. I don't want to change the 16f84a because i have a bunch of them,so how could i fix the problem?

    thanks in advance

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,802


    Did you find this post helpful? Yes | No

    Default

    Worst case scenario:

    pot at 10K with 100nF gives 1msec time constant.

    10 pots x 1msec gives 10msec plus your commands in the programm.

    So you cannot get rapid reply with this method. A PIC with ADC I 'm afraid is what you need here.

    Ioannis

  3. #3
    Alaskanphoenix's Avatar
    Alaskanphoenix Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks a a lot Ioannis.

    If i substitute the cap with a smaller one?

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,802


    Did you find this post helpful? Yes | No

    Default

    Yes you can I suppose use smaller caps but I have not checked it. I guess from the idea of implementing that kind of adc the range is limited. I would not try smaller than half the 100nf. I feel that you may have to use a fast analog to digital converter or at least try a PIC with an adc.

    Ioannis

  5. #5
    Alaskanphoenix's Avatar
    Alaskanphoenix Guest


    Did you find this post helpful? Yes | No

    Default

    I think i'll try some other pic like 16f88 or better the 16f876!

    thanks a lot

Similar Threads

  1. Microstepper controller
    By aratti in forum Schematics
    Replies: 14
    Last Post: - 3rd January 2015, 16:52
  2. Midi, Interrupts and Pic better than SX28?
    By Lajko in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th September 2008, 00:26
  3. 12f675 and midi!
    By Alaskanphoenix in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 14th April 2006, 16:25
  4. Dedicated LCD Controller question
    By chuckles in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 27th February 2006, 14:44
  5. DC Brushless Motor controller?
    By forgie in forum Off Topic
    Replies: 5
    Last Post: - 4th February 2006, 14:02

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