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

  2. #2
    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

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


    Did you find this post helpful? Yes | No

    Default

    Sorry for the confusion. I was just giving some options.

    If you want to use a battery pack greater than 5 volts then use the regulator. The reason I like the LM317 is the adjustable aspect and it will handle 1.5 amps.

    You may want a regulator while using the ADC on the PIC.


    You can upload your drawing with the manage attachments button under the text box. Click quote on Adams post to see how he displayed it.
    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

    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 !

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


    Did you find this post helpful? Yes | No

    Default OKAY, I think I've got it. At least some of it

    Question:

    I do not have an oscilloscope. sigh....

    Google said that the USB spec rated Vcc at 5 volts. The PICkit 2 printed circuits indicates its Vcc as coming straight from the Microchip PICkit USB interface. It goes directly into the PIC itself. Is there a voltage regulator inside that plastic case? If not the PIC16F887 is seeing 5volts?

    On the subject of rechargeable batteries the RC hobby cars gobble through their Ni-Ca drive wheel charges at an awesome rate. I was hoping that the PIC batteries would pretty much last an afternoon. Wouldn't four AA alkaline non-rechargeable batteries be the easiest to deal with? Just put a new bunch in at the start of the day.

    Ken

    Ken

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


    Did you find this post helpful? Yes | No

    Default

    The PicKit does have a voltage regulator built in. The software for it even has a place to set the voltage when using the PicKit2 for a power source.

    If you are not using the PicKit2 for a power source the PicKit2 can read the chips voltage and display it.

    AA batteries should run all day, but if you power from the motor batteries like Adam suggested then the PIC runs when the car runs. So does it matter? Maybe the motors will make some noise on the circuit? AA batteries would help in that case.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Wink Just a guess

    Quote Originally Posted by mackrackit View Post
    The PicKit does have a voltage regulator built in. The software for it even has a place to set the voltage when using the PicKit2 for a power source.
    It is handy to just plug in the demo board and run your development project in the early experimental troubleshooting stages, without bothering with a power supply. Then when you need to add the whole circuit you can switch over to the battery pack.

    If you do use the PicKit2 for a “power source” in some of the development stages, it is a good idea to run it through a “powered” USB hub.

    That way, the powered hub can take the hit when it accidently gets shorted or connected to the wrong polarity. All computers have USB protection circuits but after reading forums for years, there are many people with damaged USB ports.

    Don’t ask how I know things get shorted or mis-wired. Just guessing.

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

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


    Did you find this post helpful? Yes | No

    Default My C: drive crashed this afternoon

    Nuts! is appropriate.

    A diversion. The PC into which I had installed MPLAB and PIC BASIC PRO stopped working this afternoon.

    There will be a delay in my pursuit of PICkit perfection.

    Ken

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


    Did you find this post helpful? Yes | No

    Smile Hello, I'm back

    Hello everyone.

    My machine is back.

    I need to know where PIC assembly language is defined. In what document?

    I discovered while playing with a blinking program that

    LOW PORTD.0
    HIGH PORTD.1

    and

    PORTD = %10

    Do not do the same thing. In particular PORTD = %10 clears all the rest of PORTD while the LOW and the HIGH BASIC commands only affects pins 0 and 1. (see below)

    Another question. Is there an available document that would provide me with the assembly language interpretation for each PICBASIC PRO command? I found my answer in the .asm code, but I was hoping for an easier all encompassing document.

    ----snip from COMPLICATED_BLINK.asm--------
    #define _PORTD??4 PORTD, 004h
    #define _PORTD??5 PORTD, 005h
    #define _PORTD??6 PORTD, 006h
    #define _PORTD??7 PORTD, 007h
    #define _PORTD??0 PORTD, 000h
    #define _PORTD??1 PORTD, 001h
    INCLUDE "COMPLI~1.MAC"
    INCLUDE "PBPPIC14.LIB"

    MOVE?CB 0C0h, ADCON0
    HIGH?T _PORTD??4
    HIGH?T _PORTD??5
    HIGH?T _PORTD??6
    HIGH?T _PORTD??7
    -------end snip------------

    My two Devantech Ultrasonic Range Finder SRF05 units just arrived by Fedex.
    Soldering iron - here I come.

    Ken

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