Search found 195 matches

by fasani
Sun Aug 15, 2021 5:44 am
Forum: ESP-IDF
Topic: Serial communication between ESP32 and ESP8266
Replies: 1
Views: 2767

Re: Serial communication between ESP32 and ESP8266

In ESP32 IDF side you can send serial to a specific pin:
https://docs.espressif.com/projects/esp ... /uart.html There are examples.
And I would receive in the RX pin on the esp8266 side.
by fasani
Sun Aug 15, 2021 5:28 am
Forum: ESP-IDF
Topic: ESP32 - IDF - HTTP request
Replies: 4
Views: 3309

Re: ESP32 - IDF - HTTP request

I also find odd to mix both arduino-ESP32 and IDF but I know some projects do. Here there is a demo of parsing open weather that compiles in IDF and uses arduino “as a component”
https://github.com/vroland/epdiy/tree/m ... es/weather
by fasani
Sat Aug 14, 2021 10:42 pm
Forum: ESP-IDF
Topic: [Solved] Play audio on website
Replies: 4
Views: 5704

Re: Play audio on website

Do not really fully understand what you are trying to do here. If the html downloaded in the browser contains references to all audio .wav files yes then they will trigger the requests and be loaded in the browser. But are you serving all this from the ESP32? Downloading the full audio is what most ...
by fasani
Sat Aug 14, 2021 10:29 pm
Forum: ESP-IDF
Topic: How to add a new external library?
Replies: 9
Views: 21751

Re: How to add a new external library?

I think that this is not what i am looking for... you sent me a link which is talking about touch screen panel library... while I am trying to include an external servo moto library into Vs code (IDF ESP...)…Etc. What I mean is that looking at any other example, mine was just a reference, you can g...
by fasani
Tue Aug 10, 2021 10:04 pm
Forum: ESP-IDF
Topic: ESP32-S2 Saola: General SPI question
Replies: 1
Views: 1933

Re: ESP32-S2 Saola: General SPI question

I don’t know if this will really help, but once when I had still no Logic analyzer around,I used this arduino-ESP32 project to sniff aptitude ESP32 acting as slave SPI
https://github.com/martinberlin/esp32-spi-slave
But I was reducing the speed of the master to 4 MHz.
by fasani
Tue Aug 10, 2021 9:47 pm
Forum: ESP-IDF
Topic: How to add a new external library?
Replies: 9
Views: 21751

Re: How to add a new external library?

Please read the Build documentation and try to understand the examples I referenced.
by fasani
Tue Aug 10, 2021 9:45 pm
Forum: ESP-IDF
Topic: add header file to existing esp-idf projects in vscode
Replies: 2
Views: 4914

Re: add header file to existing esp-idf projects in vscode

HDne I already replied to your post here:
viewtopic.php?f=13&t=22634#p81631

Did you read the Build documentation? Because there lies the problem.
It’s better to read the documentation and learn from another working examples before looking desperately for an answer.
by fasani
Tue Aug 10, 2021 5:58 pm
Forum: ESP-IDF
Topic: Modifying esp-idf library and using it for the project
Replies: 4
Views: 3747

Re: Modifying esp-idf library and using it for the project

Just my opinion, from the experience working with Frameworks: I would not modify an internal ESP-IDF library. Since the Framework will be updated and just does not make sense IMHO to use a custom IDF fork just because of a custom library. In my opinion is better to make your custom OTA component tha...
by fasani
Tue Aug 10, 2021 11:46 am
Forum: ESP-IDF
Topic: Bare minimum wifi connection function for esp32
Replies: 6
Views: 4322

Re: Bare minimum wifi connection function for esp32

That's somehow the minimum initialization in ESP-IDF. I know the learning curve is hard to grasp at the beginning but it also offers much more configuration options.
In WiFi getting started there is a nice recompilation of examples.
by fasani
Tue Aug 10, 2021 11:37 am
Forum: ESP-IDF
Topic: How to add a new external library?
Replies: 9
Views: 21751

Re: How to add a new external library?

Hello HDNe, In order to do that is very good idea to understand at least to some extent the Build system . And also how CMakeFiles works. For example in my epaper component you can see how is using the components: https://github.com/martinberlin/cale-idf In that version the components are in the rep...