Silly question


Closed Thread
Results 1 to 6 of 6

Thread: Silly question

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    42

    Default Silly question

    Hello All, I was wondering if the Pic chip capable of processing a video or .jpeg image and making corrections. For instance, line tracking. Can a Pic analyze an image, find the black line and make corrections to the steering of a small robotic vehicle? This may be beyond a Pic chips capabilities, requiring a different processor and sophisticated software, but I just wanted some feedback. I know that there is the CMU-CAM but it requires a pretty good knowledge of Assembly language or C, which I do not have. Thanks!!

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,121


    Did you find this post helpful? Yes | No

    Default Re: Silly question

    PIC24 could, PIC32 sure will.

    Ioannis

  3. #3
    Join Date
    Mar 2006
    Location
    China
    Posts
    266


    Did you find this post helpful? Yes | No

    Default Re: Silly question

    If it is enough to tell a difference between black and white and only tracking i.e a white line on a black surface it can be done with a PIC18F. But you need to use a normal B&W CCTV camera and use the pic to do timing and comparators to tell if the signal is WHITE or DARK.

    The brightness is much higher in signal level than the dark parts so it is not that hard actually. We have used this way to detect a laser point infront of a camera and it is not hard at all and then we could even track the point in both X and Y with a really high accuracy.

    There is alot of power in a PIC18 so if you really dont have a need to "see" the image the 18-series is going to do the job.

    Jumper

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


    Did you find this post helpful? Yes | No

    Default Re: Silly question

    find the black line and make corrections to the steering of a small robotic vehicle
    If line following is all you want then a couple of IR sensors will do the trick.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default Re: Silly question

    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default Re: Silly question

    with this
    Name:  28317-M.jpg
Views: 254
Size:  17.1 KB

    http://www.parallax.com/Store/Sensor...6/Default.aspx

    you can do what you asked with 16F628A.

    This cam gives you analog output for the surface it is sensing for each pixel (128 pixel).
    The pixels are mapped with gray scale 0 - 255.
    Since you only need black and white as 1 and 0, you do not need analog feature.
    Also, you can see the surface from 10cm above.
    It gives you a line of 128-pixels in an array; in your case, 0's and 1's.

    With your coding, you can see the line on the surface something like 0000000000111111110000000000.
    Last edited by sayzer; - 13th March 2012 at 17:29. Reason: added short desc.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

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