Author Topic: Microcontroller for Linetracer & Obstacle Avoidance  (Read 2988 times)

0 Members and 1 Guest are viewing this topic.

Offline winnieTopic starter

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
Microcontroller for Linetracer & Obstacle Avoidance
« on: April 17, 2008, 08:31:56 PM »
What's the suited microcontroller to be used that can linetrace and avoid obstacles using C, C++ or Java? Is it possible to just use 1 microcontoller to do both of these? What's the perfect microcontoller and how many pins?

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #1 on: April 17, 2008, 08:53:29 PM »
first figure out which sensors you will use

amount of pins --- find out how much inputs outputs you need

almost any micrcontroller can do this

Yes one microcontroller can do all of this , I've done it with one

Search google too , all of these can be answered by that
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline winnieTopic starter

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #2 on: April 17, 2008, 09:07:48 PM »
if there are extra pins after i have arrange the inputs and outputs, is there any effect with the whole project?

for example, if i only use/need 24 pins and i have used a 54pin microcontroller, can it effect the programming?

Offline ellize

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #3 on: April 17, 2008, 09:15:28 PM »
So, airman00 can you please tell me what microcontoller did you use, how many pins and what programming language did you use?
« Last Edit: April 17, 2008, 09:18:06 PM by ellize »

Offline superchiku

  • Supreme Robot
  • *****
  • Posts: 953
  • Helpful? 5
  • cooll
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #4 on: April 18, 2008, 01:33:57 AM »
well for beginners it is reccomend that u get a development board like the adruino or basic stamp because code debugging and implementation is easy  but if you are going for a normal microcontroller i suggest you try the $50 robot mcu coz it will accurately suit your requirements and you can be able to program it with C language
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,653
  • Helpful? 21
  • narobo.com
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #5 on: April 18, 2008, 06:12:58 AM »
my robot
http://www.societyofrobots.com/member_tutorials/node/55

please not  that I will update the program code this week ,so dont use it yet
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline winnieTopic starter

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #6 on: April 19, 2008, 01:26:51 AM »
well for beginners it is reccomend that u get a development board like the adruino or basic stamp because code debugging and implementation is easy  but if you are going for a normal microcontroller i suggest you try the $50 robot mcu coz it will accurately suit your requirements and you can be able to program it with C language

but i thought the basic stamp use only the "P?"BASIC language?

Offline superchiku

  • Supreme Robot
  • *****
  • Posts: 953
  • Helpful? 5
  • cooll
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #7 on: April 19, 2008, 04:42:49 AM »
yes it is , i told you its for beginners, if u are comfortable with C then go for more difficult controllers..
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline winnieTopic starter

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #8 on: May 02, 2008, 09:48:20 PM »
we have chosen a PIC18F4550 microcontroller but our problem is the compiler/programmer or something that can transfer our codes from computer to mcu.. and its worth a hundred bucks.. if we use atmel mcu can it do both our   specific requirement like line tracing and obstacle avoidance?

Offline superchiku

  • Supreme Robot
  • *****
  • Posts: 953
  • Helpful? 5
  • cooll
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #9 on: May 02, 2008, 10:24:56 PM »
avr or pic both are good avr's are better coz there compiler is free and they are cheap and easily available
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline winnieTopic starter

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #10 on: May 04, 2008, 11:54:06 PM »
i'm actually proposing ATmega128 but i have read somewhere in this forum that there "might" be some problems.. although i definitely like avr more than pic coz i have seen its manual and it is more understandable than pic's...

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,207
  • Helpful? 15
  • 1.6L Peugeot 307 tuner
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #11 on: May 05, 2008, 06:46:25 AM »
Man, what's your exp in electronics???
ATMEGA128 is difficult even to touch... almost the most advanced of the series (including it's bigger versions in memory etc...)
I suggest either an ATMEGA8 or an ATMEGA8535 (or 16 or 32 or...) anything in DIP...
And why not an ATMEGA168 which is more expensive than ATMEGA8 has the same structure externally but is more advanced plus easy...


It's your choice... but I do not suggest PIC... they have some nice features but are hell difficult to learn for a beginner... period!!!

Hope I helped...
Lefteris...
For whom the interrupts toll...


P.S. I've been inactive for almost a year... Don't give promises but I'll try to complete my tutorials. I'll let you know when..

Cheers!

Offline benji

  • Supreme Robot
  • *****
  • Posts: 832
  • Helpful? 0
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #12 on: May 05, 2008, 09:31:40 AM »
just to mention that ATmega128 comes only in TQFP ,,no sockets available
good ol' BeNNy

Offline superchiku

  • Supreme Robot
  • *****
  • Posts: 953
  • Helpful? 5
  • cooll
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #13 on: May 05, 2008, 11:44:16 AM »
u always have development boards..
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,632
  • Helpful? 169
    • Society of Robots

Offline winnieTopic starter

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
Re: Microcontroller for Linetracer & Obstacle Avoidance
« Reply #15 on: May 18, 2008, 08:53:26 PM »
Man, what's your exp in electronics???
ATMEGA128 is difficult even to touch... almost the most advanced of the series (including it's bigger versions in memory etc...)
I suggest either an ATMEGA8 or an ATMEGA8535 (or 16 or 32 or...) anything in DIP...
And why not an ATMEGA168 which is more expensive than ATMEGA8 has the same structure externally but is more advanced plus easy...


It's your choice... but I do not suggest PIC... they have some nice features but are hell difficult to learn for a beginner... period!!!

Hope I helped...
Lefteris...


FYI, we are actually JUST BEGINNERS.. That's why we are asking(for obvious reason) Thanks for info, it helped us... i guess... =)

 


Get Your Ad Here