PBP projects for R/C models


Closed Thread
Results 1 to 40 of 772

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    You may also want to look at the 16F886. Same chip as far as programming goes, less I/Os smaller foot print, 28 pins. Same data sheet as the 887.

    The same outfit with the headers has a 400 hole bread board that can snap together with others if you need more room.
    http://www.allelectronics.com/make-a...dboards/1.html
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Smile A major break through - I hope...

    Here is a proto board that will carry all my parts and then some. Each board has two rows of 62 pairs of bussed 0.1" centers pin holes.

    http://www.circuitspecialists.com/prod.itml/icOid/6888

    I need 20 paired pins for the forty pin 16F887, 48 paired pins for the 6 sixteen pin DPDT relays, 7 paired pins for the fourteen pin SN7407, 6 isolated pins for the USB device and three isolated pins for the 5v regulator.

    The board is 6 and 1/2 by 3 and 1/8 inches. That fits fine on my 1/10 scale hobby level SPRINT (the belt up the middle driving the front wheels is a problem that can be overcome) and my toy level 1.10 and 1.12 scale toy cars.

    Is that a plan, or what?

    Ken

  3. #3
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default PC and solderless incompatibility

    New unexpected problem.

    I have not been able to find socket headers that are compatible with the solderless proto board technology. All the headers are designed for PC use. This makes it very difficult to connect my six pin 0.1" centers USB connector device. It also makes it difficult to connect the servo PWM three pin cord, the Electronic Speed Control three pin cord, and the connectors needed for the radio receiver three pin male headers.

    I could cut and strip six 1/2" #22 lengths of solid #22 gauge wire and stick then into consecutive holes. The female connector would come in perpendicular to the board.
    This is not as reliable as 90 degree square header stock, but what choice do I have?
    Remember this is for middle school students.

    Suggestions anyone?

    ken

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Are you saying the breadboard you have is not 0.1 centers?
    Up in post 311 I gave a link to a place with headers with 0.1 centers.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default The problem is the length of the legs

    The 90 degree headers do not have long enough stems. They do not reach to the springs in the proto board holes. I solved this by bending them straight, but I would rather have the connectors coming in horizontal.

    BIG REAL PROBLEM!! My PBP 2.6 version DEFINE pulsin_max
    command does nothing. I can see this from the speed at which the sonar LED's blink. I am using a PULSIN command to detect whether the radio transmitter is powered on. If no PWM signal comes in, the power is off and the PIC is on its own to guide the car. This is my new TOGGLE system, but it does not work. When power is off the LED's flash about once per second no matter what I set pulsin_max to be. When power is on they flash many times per second.

    Any rumors around campus to which I am not privy?

    Ken

  6. #6
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default Could it be that.....

    pulsin_max does not cut short the time used by PULSIN? It makes PULSIN ignore everything that happens after pulsin_max duration but the next command in line is not implemented until PULSIN has gone through all its 65,535 ticks.

    If this is the case, what can I do to detect within, say, 25 millisec something that happens every 20 millisec or not at all?

    Ken

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I think COUNT might work better in this case...

    Those 90 degree headers should be long enough when the plastic that holds them together is slide close to the bend. Works for me that way.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 12:55
  2. PBP Extensions, What are they?
    By PJALM in forum PBP Extensions
    Replies: 9
    Last Post: - 28th September 2021, 11:26
  3. Compiler differences between PBP 2.33 & 2.46
    By nikopolis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2006, 19:01
  4. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30
  5. Making PBP code more modular
    By forgie in forum General
    Replies: 30
    Last Post: - 25th October 2005, 16:24

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