Best route to Atmega 644P 1284P

Looking for some advice, my current project has outgrown the 328's pins but I want to keep with DIP packaging.

I was originally looking at the 644p but the old sanguino website has gone, was there ever "Official" support for the 644p?

Failing that the ATMEGA1284P is only bit or so more expensive, although im not keep on the overkill, its the pins I need not the memory space.

Long term i need to be able to program and use on breadboard/pcb so im looking for a very lean implementation that doesn't rely much on a certain board.

I Also want to use an existing Uno as a programmer.

The end product if i ever get anywhere with it, will be a little cost sensitive so would prefer the 644p even a bit makes a difference in volume!

I have details about the 1284P on a breadboard here: http://www.gammon.com.au/breadboard

A quick search seems to indicate that the 1284P and the 644P are virtually identical prices.

I use my Uno as a programmer, using my hex uploader sketch: http://www.gammon.com.au/uploader

Having said that, I think you will find support for the 644P in software. It's not as if microcontroller software "goes old" because it is all standalone.

Could always go '324 if 32K is not the issue, only the 40 pins: http://www.mouser.com/ProductDetail/Atmel/ATMEGA324A-PU/?qs=sGAEpiMZZMuHCAZ7U3Ea2skAvJUUps2U

http://www.mouser.com/ProductDetail/Atmel/ATMEGA644A-PU/?qs=sGAEpiMZZMuHCAZ7U3Ea2mPRzsF48CxU

http://www.mouser.com/ProductDetail/Atmel/ATMEGA1284-PU/?qs=sGAEpiMZZMuHCAZ7U3Ea2ml9tu8MQCyX

Or '164 if 16K is enough flash: http://www.mouser.com/ProductDetail/Atmel/ATMEGA164A-PU/?qs=sGAEpiMZZMutXGli8Ay4kN7Z7pzhQUgeSMNcNSu4%2fTk%3d

There've been some interesting discussions on getting '324 running in the IDE recently. Check the 324A - 324P - 324PA suffixes, make sure the chip you choose has the IO you need. (ex. dual serial ports vs single).

All very interesting! Have to admit I was not aware of the 40 pin smaller chips! the 164 is ideal if I can squeeze what I want into it.

Getting them to behave in the IDE is pretty important to me at the moment at least, shame there aren't any boards using these variants.

Typically I just bought a few of the larger ones, I guess I can see how small I can get it and then see which of the smaller ones is appropriate!

Bob, is there actually a bootloader and IDE library variant for the '324 chip? The Mighty1284 library does not support it, unless I'm mistaken? Just about everyone is using the 1284P around here.

Guchion, be sure to buy the "P" version of the chips, if you want best compatibility with everything else round here. At least with the 1284(P), a lot of people have bought the 1284-nonP version, and had trouble [ie, needing guidance to figure things out].

Bob, is there actually a bootloader and IDE library variant for the '324 chip? The Mighty1284 library does not support it, unless I’m mistaken? Just about everyone is using the 1284P around here.

Here in this topic about 324P http://forum.arduino.cc/index.php?topic=300377.msg2123508#msg2123508 , response #13, #14 attached file as example. It is not a problem to build the optiboot for it although there is only 644 and 1284 type included. Variant can be used the same as some of existing for 1284P since the pin configuration is identical for the product line. Some modification in boards.txt based on 1284P version is needed.

As many in this section have seen, I’ve gone through hell and back trying to get a 324p to work.

Personally, I say just bite the bullet and buy the 1284p. The ability to plug-and-play the bootloader and code is worth the 2-5$ you spend extra. To you, then, the memory is a bonus.

I didn’t do my research when I bought my 324p. I thought it was the best one out there…

Budvar10: Here in this topic about 324P http://forum.arduino.cc/index.php?topic=300377.msg2123508#msg2123508 , response #13, #14 attached file as example. It is not a problem to build the optiboot for it although there is only 644 and 1284 type included. Variant can be used the same as some of existing for 1284P since the pin configuration is identical for the product line. Some modification in boards.txt based on 1284P version is needed.

Then of course, you have to 'fix' all the libraries too, to support the 324. We've just spent 2 years hashing that out for the 1284, so shouldn't be too big a problem for the 324.

Aloha --

I just got up and running with a 1284P from Mouser (8.59 USD, I think). There are some fresh forum threads and a couple great tutorials available. I too ran out of pins on the 328P's and just so happens this is a common occurrence amongst folks. Plus, Nick's 328P tutorial just happens to be located, if you scroll down a bit, above a similarly easy to follow 1284P tutorial. How convenient.

Mark