• 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

unstable esp8266 connection

Q&A Forum › Category: ESP8266 › unstable esp8266 connection
0 Vote Up Vote Down
ashoooh asked 4 years ago

Hello,
I have a circuit as below details and I facing a weird connection behaviour from my esp8266 

  • I have an esp8266 chip like this one with an adapter 

Related imageImage result for esp8266 adapter

  • Connected to AMS1117 with 5v/1amp as input 
  • 1000uf connected to the AMS1117 between GND and the Vout 
  • AMS1117 Vout –> to esp8266 VCC
  • AMS117 GND –> to esp8266 GND

I also have a common cathode 3 RGB LEDs connected in parallel, each of which connect to a transistor to control its colour.
where 
Transistor for Red –> esp GPIO 12
Transistor for Green–> esp GPIO 13
Transistor for Blue –> esp GPIO 14
 

  • On the first minutes after turn on, I could connect to my esp8266 with no problem even when I try to ping its IP I got about 30% packet loss. but I could send a hex colour code on the URL and my code on the esp8266 convert it to RGB and turn led one with that colour
  • after little minutes, I lost the connection at all and got 100% packet loss 

I don’t know what is the issue I changed my power source from one offer 5v up to 450mApm to this one with 1Amp to have a sufficient current as I thought the issue is with the power but nothing changed!

Question Tags: ams1117, ESP8266, power, rgb led
5 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

Hello, based on that information I’m not sure… What do you see in the Arduino IDE serial monitor? 

0 Vote Up Vote Down
ashoooh answered 4 years ago

Hello Rui, Actually this happens when I installed it so it now no longer connected to pc only powering.
I’ll try to connect an FTDI to it and see what is the issue, I just ask as if I miss something in power the esp8266

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

Are you powering the ESP8266 with 5v? If you did t hat, you probably already fried your board.
If you’re using an ESP-12E bare chip, you need to provide only 3.3V. The ESP should only a maximum of 150-mA to 200mA while performing a Wi-Fi task.

0 Vote Up Vote Down
ashoooh answered 4 years ago

Sure, I’m not using direct 5v.
I’m using AMS1117 as voltage regulator from 5v to 3.3v 

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

Oh, I see! By mistake I thought you’ve mentioned the DHT22 (also known as AM2302). I’m not sure then, it might be something with your code that crashes the ESP8266 after X number of seconds. It doesn’t look like a power issue to me… 
Try see what happens in the Arduino IDE serial monitor…

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] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.