• 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

unable to upload code ….

Q&A Forum › Category: ESP32 › unable to upload code ….
0 Vote Up Vote Down
Swapnil Bhole asked 4 years ago

I have attach error. 
https://drive.google.com/file/d/1Mspis-u_6PSdIfckuPEtaEr5L_hcQNEK/view?usp=sharing
I am not getting error. I have attach capacitor. How to troubleshoot

Question Tags: ESP32
13 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
I can’t see the file you shared.
I asked for permission.
Regards,
Sara

0 Vote Up Vote Down
Swapnil Bhole answered 4 years ago

I have given permission. 

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

Hi.
That error is usually related to some issue with the hardware.
It may be an insufficient power supply, a short circuit, wrong connections in the circuit, or using GPIOs that are not suitable for what you want to do.
What does your code do? And what peripherals do you have attached to your board?
Regards,
Sara
 

0 Vote Up Vote Down
Swapnil Bhole answered 4 years ago

I have uploaded screen shot of error below 
 
https://drive.google.com/drive/folders/1LUGHdtSeS4mKwmOMhHKw8W7HI5kwC6jx?usp=sharing
 
I am referring MODULE 7- UNIT NO 3 AND 4 of the book “Lean ESP32” .

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

Hi.
Do you get that error in which board? The sender or the receiver? Or both?
Try to upload the code without any peripherals attached and see the result.
Double-check all the connections of your circuit. Especially the DS18B20 sensor. The sensor orientation may be confusing.
Regards,
Sara

0 Vote Up Vote Down
Swapnil Bhole answered 4 years ago

Hi,
I have attach only capacitor. No other peripherals. I think, error is because of timer interrupt. 
We are only focusing on sender code 1st. 
on receiver side, we edited code & attach only potentiometer. 
 

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

Hi.
 
But do you still get the errors with those modifications?
 
Does it work with the receiver?
 
For the sender, are you using the same code we use in the course, or have you modified it?
 
Regards,
Sara

0 Vote Up Vote Down
Swapnil Bhole answered 4 years ago

We are running code as it is by referring MODULE 7- UNIT NO 3 AND 4 of the book “Lean ESP32”
1st we will solve sender side error.

 

 

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

Hi again.
I just tested the code again, and it uploaded fine, and it is working fine.
So, I really believe that the problem is something related to the circuit.
Regards,
Sara

0 Vote Up Vote Down
Swapnil Bhole answered 4 years ago

I am referring MODULE 7- UNIT NO 3 AND 4 of the book “Lean ESP32” .
Trial-1: 
board-1: client-1 = everything is ok. Broker address of rpi, wifi name & password change. 
board-2: client-2= Broker address of rpi, wifi name & password change. Disconneting from MQTT. This is coming. 
Trial-2: 
board-2: client-2= I have flash client-1 code & its working fine. 
This means, board-2 is hardware no issues. 
What can be other debug methods to check, why it is disconnecting. 
 

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

Hi again.

So, you don’t have the brownout error now?

It is very difficult to find out what might be wrong.

Does your ESP is on the same network as the RPi? Do you have a Wi-Fi booster or something? Sometimes wi-fi boosters interfere with MQTT messages.

I’ve just tested the code, and as you can see on the print screen, it is working properly.

I don’t know what else I can do to help 😐

Regards,
Sara

0 Vote Up Vote Down
Swapnil Bhole answered 4 years ago

1: That error still exist, so we change board.
2: we are using custom board on which code & output working fine. 
3: On below board, it is showing mqtt disconnect msg. Its connected to home router (no wi-fi repeater), ip address of rpi is checked, rpi is ON. 
https://www.banggood.in/LILYGO-TTGO-T-Energy-ESP32-8MByte-PSRAM-WiFi-bluetooth-Module-18650-Battery-ESP32-WROVER-IB-Development-Board-p-1427125.html?cur_warehouse=CN&rmmds=search
Do u have alternate solution on nodeMCU board. I mean, 2 nodeMCU board communication with rpi, 

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

Hi again.

I really don’t know how to solve that issue because I have no idea what might be wrong 🙁

How are you powering that board? Do you think there may be some power issue?

Yes, we have a similar project for ESP8266 boards.
I see that you have access to the “Home Automation using ESP8266” eBook. Go to page 428. There is a similar project.

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.