Atmel or Microchip - Page 1
Forum section: electronics / beginners

author: paul30003
author_rank: Contributor
timestamp: December 19, 2010, 03:26:15 pm
content: Hi,I'm not new to electronics, but I am new to microcontrollers. Ive been experimenting with the Arduino as an introduction to micro's, but I'm not sure how far I should take this. I'm not sure what micro i should spend time with.Should it be with Microchip's pic family of micro's or the Atmel's.How can I make a decision on which micro to spend my time on.I don't want to get into low level assembly, so a c environment is essential for the IDE.Help please.Thanks

author: Simon
author_rank: Unknown
timestamp: December 19, 2010, 04:32:00 pm
content: oh dear your opening a can of worms and people at this moment are getting their bazuca's out and firing up the nukes....from what I hear Atmel are supposed to be faster and I stress "supposed to be" but the atmel support for the hobbiest is not so goodMicrochip have a large following and a lot of tools out there.Either way both lines have all the power you could need so really it's not down to technical specs, with 5 MIPS available from even the lower end chips (2MIPS with internal clock) you will be spoilt either way

author: Unknown
author_rank: Unknown
timestamp: December 19, 2010, 06:45:32 pm
content: Both are a good choice. Performance is a non-issue in my opinion, if you cared about performance, you'd be using a 32-bit micro (eg. ARM).Microchip has better availability (AVR availability currently sucks, especially the models used in the Arduino or to hack game consoles). AVR has better open-source tools (using open source compilers like GCC with 8-bit PIC seems to involve a fair amount of work, it works out of the box with WinAVR). For me the latter was the deciding factor. If you don't mind paying for a compiler or don't need optimizations and use Windows exclusively, PIC is a fine solution. PIC has more available models to choose from, for example they have some parts with USB support in DIP, which might be an advantage for those afraid of SMT.

author: Simon
author_rank: Unknown
timestamp: December 19, 2010, 06:59:06 pm
content: on the programming environment front you may want to take a look at mikroe.com and see what they are offering, they do numerous programming environments for a number of languages for a number of micro controllers. of course others may have more to offer

author: tyblu
author_rank: Frequent Contributor
timestamp: December 19, 2010, 07:38:03 pm
content: AVR availability is fixed now. To tell you the truth, getting into either is easy as pie. The choice between them should really be on which unit does what you want it to do. I like the tutorials on AVRFreaks.net and using avrdude, but both the PICkit and AVRISP/Dragon make programming a breeze if you use the native IDE's (MPLAB, AVR Studio).

author: Simon
author_rank: Unknown
timestamp: December 19, 2010, 07:54:29 pm
content: my current setup is PIC, programming with a PICKIT2 and writing programs in Mokoe Basic (thinking of going to C when I have time) which outputs the HEX file for the PICKIT2, the pickit2 interface allows you to set an autofile change detection so you can plug your pic into the programmer, edit your basic/C/whatever code and build it, the pickit will detect the nex hex file (with the same name) and automatically flash it

author: Bored@Work
author_rank: Super Contributor
timestamp: December 19, 2010, 09:49:21 pm
content: Quote from: Simon on December 19, 2010, 06:59:06 pmTheir AVR compilers are of horrible quality.

author: TopherTheME
author_rank: Regular Contributor
timestamp: December 19, 2010, 10:00:39 pm
content: Flip a coin.

author: paul30003
author_rank: Contributor
timestamp: December 19, 2010, 10:58:42 pm
content: Quote from: TopherTheME on December 19, 2010, 10:00:39 pmOkhttp://www.random.org/coins/?num=1&cur=60-gbp.1poundheads, AtmelTails, MicrochipMicrochip it is:

author: Unknown
author_rank: Unknown
timestamp: December 19, 2010, 11:00:21 pm
content: Quote from: BoredAtWork on December 19, 2010, 09:49:21 pmI believe the MikroE compilers translate the code to an intermediate language and execute the result on a virtual machine (with horrible performance and code size), and the quality of the libraries isn't too great either. I haven't personally verified this, however. I've never seen the compiler recommended by experienced embedded developers, at least for AVR. Most seem to use gcc, IAR, Rowley or Codevision (which has neat wizards, but the compiler is worse than IAR/Rowley).Quote from: TopherTheME on December 19, 2010, 10:00:39 pmAt least program a PIC/AVR to flip a virtual coin. Use both to make sure they aren't biased to recommended themselves. Use an MSP430 to analyze the results.

