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 Re: PBP projects for R/C models

    Hi Ken,

    Sounds like things are finally rolling for you.

    You may want to look at this section

    http://www.picbasic.co.uk/forum/cont...r=346-amicus18

    It is a hardware replacement for the ardrino that uses PICs and PBP.
    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

    Question Hello, it's me again.....

    Hi everyone, I have not disappeared..

    I have a PBP question/problem. I need to create a pulse width modulated pulse every 20 milliseconds. I also need to have the PIC be doing all its work between these 20 msec events.

    INTERRUPTS should do it, but I have not been able to decode the manual on how to use them. How do I (can you point me to an example?) set an interrupt for when a 20msec timer (driven by the 4mhz oscillator) overflows? During most of the 20 msec the PIC has to do its sensor triggering and decision making business. Every 20 seconds it must send out two carefully crafted pulses to the Electronic Speed Control and to the steering servo.

    Help.....

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


    Did you find this post helpful? Yes | No

    Default Re: Hello, it's me again.....

    Here I am again..... My R/C based model car robot is being marketed by Ten80 Education. The kit is down to aproximately $110. The target students are in middle school - seventh and eighth grades - ages 12 to 14. How do we help young folks conceptualize the microprocessor domain? -- Particularly without electronics like an oscilloscope? Please help me think of 'real world' examples like one demonstrating a millionth of a second and/or a machine driven my a megahertz clock.

    Here's a short list

    An Input - An Output - A pin
    A signal -- a Digital signal -- an Analog signal
    A microsecond - A millisecond
    A pulse - The pulse width - pulse frequency
    Ground (Gnd) - Operating voltage (Vcc) - A voltage regulator
    Noise - DC motor - Electro Magnetic Force (emf) - Back emf
    Servo
    Resistance - A resister
    microprocessor architecture terms
    sonar - speed of sound

    Ken

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


    Did you find this post helpful? Yes | No

    Default Re: Hello, it's me again.....

    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 Re: Hello, it's me again.....

    Quote Originally Posted by mackrackit View Post
    Thank you, Dave. That is exactly the kind of reference I need.
    Got more ideas?

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 13:55
  2. PBP Extensions, What are they?
    By PJALM in forum PBP Extensions
    Replies: 9
    Last Post: - 28th September 2021, 12: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, 20:01
  4. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th December 2005, 00:30
  5. Making PBP code more modular
    By forgie in forum General
    Replies: 30
    Last Post: - 25th October 2005, 17:24

Members who have read this thread : 2

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