PIC16F877 - CCP / motor help needed


Closed Thread
Results 1 to 2 of 2
  1. #1
    Thomas's Avatar
    Thomas Guest

    Default PIC16F877 - CCP / motor help needed

    hia, im trying to make a boat which can get controlled from bluetooth, so it gets directions and speed values. While driving i also want to make several lights go on and off.

    I can get everything to work except for one thing, the motor, this motor needs to get small pulses in order to work, the faster the pulls, the faster the motor goes. I was told i would have to use the CCP1 and CCP2, but i have no clue on how to do that. I have seen a few examples which make use of these 'things' but they seem to take complete controle of the whole app. (so it looks anyway, i havent actually tried running the samples).

    Now my question is, is there a simple way to use the CCP1 and 2 for this specific manor or should i look for a device which can generate those pulses and which i only have to say how fast it should do that? Or, and this i'd rather not do, install a second PIC specially for the motor.

    plz advice

  2. #2
    Thomas's Avatar
    Thomas Guest


    Did you find this post helpful? Yes | No

    Default

    the solution was simple...very simple...althou the wires where wrong connected so a constant interference was there i almost had the code complete

Similar Threads

  1. PIC16f877 code crosses boundary @800h
    By inventosrl in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th April 2009, 22:03
  2. Capture without CCP
    By boroko in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th March 2009, 23:09
  3. Replies: 8
    Last Post: - 17th January 2007, 19:18
  4. CCp module question.
    By robert0 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd January 2007, 00:28
  5. CCP question
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th December 2005, 17:08

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