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 Oops.

    I did not think that Texas Instruments sounded correct when I wrote that last post. They were, of course, Tektronics oscilloscopes that danced to my touch oh those many years ago.

    Ken

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


    Did you find this post helpful? Yes | No

    Default Here I am again - still

    I need acronym help.

    I need to purchase an appropriate DPDT switch. I plan to use this to switch the BWM signal going into the Electronic Speed Control (the driver of the propelling wheels motor) from either the output of the radio control receiver or the output of the PIC.

    Is this the correct set of specs for my proto? I need your judgment on the mounting method. I don't know what the PICkit dictates.
    Signal Relay
    NEWARK Electronics: Part #35K3233
    TYCO ELECTRONICS V23079B1201B301

    Coil Voltage VDC Nom:5V;
    Coil Resistance:178ohm;
    Number of Poles:2;
    ContactsPDT;
    Relay Mounting:PCB Surface Mount;
    Carry Current:5A;
    Coil Power VDC:140mW;
    Leaded Process Compatible:Yes;

    I'm headed over to our local Radio Shack. I am not impressed with the RS WEB page.

    Ken

  3. #3
    Join Date
    Feb 2009
    Posts
    36


    Did you find this post helpful? Yes | No

    Default

    Ken

    You should download the data sheet for your PIC from MicroChip website.

    Typically the max current any one pin can drive is 25mA, 100mA total for a port.

    So whatever relay you choose must stay below the 25mA level. That is what I told you a while back as a drawback to the relay approach. If you find that you are drawing too much current, you may have to wire up a transistor circuit that drives the current.

    The PICKIT2 programmer wont care how you wire things up (other than how it talks to the PIC), but you will need to connect the PICKIT2 programmer to your PIC, through the 6 pin ICSP header I described earlier.

    Are you going to use a separate proto or bread board as I mentioned???? Or the demo board that comes with it? I suggest the proto board if the demo board requires soldering (as I said before)

    It is very difficult to comment on your questions without a lot more info. You might consider drawing a schematic or something so we are talking off the same page. Also need to know a lot more about what controls you RC truck has on it. Some pictures would help too. Is it a RX with (how many) channels, with standard 3 wire servo cables? Some of the RC trucks have custom electronics to save money.

    If you have a standard setup with 3 wire servo cables, you need to switch the signal wire only (this has the PWM signal on it). The power (red typically) and ground (black typically) can be common to all the components. You will need a common ground for all this stuff.

    Basically, I just don't have enough info to give you specific guidance at this point...but happy to do so if you provide some info.

    Best,
    John
    Last edited by John_Mac; - 21st November 2009 at 00:35.

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


    Did you find this post helpful? Yes | No

    Default My RC car has one motor and one servo

    John,

    My RC hobby level car has one powerful motor and one servo. The motor drives both the front and the back tires. The servo positions the steering. The RC has three channels. One is not used.

    I do not know how to draw a circuit diagram on a computer. What application do you use?

    You mentioned a six pin ICSP header. I have no idea what that is. Wikipedia says, "Most PICs that Microchip currently sell feature ICSP (In Circuit ... special headers ". I can not picture that. I am acronym deprived.

    I got an email from Microchip today telling me that my order has been shipped. I will wait for it to arrive then go to Radio Shack to see what they sell that looks like what I got. The man there seemed very helpful.

    I plan to switch between the two PWM signal aimed at the ESC. Not the power to the motor.

    I am concerned about the power because the radio receiver on my car gets its power from the 7.2volt battery via the ESC. I do not want to power the PIC from that source. A common ground is no problem.

    You wrote:
    "If you have a standard setup with 3 wire servo cables, you need to switch the signal wire only (this has the PWM signal on it). The power (red typically) and ground (black typically) can be common to all the components. You will need a common ground for all this stuff."

    I do not want the power to be common to all components. I want the PIC to have its own supply. Yes, it is the white signal line into the ESC that i wish to switch, but that implies common power.

    What application do you use to draw a circuit diagram?

    Ken

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


    Did you find this post helpful? Yes | No

    Default I get 28mA at 5 volts

    John,

    My calculation for the amperage into the TYCO V23079 DPDT switch is 28mA at 5volts.

    The spec says that the coil resistance is 178ohms. Isn't that close enough since this is not counting the output resistance of the PIC port.

    Ken

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


    Did you find this post helpful? Yes | No

    Default Talk about overwhelmed!

    In order to be able to draw an electronic schematic on this XP based computer downloaded the free version of McCAD Schematics Plus. It comes with a 279 page Adobe Reader Users Guide. I opened the McCAD window. It appears to be totally NOT intuitively obvious. Am I showing my age? Is there a better way?

    Ken

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


    Did you find this post helpful? Yes | No

    Default Attempting to post an attachment

    John,

    I want to see if I can send you a .jpg picture of my first scribbles with McCAD. I just uploaded McCADtest.jpg, Does it somehow get attached to this posting? From viewing the Preview apparently the answer is yes.

    Ken
    Attached Images Attached Images  

Similar Threads

  1. Car radio (Car radio and electronics support forum)
    By freewillover in forum Forum Requests
    Replies: 1
    Last Post: - 1st July 2009, 20:41
  2. Remote Car Starter Safety
    By CocaColaKid in forum General
    Replies: 8
    Last Post: - 22nd November 2005, 10: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