-
Notifications
You must be signed in to change notification settings - Fork 716
ESP32 does not boot with external power after BLEDevice::init #785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Find better power source? This one may be not suficient. |
I tried a lot of things. Even with board examples like "wifi scanner" happends the same. But what do you mean with...better power source? |
try to search |
tried "WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0);" with no success. I suppose it is a HW issue? So this is increasing complexity of using this board. But is this issue a general problem?...or is it just my version. I purchased it on amazon. It sounds really wierd |
Try this:
//////////////////////////////////////////////////////////
// DISABLE BROWNOUT DETECTOR (BT Radio power up would trigger under USB power only)
//////////////////////////////////////////////////////////
REG_CLR_BIT(RTC_CNTL_BROWN_OUT_REG, RTC_CNTL_BROWN_OUT_ENA);
//////////////////////////////////////////////////////////
// SET UP BLE
//////////////////////////////////////////////////////////
// create BLE service
BLEDevice::init(MODEL);
//////////////////////////////////////////////////////////
// ENABLE BROWNOUT DETECTOR
//////////////////////////////////////////////////////////
REG_SET_BIT(RTC_CNTL_BROWN_OUT_REG, RTC_CNTL_BROWN_OUT_ENA);
I have a Switching supply that supplies 300ma, and when the radio intiailizes
It doesn’t draw more that 300ma, but it spikes, and maybe the “smart” switching supply
LM2841Y, detects it and stops its output
mitch
From: naaaas <[email protected]>
Sent: Thursday, January 17, 2019 6:26 PM
To: nkolban/esp32-snippets <[email protected]>
Cc: Subscribed <[email protected]>
Subject: Re: [nkolban/esp32-snippets] ESP32 does not boot with external power after BLEDevice::init (#785)
tried "WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0);" with no success. I suppose it is a HW issue? So this is increasing complexity of using this board.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#785 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AAtpXz9KYB1HZmD_qBC6Ouwxhg4Y21Orks5vEQaEgaJpZM4aGsZo> . <https://github.com/notifications/beacon/AAtpX9ys2Fs0igCYPZa0tAzj9pEV7RzNks5vEQaEgaJpZM4aGsZo.gif>
|
thank you but...still wrong. this time red light is very very low when connecting to VIN. im quite lost |
Time to get out voltmeter or oscilloscope…
Your ps needs to be able to produce at least 100ma for ble
mitch
From: naaaas <[email protected]>
Sent: Thursday, January 17, 2019 6:40 PM
To: nkolban/esp32-snippets <[email protected]>
Cc: mitchjs <[email protected]>; Comment <[email protected]>
Subject: Re: [nkolban/esp32-snippets] ESP32 does not boot with external power after BLEDevice::init (#785)
thank you but...still wrong. this time red light is very very low when connecting to VIN. im quite lost
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#785 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AAtpX5eO8fi2pDhq6oF1e6EY8Z-7y9c4ks5vEQnAgaJpZM4aGsZo> . <https://github.com/notifications/beacon/AAtpX1n_gQj6rVWFB_W9jCiiWuDuD9u9ks5vEQnAgaJpZM4aGsZo.gif>
|
you are right. i check input and make sure to be 5v...and now with your code it works!!! Thank you very very much |
Hi! Have the same issue. I use Arduino IDE, if it matters. Could you please help me a bit, don't really understood the solution. Thanks! |
HI.
i'm newbie with esp32. I designed a simple BLE scanner wichs works fine when connected to usb. The problem is that if i disconnect board from usb and connect it to power (5v) device does not boot. Just red led is On and even if i push boot or en buttons...it never boot again. Any ideas?
Thank you
The text was updated successfully, but these errors were encountered: