• 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

Can you use the same ESP32 to work with MicroPython and Arduino IDE?

Q&A Forum › Category: ESP32 › Can you use the same ESP32 to work with MicroPython and Arduino IDE?
0 Vote Up Vote Down
Gloria Gardner asked 6 years ago

Hi,  I bought your course to get started programing with MicroPython.  I want to know if I can use my ESP32 for MicroPython by programing it via uPyCraft IDE   and then go back to programing it with the Arduino IDE or is it recommended to have 2 ESP32s,  1 for each programming environment?

1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi Gloria.
You can program the same ESP32 in different ways.
If you have micropython flashed on an ESP32, and then you want to program it using Arduino IDE, you just have to upload an Arduino sketch to your board, It is that simple.
Then, if you want to go to MicroPython again, you need to flash the firmware first.
In summary, if you want to use Arduino IDE, you just need to upload a code.
If you want to use micropython, the board needs to have the firmware flashed.

If you want to erase flash between those methods, use the following command with esptool.py:

esptool.py --chip esp32 erase_flash

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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 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.