ARDUINO NANO MEMORY UPGRADE WITH NO SOLDERING

Summary of ARDUINO NANO MEMORY UPGRADE WITH NO SOLDERING


This article discusses how to increase available program memory on some Arduino Nano boards by replacing the default bootloader with the Optiboot bootloader. Many Nano clones reserve a large memory block for the bootloader unnecessarily. By reprogramming the bootloader and adjusting configuration fuses using another Arduino or an AVR programmer, users can reclaim approximately 1.5KB of extra program space without soldering. The article notes this is already done on Arduino Uno boards. This method is applicable to older Arduino boards supported by Optiboot, enabling potential new features like speech recognition.

Parts used in the Arduino Nano Memory Upgrade:

  • Arduino Nano board (target device)
  • Second Arduino board (for programming)
  • USB cables
  • AVR programmer (optional alternative to second Arduino)

Ok, we’ll come clean. [Design Build Destroy] didn’t really add any memory to his Arduino Nano. But he did get about 1.5K more program space when compared to the stock setup. The trick? On some Nano boards and clones, the bootloader is set to use a large block of reserved memory, but Optiboot only requires a fraction of that reserved memory. By reprogramming the bootloader and changing the configuration fuses, you can reclaim that unused memory.

Image

Of course, you can’t easily overwrite the bootloader and fuses over the serial port to prevent you from bricking your device. The video below shows how to connect another Arduino to do the programming. You could also use any dedicated AVR programmer you happen to have. Oddly, the Uno already uses Optiboot with the same processors, and is set correctly and the video shows the differences in the configuration between the two in their default state.

Of course, depending on where you get your Nano devices and their age, you may already have this set up at which point you won’t gain anything, but you should be able to easily tell if you need to go through the steps or not. The same trick will probably work with any older Arduino boards you have laying around if Optiboot supports them. What can you do with the extra memory? Maybe speech recognition?

Source: ARDUINO NANO MEMORY UPGRADE WITH NO SOLDERING


About The Author

Image

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top