2

Author Topic: mircocontrollers  (Read 1220 times)

0 Members and 1 Guest are viewing this topic.

Offline vipulan12Topic starter

  • Robot Overlord
  • ****
  • Posts: 170
  • Helpful? 0
mircocontrollers
« on: February 01, 2012, 10:03:18 PM »
Hey guys I' new at building robots and i need help choosing and buying a micro controller
could you guys tell me a micro controlled i could practice on to get a better idea of how it works and a link of where I could buy it

i would really appreciate it
 thanks

Offline newInRobotics

  • Supreme Robot
  • *****
  • Posts: 1,015
  • Helpful? 48
  • N.I.R.
Re: mircocontrollers
« Reply #1 on: February 02, 2012, 01:28:03 AM »
Hi there

When I was in same situation as You are now, I just bought cheapest ATmega I could find on eBay, it was ATmega48 (it still is the cheapest DIP ATmega on eBay You can get (£2.80)). So far I could achieve whatever I wanted to achieve with it in terms of uC projects (PWM, ADC, interfacing LCD, USART to USB comms).

Good luck  :)
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian W

Offline vipulan12Topic starter

  • Robot Overlord
  • ****
  • Posts: 170
  • Helpful? 0
Re: mircocontrollers
« Reply #2 on: February 02, 2012, 10:13:03 AM »
thanks for advice i really appreciate it
 
i know this is a dumb question but could you tell me how i could use it for building a robot

i read the tutorial from society of robots but i don't understand how a microcontoller is hooked up and used?

could you explain that please

thanks :D

Offline newInRobotics

  • Supreme Robot
  • *****
  • Posts: 1,015
  • Helpful? 48
  • N.I.R.
Re: mircocontrollers
« Reply #3 on: February 02, 2012, 11:13:35 AM »
Hi again :)

If You really don't understand what's what then start with Newbie's Guide to AVR Timers. It covers basics very well. It is an LED flasher tutorial, so to make it work You should get Yourself 1x LED and 1x a Resistor. After tutorial is complete - You should have much better understanding how microcontrollers work. Then carry on with Newbie's Guide to the AVR ADC, for it You will need a potentiometer, get a pack of 10k ones. After completing second tutorial, You will understand how $50 Robot utilizes uC.

NOTE: Take a look at help in programming thread to get more links to various tutorials and useful links.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian W

Offline Daanii

  • Robot Overlord
  • ****
  • Posts: 138
  • Helpful? 3
Re: mircocontrollers
« Reply #4 on: February 02, 2012, 12:04:01 PM »
If you are just getting started in electronics, and have a little money to spend, you may want to buy an Arduino starter kit. That will give you the basic things you need to work with an Atmega microcontroller so you learn how to use it.

Offline bobthefirst1

  • Jr. Member
  • **
  • Posts: 43
  • Helpful? 0
Re: mircocontrollers
« Reply #5 on: February 09, 2012, 09:44:13 PM »
Or u could look at the PIC18F4550

Offline vipulan12Topic starter

  • Robot Overlord
  • ****
  • Posts: 170
  • Helpful? 0
Re: mircocontrollers
« Reply #6 on: April 12, 2012, 03:54:13 PM »
are their any good books where I could learn about the different types of micro controllers?

Offline joe61

  • Supreme Robot
  • *****
  • Posts: 417
  • Helpful? 16
Re: mircocontrollers
« Reply #7 on: April 12, 2012, 06:02:28 PM »
I'd suggest looking at manufacturers web sites, they typically have comparisons of their chips. There are pages on the web that compare microcontrollers, but my experience has been that their real purpose is to guide you toward one or another.

The two most prevalent brands are probably Atmel and Microchip.

Atmel has a couple matrices that compare various chips. I can't post a link because this web site things it's a virus, but go to http://atmel.com, choose the "Products" menu, select "Atmel AVR 8 and 32 bit processors", and then scroll down to the 8-bit Mega and/or 8-bit tiny options.

Here is a matrix of Microchip 8-bit processors.

This is the site for PicAxe processors, which are PICs that have a bootloader in them that understands a version of BASIC. There are three manuals available from this site that have more information than you can stuff in your head at once.

If all that leaves you overwhelmed, think about an Arduino. That's what a lot of people do until they get a better understanding of what they want.

