Pages: 1 ... 30 31 [32]   Go Down
Author Topic: ATMEL Mega1284P evaluation board avalible  (Read 68334 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26523
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Don't know, wouldn't be bad.
ATMega1284 <$6 at Mouser.
10 boards ~$25 from itead studio
caps, resistors, leds in the pennies each range.
ft232rl $4.50
headers, shop around
power connector, crystal, can be had from dipmicro.com like 30 cents each
regulators are like 65 cents

Put in DIP cause that's the part that  usually get smoked! Also folks can do development, programming, pull it out & build into standalone item.
X3 lets FT232 be used to bitbang a bootloader into the part
http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html
Can likely be left off with wide availabilty of AVR programmers such as
http://www.mdfly.com/index.php?main_page=product_info&cPath=5&products_id=415

Looks like plenty of room that thruhole parts could be used for many parts instead, make assembly easier.
FTDI chip only available as SMD.
The Rx/Tx LEDs are driven by the FTDI chip, user does not have control there.
I've often thought of just leaving the FTDI chip & part off and gluing a part like this onto the board instead,
http://www.ebay.com/itm/USB-2-0-TTL-UART-6PIN-Module-Serial-Converter-CP2102-/290643946254?pt=LH_DefaultDomain_0&hash=item43abbaab0e
(Hey look at that, right from Boston too)
that would lower the cost as well.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Seattle, WA
Offline Offline
God Member
*****
Karma: 11
Posts: 673
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I've often thought of just leaving the FTDI chip & part off and gluing a part like this onto the board instead,
http://www.ebay.com/itm/USB-2-0-TTL-UART-6PIN-Module-Serial-Converter-CP2102-/290643946254?pt=LH_DefaultDomain_0&hash=item43abbaab0e
(Hey look at that, right from Boston too)
that would lower the cost as well.

Wow that's cheap!  Yeah, I would leave it off.  The normal route is get an FTDI cable or a breakout board from Sparkfun.  The thing is, you only need as many FTDI chips as you want to have units connected to the computer at once.  Putting them on every board is BOM waste, IMO.
Logged


Ontario, Canada
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
Love OpenSource...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Unexpectedly I did have more time to work on this today. Added a 5x2 header for the IO I had not brought out. Also added a jumper for selection of power source, instead of shottky diode.


* uino-1284p-brd.png (85.59 KB, 686x512 - viewed 108 times.)

* uino-1284p-sch.png (315.65 KB, 1555x1127 - viewed 102 times.)
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 43
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

"The SD library has its own pin mapping tables, for the ATmega1284 it assumes the Sanguino pin mapping. "
So as long as you keep SS, MOSI, MISO,SCK as D10, 11,12,13, there is no problem.

Are you sure? Your Bobuino_directions.doc file states: "And finally download & install the SdFat library
http://code.google.com/p/sdfatlib/downloads/detail?name=sdfatlib20110702.zip&can=2&q=
and use  this file C:\Arduino-0022\libraries\SdFat\Sd2PinMap.h". Your Bobuino17.zip file contains a modified Sd2PinMap.h file with a Bobuino-specific mapping. Maybe you've forgotten about these changes?

Actually I made a mistake in my post, I used the '644 initially and the SD library does assume the Sanguino mapping in this case. There's no specific mapping in Sd2PinMap.h for the ATmega1284, it falls back to using the mapping for the ATmega328, ie SPI on D10-D13 (ie PORTB2-PORTB5). The ATmega1284 needs PORTB4-PORTB7.

Either way some modification to SD/utility/Sd2PinMap.h is needed.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26523
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Huh! I totally forgot about that.
You're right, I copied the Sanguino portion and redid it for my '1284 usage, and commented '1284 out of the Sanguino part:
Code:
#elif defined(__AVR_ATmega1284P__)
// add this if use these other chips
// ||defined(__AVR_ATmega644P__) || defined(__AVR_ATmega324P__)

// ATMEL ATMEGA1284P / BOBUINO
//
// Make it agree with the as-built hardware & pins_arduino.c
//
//                      +---\/---+
//  INT0 (D 4)  PB0  1|        |40  PA0 (AI 0 / D14)
//  INT1 (D 5)  PB1  2|        |39  PA1 (AI 1 / D15)
//  INT2 (D 6)  PB2  3|        |38  PA2 (AI 2 / D16)
//   PWM (D 7)  PB3  4|        |37  PA3 (AI 3 / D17)
//   PWM (D 10) PB4  5|        |36  PA4 (AI 4 / D18)
//  MOSI (D 11) PB5  6|        |35  PA5 (AI 5 / D19)
//  MISO (D 12) PB6  7|        |34  PA6 (AI 6 / D21)
//   SCK (D 13) PB7  8|        |33  PA7 (AI 7 / D22)
//              RST  9|        |32  AREF
//              VCC 10|        |31  GND
//              GND 11|        |30  AVCC
//            XTAL2 12|        |29  PC7 (D 29)
//            XTAL1 13|        |28  PC6 (D 28)
//  RX0 (D 0)   PD0 14|        |27  PC5 (D 27) TDI
//  TX0 (D 1)   PD1 15|        |26  PC4 (D 26) TDO
//  RX1 (D 2)   PD2 16|        |25  PC3 (D 25) TMS
//  TX1 (D 3)   PD3 17|        |24  PC2 (D 24) TCK
//  PWM (D 30)  PD4 18|        |23  PC1 (D 23) SDA
//  PWM (D 8 )  PD5 19|        |22  PC0 (D 22) SCL
//  PWM (D 9)   PD6 20|        |21  PD7 (D 31) PWM
//                    +--------+
//

and
Code:
// SPI port
   uint8_t const SS_PIN =   10;  // physical 5, D 10  SS
   uint8_t const MOSI_PIN = 11;  // physical 6, D 11  MOSI
   uint8_t const MISO_PIN = 12;  // physical 7, D 12  MISO
   uint8_t const SCK_PIN =  13;  // physical 8, D 13  SCK

vs this modified portion for Sanguino, where the D#s for the pins do not follow the Arduino at all

Code:
#elif defined(__AVR_ATmega644P__)||\
      defined(__AVR_ATmega644__)
// || defined(__AVR_ATmega1284P__)
// Sanguino

// SPI port
uint8_t const SS_PIN = 4;
uint8_t const MOSI_PIN = 5;
uint8_t const MISO_PIN = 6;
uint8_t const SCK_PIN = 7;












Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Ontario, Canada
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
Love OpenSource...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Got my boards... today another version of my 1284p creation arrived. This is version 0.2 without the additional IO pins brought out to a non-standard header.


* uino-1284p-v0.2-top.jpg (114.23 KB, 600x462 - viewed 105 times.)

* uino-1284p-v0.2-bottom.jpg (68.6 KB, 600x466 - viewed 62 times.)
Logged


Málaga, Spain
Offline Offline
Edison Member
*
Karma: 40
Posts: 2182
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, that board just looks great! Let us know how it goes!
Logged

   

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26523
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

'1284 DIP version of Duemilanove with options for USB/Serial interface PCB is ready!
Will take shields, and has 2 hardware serial ports and 12 additional IO (2 more analog/digital, 10 digital) than a '328.
Can have an FTDI Basic/FTDI Cable plugged temporarily plugged on for downloading sketches,
Can have one of these from Mouser put on for permanent use
http://www.mouser.com/ProductDetail/mikroElektronika/MIKROE-483/?qs=sGAEpiMZZMuNcqZxhMNT3znYT0k8AsjH
or none at all, up to the user.
The '1284 pins are broken out per maniacbugs Arduino mod here, select Bobuino as the board type.
https://github.com/maniacbug/mighty-1284p
Only a couple of surface mount parts - the regulators and the USB polyfuse.
50 boards available if you want some.
Prices shipped to US locations, mailed in letter size envelopes for qtys 1, 2, 3, and small boxes in qty 4 & above due to size & stacked thickness.

1-lot $4.50
2-lot $6.75
3-lot $9.25
5-lot $17.00
10-lot $28.25

International, will have to check.


* Atmega1284_thruhole_pcb.jpg (465.83 KB, 1824x663 - viewed 118 times.)

* ATMega1284_thruhole_sch1.png (80.48 KB, 2444x1233 - viewed 111 times.)
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi,
nice work and i am also trying to boot load atmega1284p. Can i get the boot loader?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26523
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Will post a file when I get homr.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: 1 ... 30 31 [32]   Go Up
Jump to: