What is the best microcontroller to control a line following robot?

Discussion in 'The Projects Forum' started by icem, Jan 3, 2010.

  1. icem

    Thread Starter New Member

    Nov 15, 2009
    26
    0
    Im doing a project in which i have design and make a line following robot. I am stuck on deciding what microcontroller i to control the robot. The robot with use IR LEDs and photodiodes as the sensors and the wheels will be controlled by two stepper motors. i was just advise me on whats the microcontroller to use.

    Thanks you
     
  2. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    A couple of good choices are PIC or AVR.

    If you like free software development tools, you can go with ATMEL's AVRSTUDIO4 (Integrated Development Environment) and WINAVR (The C-language add-in). Of course I am assuming that you have a Windows PC.

    Perhaps you can give us additional details about your Robot.

    hgmjr
     
  3. icem

    Thread Starter New Member

    Nov 15, 2009
    26
    0
    The robot has to follow a black line. The robot will have 5 photoreflective sensors , which will be use to track the line. The robot will have two wheels, each wheel will be controlled by a hybrid stepper motor. In the robot design, one microprocesser will used to control the robot.

    I have heard of PIC microprocessers but not AVR microprocessers and yes i am using a Windows PC.

    If i were to used PIC microprocessers can you recommend the best model to use.

    Thank you
     
  4. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    What is your background in programming?

    hgmjr
     
  5. icem

    Thread Starter New Member

    Nov 15, 2009
    26
    0
    I know c programming
    I have programed a PIC device before using assembly code to mimic traffic lights.
     
  6. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    If you are going to use assembly language to write your program then you will want to stick with PIC since you will have the minimum learning curve.

    hgmjr
     
  7. icem

    Thread Starter New Member

    Nov 15, 2009
    26
    0
    Thanks you for your help
    Just 2 more questions
    What if i use C programming?
    Do recommend a specfic PIC processer i should use or will any model do?
     
  8. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    List the interfaces and inputs/outputs you will need. After that, the selection gets easier, as you know what features to look for.
     
Loading...