Norway
Offline
Full Member
Karma: 1
Posts: 107
total n00b
|
 |
« on: September 10, 2012, 05:49:31 am » |
Hi! I've been looking at the atmega1284 chip the past few weeks, and I think it's a great chip if you need a LOT of flash memory, and more IO ports. The only problem is that the AVR it selves costs about 17$ with shipping from ebay. that's about the price of a Mega2560 (clone). Since I don't need that much flash memory, I started looking for other, cheaper alternatives. the difference between 1284 and 644 when it comes to price isn't big. just a few dollars (at ebay). still, the smaller Atmega32A costs about 4$, and also have a lot of IO pins.
does it exist an Arduino bootloader for the Atmega32A? is there a cheaper place to buy AVRs than ebay?
Thanks!
|
|
|
|
« Last Edit: September 10, 2012, 09:01:29 am by hansibull »
|
Logged
|
|
|
|
|
|
|
Leeds, UK
Offline
God Member
Karma: 35
Posts: 988
Once the magic blue smoke is released, it won't go back in!
|
 |
« Reply #2 on: January 06, 2013, 04:40:14 pm » |
|
|
|
|
|
Logged
|
~Tom~
|
|
|
|
Valencia, Spain
Offline
Edison Member
Karma: 65
Posts: 2280
|
 |
« Reply #3 on: January 06, 2013, 04:47:27 pm » |
does it exist an Arduino bootloader for the Atmega32A?
Why on earth would you want a bootloader if you're building a standalone device? Get a $10 ISP programmer.
|
|
|
|
|
Logged
|
|
|
|
|
Sweden
Offline
Newbie
Karma: 1
Posts: 48
|
 |
« Reply #4 on: January 07, 2013, 12:19:02 pm » |
Ebay is not always the best place to buy from. I don't know why ATMega1284 is so expensive on ebay.
I recommend Futurlec, I have bought microcontrollers from them a couple of times. ATMega1284 6.9$ ATMega328 2.20$ ATTiny85 1.15$
I think 6.9$ is a bit expensive compared to ATMega328. I also recommend buying a separat programmer and skip the bootloader.
/Olof
|
|
|
|
« Last Edit: January 07, 2013, 12:24:22 pm by olof_n »
|
Logged
|
|
|
|
|
Norway
Offline
Full Member
Karma: 1
Posts: 107
total n00b
|
 |
« Reply #5 on: January 20, 2013, 09:52:22 am » |
But if i'm going standalone, without a bootloader, can I still use the arduino IDE, but just program with an ISP instead, like USBasp?
|
|
|
|
|
Logged
|
|
|
|
|
Sweden
Offline
Newbie
Karma: 1
Posts: 48
|
 |
« Reply #6 on: January 20, 2013, 10:41:44 am » |
Yes, in the IDE you choose "Upload using programmer" from the file meny.
|
|
|
|
|
Logged
|
|
|
|
|
Norway
Offline
Full Member
Karma: 1
Posts: 107
total n00b
|
 |
« Reply #7 on: January 20, 2013, 11:35:00 am » |
But I still need some lines in the boards.txt file? how would the ISP be able to recognize the AVR without knowing clock freq. and fuses+
|
|
|
|
|
Logged
|
|
|
|
|
|
|
SF Bay Area (USA)
Offline
Faraday Member
Karma: 78
Posts: 5454
Strongly opinionated, but not official!
|
 |
« Reply #9 on: January 20, 2013, 06:49:07 pm » |
http://no.farnell.com/atmel/atmega1284-pu/mcu-8bit-avr-128k-flash-40pdip/dp/1972067About $6.50, plus shipping... eBay is weird for electronics parts. There are some bargains. And there are some sellers that look like they're buying at full list price and selling at double that, just to rip off the people who think that they can't buy from regular distributors...
|
|
|
|
|
Logged
|
|
|
|
|
|