• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

esp32 v. esp8266

Q&A Forum › esp32 v. esp8266
0 Vote Up Vote Down
Jack Douglas asked 5 years ago

Hi Sara and Rui

First I wanted to thank you for all the material you have put together and I look forward to continuing to learn from you guys!

Second, I’ve been meaning to ask for a comparison of esp32 vs esp8266.   It was always my understanding that the esp32 was a “better version” of esp8266.  So then why continue to use the esp8266?  What are the pro’s and con’s for either, and when to select one or the other?

Thanks

Jack

Question Tags: ESP32, ESP8266
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi Jack.
Thanks for following our work.
In our opinion, the ESP32 is a better version of ESP8266. However, some people still prefer to use the ESP8266. It is cheaper and there are libraries and  integrations for the ESP8266 that might not be still available for the ESP32. Additionally, many people have ESP8266 boards before the ESP32 came out, so they still prefer to use it.
For an in-depth comparison, you can read the following articles (written by us – MakerAdvisor ir part of RandomNerdTutorials)

  • ESP32 vs ESP8266
  • ESP8266 Boards Comparison
  • ESP32 Boards Comparison

I hope this helps.
Regards,
Sara

0 Vote Up Vote Down
Jack Douglas answered 5 years ago

Thanks Sara

In general, can code written for an esp8266 be used for an esp32 ?

What edits would need to be considered?

Jack

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi Jack.

It depends on the application.

If you’re importing libraries, some are compatible with both boards. Others are just compatible with one board or the other.

For example, when using Wi-Fi, the ESP32 uses the WiFi.h library, whereas the ESP8266 uses the ESP8266WiFi.h library.

You also have to take into account that the pinout of the ESP32 is different from the pinout of the ESP8266.

  • ESP32 Pinout Guide
  • ESP8266 Pinout Guide

You need to take that into account when declaring your pins.

Because the ESP32 and ESP8266 are different, there are some features you’ll only find on the ESP32 like Bluetooth or dual core, for example.

Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.