PBP projects for R/C models


Closed Thread
Results 1 to 40 of 772

Hybrid View

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


    Did you find this post helpful? Yes | No

    Red face Sorry gang, I've been out of touch

    I'll catch you all up a bit.

    I have changed tack.

    I am trying to go from a hobby level car with PWM controls to a toy level car most of which have simple DC wheel and servo controls. The purpose is to reduce the cost of kitting for school students. In addition to reducing the cost, DC control of two wheel drive makes it easier to implement a sporty racing-like skid steering.

    I purchased (at K-MART) two 1/10 scale toy cars on sale each for $25.95. Their original prices were $50. The 1/10 size gives me more room for adding microchip electronics. The wheels and the steering if driven simply by DC with reversing current are easily controlled using DPDT relays controlled via current drivers by my PIC .

    WRONG! The steering servo contains both a DC motor and an angle measuring device which is read by the electronics that comes with the car. A total of six wires go to this servo. Where can I read how this works? Should I just go back to the store and buy 'proper' toy level cars? Your suggestions would be greatly appreciated.

    Thank you thank you for the oscilloscope. Without it I would not have the faintest.

    Ken

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


    Did you find this post helpful? Yes | No

    Default

    A total of six wires go to this servo.
    That sounds like a stepper.
    A picture of the setup might help...
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default I just realized......

    Toggling between autonomous control and radio control is much more complicated for the toy level car than for the hobby level car. Why? Toy level drives the steering servo and the wheel motor each with DC in both directions. This requires four wires. There is no common ground. Hobby level cars use pulse width modulation signals for these two jobs. Only two wires are required. The grounds are common.

    Toggling between PIC and R/C in toy level requires switching eight wires - four from the radio receiver and four from the PIC. The same operation on PWM wires requires switching only two wires.

    Hmmmmm...... That's a pretty good argument for sticking to the expensive machines.

    Ken

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


    Did you find this post helpful? Yes | No

    Default Prototyping with the PICkit 2

    I have some Radio Shack solderless prototyping boards. With 22 guage solid wire I can create a fairly robust kit. I need to connect ten signal wires from the PICkit 2 to the solderless board. The Digi-Key S5752-12-ND header might work. The question is whether 22 gauge solid wire will fit and stay in this device. If not #22, then what gauge will work? Or is there a crimp-on male connector that will do the job.

    What did the Microchip engineers have in mind when they designed the PICkit 2 printed circuit board? Any ideas?

    Ken

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


    Did you find this post helpful? Yes | No

    Default

    22 gauge will be snug and if you do your breadboarding like Darrel does it all should stay put.
    http://www.picbasic.co.uk/forum/atta...2&d=1278267329
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Seems to do what it is desinged for, and very well, I think.

    Quote Originally Posted by Kenjones1935 View Post
    What did the Microchip engineers have in mind when they designed the PICkit 2 printed circuit board? Any ideas?
    A compact USB device that programs all their MCU's, using 5 to 6 connections?

    But what do you mean Ken?

    On a tangent, here is what they were thinking for the pickit3:
    Last edited by ScaleRobotics; - 5th July 2010 at 22:36.

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


    Did you find this post helpful? Yes | No

    Default

    A compact USB device that programs all their MCU's, using 5 to 6 connections?
    I think Ken was getting at the 44 pin dev board. It is kind of useless... Mine got the most use helping Ken get started. It is back to collecting dust.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default Back to the six wire steering mechanism

    This describes what I found when I took the "servo" apart. (I got it back together with much struggling so this is from memory.)

    It has 2 wires that go to the motor and 4 wires that go to some kind of rotating position sensor. On a small board are 2 etched concentric circles which are in contact with a 4-pronged device mated to the spinning gear. I think 2 of
    the 4 prongs touch the outer circle, the other two the inner circle.

    Have any of you come across such a device? Any idea its purpose and how I control it. Other cheap cars just go bang bang into the steering motor with a little spring plus the caster effect to bring it back to neutral.

    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