author: johnmx
author_rank: Frequent Contributor
timestamp: December 20, 2010, 12:54:36 am
content: Quote from: paul30003 on December 19, 2010, 10:58:42 pmMy advice buy a PICKit 3, it’s very cheap yet powerful.You can buy just the programmer:http://www.microchipdirect.com/ProductSearch.aspx?Keywords=PG164130or as a kit (PICkit™ 3 Debug Express). Microchip is offering 20% discount on the kit, check the 1st page of following newsletter:http://ww1.microchip.com/downloads/en/Market_Communication/December%202010%20Microsolutions.pdf?from=rssYou have another option from Sure Electronics. I have one and it works:http://www.sureelectronics.net/goods.php?id=1141

author: slburris
author_rank: Frequent Contributor
timestamp: December 20, 2010, 12:59:54 am
content: Quote from: tyblu on December 19, 2010, 07:38:03 pmWell, let's just try to get a atmega328p in the DIP package, very popular due to theArduinos.Checking Digikey, stock is 0. In fact, I can't even get an estimated ship date for10 pieces. Never seen that before.OK, let's try Mouser. Nope. 28 week lead time, although they think they will get 10Kon 1/17/2011. Hmm....Trying Newark, none there either. Lead time quoted is 69 days!OK, trying Arrow. Nothing there, no lead time. In fact, they say these chipsare on factory allocation. Not a good sign.Well, how about NuHorizons? No stock, 16 week lead time.Compared to the PIC parts which you can practically buy at your localgrocery store, Atmel isn't doing so well.Scott

author: EEVblog
author_rank: Unknown
timestamp: December 20, 2010, 01:41:26 am
content: Quote from: slburris on December 20, 2010, 12:59:54 amI agree.I'm working on some Arduino compatible designs at the moment and the lack of availability of the devices is a massive concern.Almost to the point of wanting to abandon the Arduino platform.Dave.

author: Mechatrommer
author_rank: Super Contributor
timestamp: December 20, 2010, 01:54:57 am
content: Quote from: slburris on December 20, 2010, 12:59:54 amyup, atmel really sucks on that! better ask this individual to get the supply, instead of those big companies.thailand based:http://cgi.ebay.com.my/ATMEL-ATmega328-P-PU-Arduino-Bootloader-/220676880275?pt=LH_DefaultDomain_0&hash=item33615df793US based:http://cgi.ebay.com.my/ATmega328-Arduino-Bootloader-/280531786580?pt=LH_DefaultDomain_0&hash=item4150ff5b54and here's the search result on ebay:http://shop.ebay.com.my/i.html?_nkw=atmega+328&_sacat=0&_sop=2&LH_AvailTo=127&_odkw=atmega+328&_osacat=0&_trksid=p3286.c0.m270.l1313

author: slburris
author_rank: Frequent Contributor
timestamp: December 20, 2010, 02:22:47 am
content: You know, I used to have no problem buying chips from Ebay sellers.But every since Sparkfun got burned with the fake Atmel chips,I'm now thinking twice about buying stuff other than through officialdistributors.Scott

author: Mechatrommer
author_rank: Super Contributor
timestamp: December 20, 2010, 03:14:12 am
content: Quote from: slburris on December 20, 2010, 02:22:47 amnow the official dist. got the plague too! in the latest Dave's digikey vidz.

author: Simon
author_rank: Unknown
timestamp: December 20, 2010, 12:47:26 pm
content: getting a pickit from microchip can prove more exspensive than they make it look. go to farnell, RS, Digikey or who ever

author: paul30003
author_rank: Contributor
timestamp: December 20, 2010, 08:05:41 pm
content: Sounds like the atmega328's are rare as rocking horse poo. I've got 3, $100 each if anyone's interested.I can walk into my local Maplin electronics store, and buy pics over the counter.

author: Simon
author_rank: Unknown
timestamp: December 20, 2010, 08:27:27 pm
content: Quote from: paul30003 on December 20, 2010, 08:05:41 pmThat's an interesting way of putting rare

author: Psi
author_rank: Super Contributor
timestamp: December 20, 2010, 08:35:31 pm
content: Quote from: paul30003 on December 20, 2010, 08:05:41 pmI bet there's a few pic versions your local store doesn't have in stock either.It's just that everyone wants the mega328's, cant really blame it for being popular

author: paul30003
author_rank: Contributor
timestamp: December 20, 2010, 09:07:45 pm
content: Quote from: Simon on December 20, 2010, 08:27:27 pmA typical way us pome's describe how rare something is mate!

author: Simon
author_rank: Unknown
timestamp: December 21, 2010, 07:53:41 am
content: so now what is a pome ?

author: Bored@Work
author_rank: Super Contributor
timestamp: December 21, 2010, 08:53:22 am
content: Quote from: Simon on December 21, 2010, 07:53:41 amSomeone who cares about rocking horse poo.

author: Time
author_rank: Frequent Contributor
timestamp: December 21, 2010, 04:53:01 pm
content: prisoner of mother england