Go from Nano to ESP32

Looking to upgrade from a Nano to use a ESP32 because of wi-fi, bt.

A sketch on Nano working great, can I expect that to work on ESP32 ok and then add wifi.

Charles

The answer is that it depends on your sketch.

For instance, if your sketch uses direct port manipulation on the Nano then it will not work on the Nano ESP32

I suggest that you post your sketch here for advice

I have moved your topic to the Nano ESP32 category

I went through that process, and it was not a simple thing to do.

Specifically I had problems with the DS18B20 temperature sensor and the instruction cache causing readings to fail and also the WS2812b LEDs triggering watchdog reboots when used at high frame rates.

There are significant hardware interfaces that have to be taken into account when migrating a peripheral library to the ESP32, and not all libraries do it properly.

Hello everyone! Arduino ESP32 core 2.0.12 is out, and it adds a new menu option to use a more library-compatible pin numbering scheme. Read all about it here and try it out!

Happy hacking! :hammer_and_wrench:

1 Like

Sounds great just what I want. Where do I locate a library with examples?

Thanks

Charles

Thank you! Core 2.0.12 solves the sketch upload problem I (and many others) had (some UDF issue if I recall well) with Arduino Nano ESP32.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.