Pages: [1]   Go Down
Author Topic: Arduino with Atmega32A core  (Read 1048 times)
0 Members and 1 Guest are viewing this topic.
Norway
Offline Offline
Full Member
***
Karma: 1
Posts: 138
likes to program Arduinos!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Cardiff, UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 69
Programmer of all sorts
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've bought an Atmega32A from Farnell in the UK.  It cost me about £4.  I have it on a breadboard and bootloaded it with an Arduino Uno.  It works fine apart from digitalRead not working for some reason.

These links should help you get going with the bootloader.

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=101227
 
http://retrointerfacing.com/?p=30
Logged

My Arduino 7 segment LCD/LED library

http://code.google.com/p/arduino-seven-segment/

Leeds, UK
Online Online
Edison Member
*
Karma: 71
Posts: 1639
Once the magic blue smoke is released, it won't go back in!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.newark.com/atmel/atmega1284p-pu/ic-8bit-mcu-avr-mega-20mhz-44-pdip/dp/68T2560?Ntt=68T2560

$7 doesn't seem that bad for an Atmega1284P. Its £3.80 here in the UK.
Logged

~Tom~

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 118
Posts: 4538
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

No, I don't answer questions sent in private messages...

Sweden
Offline Offline
Full Member
***
Karma: 1
Posts: 161
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Full Member
***
Karma: 1
Posts: 138
likes to program Arduinos!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Full Member
***
Karma: 1
Posts: 161
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, in the IDE you choose "Upload using programmer" from the file meny.
Logged

Norway
Offline Offline
Full Member
***
Karma: 1
Posts: 138
likes to program Arduinos!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Sweden
Offline Offline
Full Member
***
Karma: 1
Posts: 161
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes you still need to configure the IDE for your MCU.

I have tested Atmega1284P, Atmega8 and Attiny85 with my usbtiny programmer.

Manicabugs core worked fine for the 1284P: http://maniacbug.wordpress.com/2011/11/27/arduino-on-atmega1284p-4/

Some info about Atmega32.
http://blog.achuwilson.in/2011/12/arduino-ide-for-programming-atmega.html
« Last Edit: January 20, 2013, 11:59:35 am by olof_n » Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 106
Posts: 6364
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://no.farnell.com/atmel/atmega1284-pu/mcu-8bit-avr-128k-flash-40pdip/dp/1972067

About $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

Pages: [1]   Go Up
Jump to: