How do I give a radio control car autonomous control


Closed Thread
Results 1 to 40 of 191

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Breadboarding questions.

    I do not see the value of the lower third of the PICkit2 printed circuit board. It looks like I am supposed to use it to breadboard, but there are no holes. Am I supposed to have the skill to solder to the individual PC pads?

    I have purchased two different Radio Shack breadboard cards that require soldering. Do I place the components on the side that does not have the PC copper with their legs extending through the holes then solder on the side with the copper? This seems to work fine with the inline dip sockets (as opposed to their uselessness on the solderless board. The problem with that technology is that the legs of the inline dip sockets are not round. They do not snuggle into the springs.)

    For drawing a circuit diagram I am using Photoshop. It is not obvious how to draw straight lines with that application, but I have a book....

    Ken

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


    Did you find this post helpful? Yes | No

    Default I think I know my problem

    The inline DIP sockets that Radio Shack sells are intended for surface mounting. Their legs are tiny rectangles in cross section (not circles as with wire). If I go to Do It Yourself Electronics they will have DIP sockets intended for solderless breadboarding.

    Does that sound correct?

    Ken

  3. #3
    Join Date
    Jan 2009
    Location
    California, USA
    Posts
    323


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Kenjones1935 View Post
    The inline DIP sockets that Radio Shack sells are intended for surface mounting. Their legs are tiny rectangles in cross section (not circles as with wire). If I go to Do It Yourself Electronics they will have DIP sockets intended for solderless breadboarding.

    Does that sound correct?

    Ken
    Not quite sure what you're asking here. For the solderless breadboard, why would you use a socket? I always used to just stick the IC into the board...

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


    Did you find this post helpful? Yes | No

    Default The problem is.....

    I have AXICOM P2 20941 DPDT relay switches. They are 12 pin dual in line configuration. The distance between the two rows of pins is .2 inches not enough (.3 inches) to bridge the channel in the solderless board. I need the DIP socket to make the necessary adjustment in width.

    I hope to use the solderless boards at least to get started. They are sooo much easier.

    A problems is that the hobby level RC components use three wire Z connectors; the radio receiver, female; the Electronic Speed Control, male; the Servo, male. I need to attach these to my circuit board. It is these lines that are switched by the DPTP relay switch.

    Ken

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


    Did you find this post helpful? Yes | No

    Default HELP! The pin designations don't match

    Fellow MicroChip PICers,

    I have a PICkit 2. On the board is a PIC16F887. It is printed on the chip. I can read it with a magnifying glass. Also on the board are clearly marked in white ink the signal designations. These marks agree with page 36 of DS41296B 44-PIN DEMO BOARD USER'S GUIDE.

    On page 8 of Microchip's DS41291F "PIC16F882/883/884/886/887 Data Sheet is the pin designations for PIC16F884/887.

    The printing on the circuit board and the diagram on page 8 do not agree. On the circuit board PIC pins 33 and 34 are not connected. On page 8 these pins are RA6 and RC0 respectively.

    On the circuit board these designations are given to PIC pins 31 and 32 respectively. (see attached)

    What is UP?? and HELP???

    Ken
    Attached Images Attached Images  

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


    Did you find this post helpful? Yes | No

    Default I have another question

    To run a Radio Control car from the PIC I need to create two PWM signals. One for the Speed Control that controls the drive wheels and one for the Servo that controls the steering. I see that I am to use CCP1 and CCP2 as outputs.

    I also need to interpret a PWM signal (on radio channel 3) which tells the PIC to toggle between radio control and autonomous control. The information on this channel is simple. It is binary, but it is still PWM (I believe).

    I am under the impression (mistaken I hope) that the PWM interpreter requires that CCP1 be an input. PLease see "Enhanced Capture/Compare/PWM(CCP1) chapter 11.1, page124 of DS41291D.

    Do I have another choice for a pin to connect to channel 3 of the radio receiver?

    Ken
    Attached Images Attached Images  

  7. #7
    Join Date
    Jan 2009
    Location
    California, USA
    Posts
    323


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Kenjones1935 View Post
    Fellow MicroChip PICers,

    I have a PICkit 2. On the board is a PIC16F887. It is printed on the chip. I can read it with a magnifying glass. Also on the board are clearly marked in white ink the signal designations. These marks agree with page 36 of DS41296B 44-PIN DEMO BOARD USER'S GUIDE.

    On page 8 of Microchip's DS41291F "PIC16F882/883/884/886/887 Data Sheet is the pin designations for PIC16F884/887.

    The printing on the circuit board and the diagram on page 8 do not agree. On the circuit board PIC pins 33 and 34 are not connected. On page 8 these pins are RA6 and RC0 respectively.

    On the circuit board these designations are given to PIC pins 31 and 32 respectively. (see attached)

    What is UP?? and HELP???

    Ken
    Your board has a 16F887 in a TQFP package, not DIP, right?

    See page 12 for the TQFP pinout...

    steve

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


    Did you find this post helpful? Yes | No

    Default

    About the PWM.

    You might be able to use the PULSIN command and pretty much any pin can be used with that.

    I do not know the signal you need to read so this is just a thought.
    Dave
    Always wear safety glasses while programming.

  9. #9
    Join Date
    Jan 2009
    Location
    California, USA
    Posts
    323


    Did you find this post helpful? Yes | No

    Default

    You mean the 44-pin demo board? Yep, it's place to put parts... Plenty of room for 1 or more IC's in SOIC packages, several places to put parts in SOT23 packages, and lots of pads for resistors and caps in 0603 or 0805 packages.

    And yes, it's possible to solder them by hand with a good strong magnifying glass, lots of light, and a very fine tipped iron. It's easier with a bit of solder paste and a hot air station with a fine nozzle.

    Welcome to the world of surface mount devices.


    Yes, typically on the breadboard, parts are inserted on the non-coppered side and soldered on the copper side. I always have used plain "unclad" breadboard, and don't have much experience with the copper coated stuff.

Similar Threads

  1. Car radio (Car radio and electronics support forum)
    By freewillover in forum Forum Requests
    Replies: 1
    Last Post: - 1st July 2009, 19:41
  2. Remote Car Starter Safety
    By CocaColaKid in forum General
    Replies: 8
    Last Post: - 22nd November 2005, 09:10

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts