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

    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.

  2. #2
    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

  3. #3
    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

  4. #4
    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.

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


    Did you find this post helpful? Yes | No

    Smile DAVE, you fixed it!!

    COUNT is the solution. This is BIG. My target RC car is the HPI Sprint. In comes in a Ready To Run package for around $200 including a two channel radio system. I have been using channel three to make the TOGGLE between R/C and PIC control. This is an expensive variation. Now a plain vanilla RTR Sprint should do the job! THANK YOU.

    Ken

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


    Did you find this post helpful? Yes | No

    Default

    COOOOOL!!!!!

    I can not wait to see new videos.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Question What is the best way to learn 8 bit Assembly?

    I have "16 BIT LANGUAGE TOOLS GETTING STARTED" DS70094E. My 16F887 is an 8 bit machine. What is the best way for me to learn ASM for my PIC? I have not been able to get MPLAB IDE v8.33 to work. Is that because I am dealing with an 8 bit PIC?

    Ken

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 : 0

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