Can Arduino Nano Every Be Used In Place of the Arduino Nano

I have been using the Nano for my projects but end up de-soldering all of the header pins. I would like to use the Arduino Nano Every in its place so I don't have to do all of that de-soldering.

Can I buy the Every in its place and just select the Every board, upload my sketch, hook up the same pin numbers/locations and have the Every run as good or better than the Nano? If it had a faster processor, that would be a plus.

Is this the best way to do what I am trying to do? Trying to keep the cost down too.

Mark

I'm not familiar with the Nano Every. As far as I know, not all libraries might work and direct IO manipulation is different.

You should be able to test this by installing the boards package and trying to compile your existing programs for the MegaAvr.

This is what Arduino says:

The microcontroller on the Arduino NANO Every runs at 5V and it is fully electrically compatible with the original Arduino Nano designs. The headers are mapped in the same way and it is possible to substitute any Arduino Nano board with the new Arduino Nano Every.

On the software side there might be some issue with third party libraries that don't manage the pin mapping of the microcontroller; if the sketch has assembly parts inside, you should turn on the "Register Emulation" mode to emulate ATmega328P registers in the 4809 while compiling.

https://www.arduino.cc/en/Guide/NANOEvery

MillerInsMark:
I have been using the Nano for my projects but end up de-soldering all of the header pins. I would like to use the Arduino Nano Every in its place so I don't have to do all of that de-soldering.

Nah, not making any sense at all! :roll_eyes:

Why would you be de-soldering pins?

What Nanos are these?

"Clone" Nanos - which are generally fine - are readily available with the pin headers separate. And you can get "screw shields" for the pinned ones.

The Nano Every is based on an atmega4809 instead of the atmega324 used in the Nano, so anything that directly addresses the hardware registers will not work. There are some libraries that are incompatible with the Nano Every, even though they do not show as incompatible in the IDE under Sketch > Include Library. The frequency of the main oscillator is not controlled by a crystal/resonator so the timing is less accurate, but you can easily change the frequency by modifying the boards.txt file or using MCUDude's MegaCoreX, which allows the selection of several frequencies from 1MHz to 20MHz. The IDE by default runs the board at 16MHz, even though the box and Arduino Store show it as a 20MHz board.

Some advantages of the Nano Every are larger memory (48K flash, 6K ram, as opposed to 32k/2k for the Nano), a more capable on-board voltage regulator, four hardware serial ports (two of which are implemented by the IDE, use MegaCoreX if you need more), an on-chip RTC (although accuracy is not good because of the lack of a crystal oscillator, and there is no battery backup). The board is also built with no components on the back of the board, with castellated contacts along the edge, so it can be directly soldered down to another PC board. Also, there is no need to use PROGMEM instructions for the Nano Every, constant data will automatically be placed into flash memory by the IDE, although code using PROGMEM will still compile properly for compatibility purposes.

I see someone else has already pointed out the non-Arduino branded Nano's are readily available without headers.

david_2018:
I see someone else has already pointed out the non-Arduino branded Nano's are readily available without headers.

However the virus has at least doubled the prices! :astonished: