ESP32 WROOM bluetooth programming

For general Flowcode discussion that does not belong in the other sections.
luibra63
Posts: 11
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 10:30 pm
Has thanked: 1 time
Been thanked: 4 times

Re: ESP32 WROOM bluetooth programming

Post by luibra63 »

hi Stefan
sorry, but where did you find your "esp32s_sdkconfig" file? is it inside

"C: \ ProgramData \ MatrixTSL \ FlowcodeV9 \ FCD \ ESP \ Batch"?

because mine is totally different. I attact the file in txt format
esp32s_sdkconfig.txt
(26.43 KiB) Downloaded 115 times
best regards

stefan.erni
Valued Contributor
Posts: 738
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 170 times

Re: ESP32 WROOM bluetooth programming

Post by stefan.erni »

Hi luibra63

Yes that's the place and yes the file there looks different.
For your first time bluetooth better change the sdkconfig file in the project folder.
You can also post this file as .txt and will have a look if I can change it and post it again for you.

regards

Stefan

luibra63
Posts: 11
Joined: Thu Dec 03, 2020 10:30 pm
Has thanked: 1 time
Been thanked: 4 times

Re: ESP32 WROOM bluetooth programming

Post by luibra63 »

hi Stefan
finally I understood how to navigate through the folders and modify the "sdkconfig" file of the project with "idf.py menuconfig", only with this method the "sdkconfig" file is not overwritten, if I directly modified the "sdkconfig" file with notepad, when I compiled, the file was overwritten. I made the same changes as you. Unfortunately I can't program, the programming starts but then aborts.
were you able to program with this file?
I attact file
Cattura_sdkconfig.PNG
Cattura_sdkconfig.PNG (190.28 KiB) Viewed 2530 times
and attact error file compiler
a.msg.txt
(20.42 KiB) Downloaded 79 times
Best Regards

stefan.erni
Valued Contributor
Posts: 738
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 170 times

Re: ESP32 WROOM bluetooth programming

Post by stefan.erni »

Hi luibra63

The config file should be fine now.
I suspect there is a little problem with your program.
Can you post the .fcfx file?

regards

Stefan

luibra63
Posts: 11
Joined: Thu Dec 03, 2020 10:30 pm
Has thanked: 1 time
Been thanked: 4 times

Re: ESP32 WROOM bluetooth programming

Post by luibra63 »

Hi Stefan
i attact file, it is very simple,
a.fcfx
(8.04 KiB) Downloaded 98 times
Beast regarsds

stefan.erni
Valued Contributor
Posts: 738
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 170 times

Re: ESP32 WROOM bluetooth programming

Post by stefan.erni »

Hi luibra63

I changed your program a little and changed the sdkconfig file like you did.

and bluetooth it's working now.

A little hint about connecting: only send when connected.
Sometimes it is better to send A or B and not send all possible characters

And can you check in the project option if your programmer port is there.

regards

Stefan
a.fcfx
(9.05 KiB) Downloaded 87 times
BT_post_2022-01-07_16-49-04.png
BT_post_2022-01-07_16-49-04.png (113.56 KiB) Viewed 2512 times
option_2022-01-07_17-03-28.png
option_2022-01-07_17-03-28.png (125.52 KiB) Viewed 2512 times

luibra63
Posts: 11
Joined: Thu Dec 03, 2020 10:30 pm
Has thanked: 1 time
Been thanked: 4 times

Re: ESP32 WROOM bluetooth programming

Post by luibra63 »

Hi Stefan
A big THANK YOU, now my program works too, it was necessary to delete all the folders inside the project, recompile and edit the "sdkconfig" file again as indicated by you. Now I finally see that it works. THANK YOU again for your patience.
best Regards

MJU20
Posts: 237
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

Re: ESP32 WROOM bluetooth programming

Post by MJU20 »

For whom it may concern: the brownout settings are located here =>
Component config -> ESP-specific -> Hardware brownout detect & reset...


Brownout via ESP-IDF.jpg
Brownout via ESP-IDF.jpg (141.48 KiB) Viewed 2139 times

Post Reply