• 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

Serial port not available – uPyCraft IDE

Q&A Forum › Category: ESP32 › Serial port not available – uPyCraft IDE
0 Vote Up Vote Down
Michael Orlyk asked 6 years ago

Using uPyCraft I was able to flash MicroPython and run a few simple scripts (turn on/off leds, pwm, etc) without any issues on a ESP32 DevKit V1. Satisfied with the setup I disconnected the USB interface to my Windows10 PC and went to bed.  That was the last time I was able to establish a serial connection to the ESP32.

Nothing I tried would establish a serial connection.

So then I tried using the Tonny ide.  Works every time.  Can create and download main.py scripts to the ESP32 and run the scripts in standalone mode, use the Python interpreter, etc.

So why can’t I establish a serial interface using uPyCraft?

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

Hi Michael.

I don’t know why that happens.

Usually, you need to select the port in Tools>Serial every time you want to connect. Sometimes you select the port, you do something on the IDE and it unchecks the port, so it can’t establish a connection. Always select the port before establishing a connection.

Another situation that may cause issues establishing a serial connection is the code that is currently running on the ESP32.

Sometimes the ESP32 is busy running the code, so the uPyCraft can’t establish a connection. This is specially critical when the ESP32 is running a code that includes deep sleep. When this happens, uPyCraft will ask you to burn the firmware again.

This issue can be resolved (sometimes) by pressing the ESP32 RESET button right before pressing the “Connect” button on the IDE.

Thonny IDE doesn’t have those issues trying to connect to the ESP32. That’s why at the moment I prefer this IDE

I hope this helps,

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.