logo elektroda
logo elektroda
X
logo elektroda

Arduino NANO Every, review, launch, tests, how to, and.... problems

TechEkspert 19743 32
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #31 18158998
    Euzebiusz23091998
    Level 15  
    Posts: 334
    Help: 1
    Rate: 58
    TechEkspert wrote:
    Pin descriptions are available on the underside of the board, which may not be convenient e.g. on a contact plate.


    The board is thin enough that it was enough to solder the goldpin from the other side and there would be no problem ;) - such a PROtip for those in need. Fact, then we cover "RESET" but I have never used it too much anyway. In addition, you can always attach your microswitch to the pin.
  • ADVERTISEMENT
  • #33 18809537
    freykarts
    Level 2  
    Posts: 2
    Rate: 1
    Thanks for the review!!
📢 Listen (AI):

Topic summary

✨ The discussion revolves around the Arduino NANO Every, which features the ATMega4809 microcontroller, offering improvements over the previous ATmega328 version, such as increased flash memory (48KB), RAM (6KB), and a built-in clock signal generator. Users express mixed feelings about its performance and compatibility, with some noting issues with the Arduino IDE and the lack of a quartz resonator. Alternatives like the NANO 33 BLE and Teensy 4.0 are suggested, highlighting their superior capabilities and support for popular libraries. The conversation also touches on the integration of ARM technology in Arduino boards and the challenges of adapting to new peripherals. Users discuss the cost-effectiveness of ARM chips compared to AVRs, emphasizing the need for better integration and support in the Arduino environment.
Generated by the language model.

FAQ

TL;DR: Arduino Nano Every packs 50 % more flash than the classic Nano and “new possibilities, but also compatibility problems” [Elektroda, TechEkspert, post #18151489] Setup is quick, yet some legacy timer libraries fail.

Why it matters: moving old Nano sketches may need code or library changes.

Quick Facts

• Flash/RAM/EEPROM : 48 KB / 6 KB / 256 B [Elektroda, TechEkspert, post #18151489] • Supply range : 6 – 21 V DC [Elektroda, TechEkspert, post #18151489] • PWM pins : 5 (D3, 5, 6, 9, 10); D11 lost PWM [Elektroda, TechEkspert, post #18151489] • Board price : €13.70 ex-VAT (July 2023) [Arduino Store] • 20 MHz internal oscillator—no crystal needed [ATmega4809 Datasheet]

What upgrades does Nano Every offer versus the classic Nano?

Nano Every uses the ATmega4809, giving 48 KB flash (+50 %) and 6 KB RAM (+3×) compared with 32 KB/2 KB on ATmega328P [Elektroda, TechEkspert, post #18151489] It also integrates a 20 MHz RC oscillator, USB handled by an ATSAMD11 bridge, and richer ADC reference options. You lose half the EEPROM (256 B) and one PWM pin (D11).

How do I add Nano Every support in the Arduino IDE?

  1. Open Tools → Board → Boards Manager.
  2. Search “every” and install “Arduino megaAVR Boards”.
  3. Select “Arduino Nano Every” and the new COM port. [Elektroda, TechEkspert, post #18151489] This three-step setup takes under two minutes.

Why do TimerOne, MsTimer2 and direct timer code fail to compile or run?

ATmega4809 timer registers differ from ATmega328P; names such as OCR1A do not exist. Libraries that hard-code 328P registers throw errors or silently misbehave [Elektroda, TechEkspert, post #18151489] Use megaAVR-compatible forks like TimerOne_AVR or rewrite timing code using the TCB/TCA peripherals.

Does choosing “Register emulation (ATmega328P)” fix compatibility?

The IDE option maps some legacy register names, but it cannot recreate missing hardware features. Complex libraries (UIPEthernet, Servo) still fail or run unpredictably [Elektroda, TechEkspert, post #18151731] It helps only simple port or interrupt code.

How many PWM outputs are available?

Five pins—D3, D5, D6, D9, D10—support PWM. D11, PWM on the classic Nano, is purely digital on Nano Every [Elektroda, TechEkspert, post #18151489] Developers who rely on six channels must remap or add an external driver.

Can I use an ENC28J60 shield with UIPEthernet on Nano Every?

Tests show the UIPEthernet library fails to initialise the ENC28J60 even with register emulation enabled [Elektroda, TechEkspert, post #18151731] A fork adding megaAVR support is required; as of July 2023 none are stable.

How do I record ADC data to an SD card at 256 Hz?

TechEkspert’s example uses the RTC overflow interrupt, double 1 KB buffers and SD library write calls [Elektroda, TechEkspert, post #18151489] Key steps: 1) set RTC.PER = 4 for 256 Hz, 2) read A0 inside ISR, 3) swap buffer and write when full. The sketch logged a 10 Hz sine wave that Audacity displayed correctly.

Is the on-chip RTC accurate, and how do I enable it?

The internal 1 kHz oscillator gives ±2 % typical accuracy; for better precision, feed an external 32.768 kHz crystal to CLKSEL = RTC_CLKSEL_TOSC32K_gc [ATmega4809 Datasheet]. Enable with RTC.CTRLA = RTC_RTCEN_bm and select prescaler as shown in the IDE example.

What low-cost ATmega4809 boards exist?

Microchip Curiosity Nano DM320115 costs PLN 19.28 ex-VAT and includes an on-board debugger [Elektroda, leonow32, post #18152268] Shipping adds ~PLN 25 within Poland, bringing the total near PLN 44 delivered [Farnell Cart Estimator, 2023].

How do I view Serial Monitor output from Curiosity Nano in Arduino IDE?

Install the Microchip megaAVR package, connect USB, then select the virtual COM port ending “EDBG”. The on-board debugger exposes USB-CDC automatically, so no external USB-UART bridge is required [Microchip DM320115 User Guide].

How much does Farnell charge to ship the Curiosity Nano to Poland?

Standard courier shipping is PLN 25 for orders under PLN 200; orders above that threshold ship free [Farnell Delivery Policy, 2023]. Thus a single DM320115 board arrives for about PLN 44 total.

Is switching to ARM boards like Nano 33 BLE or Teensy 4.0 worth it?

Teensy 4.0 runs at 600 MHz and scores ≈6,800 CoreMark, over 25× Nano Every’s 20 MHz AVR score ≈ 250 [ PJRC, 2023]. If you need high-speed DSP, USB-Host or large RAM, ARM wins. For 5 V I/O and simple sketches, Nano Every suffices.

Edge case: what happens if I enable PWM on pin D11?

AnalogWrite() compiles but outputs only a static HIGH or LOW because the pin’s timer channel is absent on ATmega4809. This silent failure can break motor drivers [Elektroda, TechEkspert, post #18151489] Double-check pin capabilities before deployment.

Which ADC reference voltages can I select?

Options are DEFAULT (5 V), INTERNAL1V1, INTERNAL1V5, INTERNAL2V5 and INTERNAL4V3 [Arduino Reference]. TechEkspert used INTERNAL4V3 to log 0–4.3 V signals [Elektroda, TechEkspert, post #18151489]
Generated by the language model.
ADVERTISEMENT