zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Power CC2530 through ESP32?

Open opl-git opened this issue 7 years ago • 5 comments

Hi, I know this is a bit off topic: I am using an ESP32 as BLE Gateway. So I already put two EPS32 around my house and they are positioned quite well. Thought I use the 3.3 and GND Pins of the ESP32 to power my CC2530. At first it was looking well, but after some hours the ESP32 stops working and seems to lose connection to my wifi. The CC2530 on the other hand keeps working fine.

I guess the the CC2530 is drawing to much current, or what might be the problem?

Thank you for your help and ideas!

Kind regards

opl-git avatar May 15 '19 15:05 opl-git

Which board do you use? Have you tried debugging via serial? I triggered the ESP32's brownout detection upon wifi connection for some combinations of serial adapters/batteries/cables. Maybe try a bigger power supply or power the CC2530 from 5V via a separate LDO.

vogler avatar May 15 '19 16:05 vogler

Thank you for your answer! I am using a Geekcreit ESP32 module (DOIT DEV Kit V1) from Bangood. The power supply is already at 2.1A, so I just guess the problem is that the CC2530 is sucking to much current from the ESP32 board.

opl-git avatar May 16 '19 09:05 opl-git

This claims the input voltage should be 7-12 V, but IMO 5V should be fine. The CC2530 datasheet says <40 mA current draw during TX - that shouldn't pull the voltage down enough to be a problem. According to this schematic the LDO should also be fine (the ESP32 should draw at most 260 mA during wifi): image But best to measure what the actual values are and add some capacitors / try different power supplies.

vogler avatar May 16 '19 13:05 vogler

Seems like a common problem with just wifi: https://github.com/nkolban/esp32-snippets/issues/168 https://github.com/espressif/arduino-esp32/issues/863 https://www.reddit.com/r/esp32/comments/9wsip1/having_a_really_tough_time_with_brownouts_when/

vogler avatar May 16 '19 14:05 vogler

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 15 '19 14:07 stale[bot]