espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.48k stars 7.25k forks source link

32d will not connect to bluetooth with out reset button when powered by anything but micro usb (IDFGH-1797) #4009

Open athleticmistud opened 5 years ago

athleticmistud commented 5 years ago

-wemos D1 pin d4 connecting to a D 32 with pin 16 and the power from the D 32 is coming off the 3.3 V and ground on the d1 when we powered that way with the USB being plugged into the D1 we cannot make a connection to a Bluetooth speaker without pressing the reset button on the d32. then something from pressing the reset does someting and then it will connect to a bluetooth speaker,

we have allso tried connecting from the 5v to the boards and it wont connect either. it will only work and make a bt connection when we connect to the d32 with micro usb

i attached code

however if I power in through the usb on the D 32 and then power the d1 from the D 32 from 3.3v and ground i could connect to a Bluetooth speaker not requiring the reset button to be pushed which is what we need as we can not access the board normally so pushing the reset button is not an option 3.0main.txt

athleticmistud commented 5 years ago

naten2.txt

i attached serial monitor

here is the data from serial monitor on the d32 here is what we did

i load code on d32

then load our code on d1 only connection between the 2 is on pin 16 on d32 our device connects to speaker but no sound then i press our test button on our config page our light works but no sound then i press the reset button on the d 32 the d32 disconnects and reconnects to the speaker then i press our test button on our config page and it works both the light and sound play

so it is something to do when i press reset on the d32 that fixes the code issue? i attached it here