Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: winnie 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?
-
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
-
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?
-
So, airman00 can you please tell me what microcontoller did you use, how many pins and what programming language did you use?
-
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
-
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
-
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?
-
yes it is , i told you its for beginners, if u are comfortable with C then go for more difficult controllers..
-
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?
-
avr or pic both are good avr's are better coz there compiler is free and they are cheap and easily available
-
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...
-
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...
-
just to mention that ATmega128 comes only in TQFP ,,no sockets available
-
u always have development boards..
-
http://www.societyofrobots.com/robot_faq.shtml#best_microcontroller
-
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... =)