Go Down

Topic: Hacking the Uno! (Read 3981 times) previous topic - next topic

CrossRoads

Mar 26, 2011, 04:37 am Last Edit: Mar 26, 2011, 07:05 am by CrossRoads Reason: 1
Need more memory?  Need another Serial port?
Hack your Uno - add an ATMege644PA & MAX3232 (RS232 driver) for that hardware expansion that's been holding you back!


Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

frank26080115

Cool, just a minor detail, the ATmega644 does not have two serial ports, the ATmega644P does, do NOT forget that "P" at the end when you are placing an order.
Freelance engineer, consultant, contractor. Graduated from UW in 2013.

CrossRoads

Per Atmel:

ATmega644:
The high-performance, low-power Atmel 8-bit AVR RISC-based microcontroller combines 64KB ISP flash memory with read-while-write capabilities, 2KB EEPROM, 4KB SRAM, 32 general purpose I/O lines, 32 general purpose working registers, real time counter, three flexible timer/counters with compare modes and PWM,

2 USARTs,

byte oriented 2-wire serial interface, 8-channel/10-bit A/D converter with optional differential input stage with programmable gain, programmable watchdog timer with internal oscillator, SPI serial port, JTAG (IEEE 1149.1 compliant) test interface for on-chip debugging, and six software selectable power saving modes. The device operates between 2.7-5.5 volts.

USART:     2


ATmega644P (Mature product; not recommended for new designs. Replaced by ATmega644PA.)
USART:  2

So why do  you say one part type has 1 USART and the other has 2?
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

frank26080115

#3
Mar 26, 2011, 06:43 am Last Edit: Mar 26, 2011, 06:47 am by frank26080115 Reason: 1
Per Atmel, but probably updated by some intern who used CTRL-C CTRL-V too much

because, see attached
Freelance engineer, consultant, contractor. Graduated from UW in 2013.

CrossRoads

I've updated the original post to reflect that. Thanks.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Coding Badly


I suggest a bit of suspicion when it comes to the 644 datasheet.  In the old forum there was a discussion about the number of timers on the 644.  Assuming I remember correctly, the conclusion was that the information in the datasheet was wrong and that Atmel knew of the problem.

CrossRoads

Well, the 644 version sold as the Sanguino definitely has 2 serial ports. I don't about the timers, have not done any playing with those.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

mrinc

Hello

Any one know how to mod the UNO into having all the digital pins as PWM and not just the few that are already set.

Any help would be appreciated.

Thanks
- M.R. Inc -

Something fun to do.
I wonder what???
!!!!!!!!!!!ARDUINO!!!!!!!!!!!!!!!
        __    _____          __
|\  /| |  |     |   |\

Coding Badly

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1268806013

Go Up