Insufficient SRAM on ATmega328P for compact GPS module project

I have just about finished the physical design on a compact GPS module using an ATmega328 when I realised that the blnking thing doesn't have enough memory to hold all 3 SD/GPS/OLED libraries.

It has just enough program storage space but the dynamic storage is at 144%!

Are there any simplified (smaller) libraries for these components that I could use?

Components:

  • ATmega 328
  • Adafruit Ultimate GPS
  • Catalex MicroSDcard adapter (with a 4GB HC card)
  • 4 pin OLED display

Thanks in advance!

Hi,
What is the application?

Tom.... :slight_smile:

Hi,
Again, how many projects have you got on the go at the moment, I count 6 different threads.
What is your electronics, programming, arduino, hardware experience?
Is this a school/college/university project?

Tom... :slight_smile:

Have you already applied liberal use of the F() macro?

This is also useful: http://www.gammon.com.au/progmem

NeoGPS could save you quite a bit of flash and at least 280 bytes of RAM, compared to the Adafruit library. NeoGPS can be configured to parse and save only the messages and fields that you actually use.

Cheers,
/dev

Callan Mackay?

http://forum.arduino.cc/index.php?topic=349581.msg2411897

CallanMackay:
Hi,

I have just about finished the physical design on a compact GPS module using an ATmega328 when I realised that the blnking thing doesn't have enough memory to hold all 3 SD/GPS/OLED libraries.

It has just enough program storage space but the dynamic storage is at 144%!

Are there any simplified (smaller) libraries for these components that I could use?

Components:

  • ATmega 328
  • Adafruit Ultimate GPS
  • Catalex MicroSDcard adapter (with a 4GB HC card)
  • 4 pin OLED display

Thanks in advance!