• 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

Selected serial port does not exist

Q&A Forum › Selected serial port does not exist
0 Vote Up Vote Down
Alan Brody asked 5 years ago

When trying to download an Arduino script to an ESP8266. I get the following error:

the selected serial port _
does not exist or your board is not connected

However I verified the port using Device Manager and made sure that same port was set in Arduino IDE. Do you have any suggestions?

One more point on this. I am running your code from Part 1, Module 4, Unit 3 of your Home Automation Using ESP8266. I get the error when433MHz transmitter is connected. If I disconnect that, the code will load. If I reconnect after the code has loaded, I just see a series of dots in the Serial Monitor.

6 Answers
0 Vote Up Vote Down
Bernie Benson answered 5 years ago

I set the port in the platformio.ini fife.
upload_port = Com6 (your port number may be different.

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

Hi Alan.
Can you tell me the exact code you’re trying to upload?
You can point the page on the eBook.
Regards,
Sara

0 Vote Up Vote Down
Alan Brody answered 5 years ago

It starts on page 219.

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

What is the ESP8266 board that you have?
Can you try connecting the module data pin to another GPIO?
Then, change the following line of code to match the GPIO you’re using:

mySwitch.enableTransmit(2);

Regards,
Sara

0 Vote Up Vote Down
Alan Brody answered 5 years ago

That did it! Thanks.

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

Great!
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
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.