EDIT: if you want to try something for (almost) nothing, look at the TI Launchpad. Last I checked you can get one for $4.30 U.S. It has a free development environment.

Joe
« Last Edit: April 12, 2012, 06:05:24 PM by joe61 »

Offline artmis

  • Jr. Member
  • **
  • Posts: 7
  • Helpful? 0
HELP in choosing mircocontrollers
« Reply #8 on: April 17, 2012, 12:07:53 PM »
Hey guys,
I wanna use image processing tech for robot, and I need speed too. AVR microcontrollers don't provide that speed, on the other hand, ARM processors seem not to be appropriate for IO usage of robot.

What do you suggest for my need????


[sorry if my sentences are not correct, English is not my native language :D]

Offline mstacho

  • Supreme Robot
  • *****
  • Posts: 360
  • Helpful? 10
Re: mircocontrollers
« Reply #9 on: April 17, 2012, 12:57:18 PM »
Really?  ARM isn't sufficient for the IO?  Check this one out:

STM32F103ZE6

It's what I'm using.  I'm doing 7 motors with 13 analog IO and I'm using probably around 40 GPIO ports for various sensor interfacing.  It has a stupid number of PWM channels to boot, so I'm using 14 of them and I think I have the option of using even more.
Current project: tactile sensing systems for multifingered robot hands

Offline artmis

  • Jr. Member
  • **
  • Posts: 7
  • Helpful? 0
Re: mircocontrollers
« Reply #10 on: April 18, 2012, 12:51:03 PM »
Thanks for your suggestion, I googled STM32F103ZET6 and searched in st.com., but I didn't find the datasheet...Can You give me a source about this microcontroller that you suggest?

Offline mstacho

  • Supreme Robot
  • *****
  • Posts: 360
  • Helpful? 10
Re: mircocontrollers
« Reply #11 on: April 18, 2012, 03:06:07 PM »
Oops, sorry, it's actually: STM32F103ZET6.  Forgot that little "T" at the end :-P

Check out the digikey page: http://parts.digikey.com/1/parts/1501778-mcu-arm-512kb-flash-mem-144-lqfp-stm32f103zet6.html

It has a link to the user's manual, but all the other stuff can be found with a quick google. 

Sorry about that,

MIKE
Current project: tactile sensing systems for multifingered robot hands

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: HELP in choosing mircocontrollers
« Reply #12 on: April 19, 2012, 05:16:21 PM »
Hi,

Hey guys,
I wanna use image processing tech for robot, and I need speed too. AVR microcontrollers don't provide that speed, on the other hand, ARM processors seem not to be appropriate for IO usage of robot.

What do you suggest for my need????
Except for going against being too ambitious when starting out, you might wanna consider a Pico-ITX.

But starting out with something a bit simpler than image processing, is probably the best advice I can give :)
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline artmis

  • Jr. Member
  • **
  • Posts: 7
  • Helpful? 0
Re: mircocontrollers
« Reply #13 on: April 20, 2012, 12:12:39 AM »
Well, all right, but I've done several robots till now and I built this robot using IR sensors, Sharp and Ultra Sonic modules, compass and...
But I didn't succeed in competitions; once the compass wasn't fix, the other time a module hadn't work well, and usually IR sensors answered wrong because of environmental noise and many other problems... .
I think now it's the time for using IP in this robot (junior soccer)

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: mircocontrollers
« Reply #14 on: April 24, 2012, 09:22:15 PM »
Hi,

Well, all right, but I've done several robots till now and I built this robot using IR sensors, Sharp and Ultra Sonic modules, compass and...
OK... It's always good to mention your present level when asking for advice :)


But I didn't succeed in competitions; once the compass wasn't fix, the other time a module hadn't work well, and usually IR sensors answered wrong because of environmental noise and many other problems... .
I think now it's the time for using IP in this robot (junior soccer)
Yeah, it's more fun to make new mistakes, rather than repeating old ones - with your previous, however, I'd disagree about your last sentence. If you wanna get good at something, don't step up until you master your present level. or you'll continue to have problems that you don't understand.

A fellow student (back in those happy days :)) took his engineering exam  with a final project containing: 1 transistor!
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

 


Get Your Ad Here

data_list