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 Decisions not so final as I thought

    The appeal of the RC cars for hooking middle school students into technology is their near perfect miniaturization of real automobiles.

    The toy grade cars just do not have that appeal. They are also too slow.

    I understand and can probably duplicate the Pulse Width Modulation waves needed to control the hobby grade motors and servos. The car that I have has three channels. One is unused, it can be the signal controlling the switch from and to autonomous mode.

    The idea of using velcro to attach the proto and PICkit boards has eased my mind allot. It is so obvious. Why did I not think of it?

    I think, after being certain yesterday, that I have changed my mind. I shall modify my hobby level car for this project.

    Ken (sigh....)

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


    Did you find this post helpful? Yes | No

    Default Now I need some help

    I am now using my hobby level RC car. I am having a Vcc problem. The RC car has a 7.2v battery pack to drive the wheels. These a big batteries, but the wheels use allot of power.

    I would like to use four 1 and 1/2v AA batteries to power everything except the drive wheels. That's six volts. The PIC wants 5v. I can not find reverence to voltage regulation inside the PIC. I think I need a voltage regulator - a subject about which I know nothing. Does just inserting a 5v regulator in the Vcc line from the batteries do the job? Which 5v regulator?

    Lastly the USB port supplies a pin with 5v on it. Do I just put an ON/OFF switch in the plus 6 volt battery line and turn that source off when using the USB for programming?

    Is having three sources of power a blessing or a hindrance ?


    Ken

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


    Did you find this post helpful? Yes | No

    Default

    If you use 4 AA rechargeable batteries then you will not need a regulator, nominal voltage is 1.2 volts each. But the PIC you are using will run on 2 volts with the 8 Mhz OSC...

    So... Use any AA battery pack with a LM317 voltage regulator set to run at ~3.6 volts for the PIC. You will need three 470 ohm resistors to set the regulator. Then you should be able to fire the transistor that is triggering your relay from the PIC.

    http://www.national.com/mpf/LM/LM317.html#Overview

    The PICKIT2 has an "auto detect" setting for the voltage. if there is voltage on the PIC the PICKIT will deal with it. No switch needed.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Post 3.75v?

    Quote Originally Posted by mackrackit View Post
    So... Use any AA battery pack with a LM317 voltage regulator set to run at ~3.6 volts for the PIC. You will need three 470 ohm resistors to set the regulator. Then you should be able to fire the transistor that is triggering your relay from the PIC.

    http://www.national.com/mpf/LM/LM317.html#Overview
    Like this Dave?
    <IMG SRC="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=3821&stc=1&d=126030791 2 ">
    -Adam-
    Attached Images Attached Images  
    Ohm it's not just a good idea... it's the LAW !

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


    Did you find this post helpful? Yes | No

    Default

    Yes, like that.
    In practice due to resistors being what they are I have seen 3.3 to 3.7 as you mention. But that has been good enough for me and 3.6 things like SD cards and such.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default What CAD tool did you use, Pic_user

    I have been looking for a good tool to draw schematics. Which one did you use? Is is freeware? Are the drawings vectors? How did you get it on this page?

    Ken

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


    Did you find this post helpful? Yes | No

    Default Dave, I am not sure what you are saying.

    Dave,

    I read that I do not need a voltage regulator to drive my PIC16F887. Then I read which voltage regulator is the best for me.

    I am drawing, with a sharpened graphite rod encased in a wooden sleeve, my beginning schematic. I will show it to you all once I figure out how.

    Ken

  8. #8
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Smile No, not the Pencil CAD!

    Quote Originally Posted by Kenjones1935 View Post
    I have been looking for a good tool to draw schematics. Which one did you use? Is is freeware? Are the drawings vectors? How did you get it on this page?

    Ken
    Hi Ken,

    Dave was saying you could use 4 rechargeable (1.2V) cells as is (no Voltage regulator) or regular cells (1.5V) with a LM317 Voltage regulator. You could even use the 7.2v battery pack to power your PIC with the Voltage regulator.

    I use Paint.NET. It is not supposed to be a drawing program but it works okay for me.
    It is free photo editing software for Windows — http://www.getpaint.net/

    It is free and open source. Paint.NET is like Microsoft Paint on steroids.

    -Adam-
    Ohm it's not just a good idea... it's the LAW !

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