Search found 163 matches

by jgustavoam
Wed Jun 24, 2020 12:13 pm
Forum: ESP-IDF
Topic: Finally I'm interested in ESP32-IDF, with Visual Studio Code extension
Replies: 4
Views: 6869

Finally I'm interested in ESP32-IDF, with Visual Studio Code extension

In 2018, I made an tutorial - how to use ESP32-IDF (in portuguese). And I was very disappointed. https://jgamblog.wordpress.com/2018/02/09/conhecendo-o-esp32-usando-esp-idf-4/ Today makers don't want to use line commands, many complex tools with dozen of parameters. He wants a fast, efficient and si...
by jgustavoam
Tue Jun 23, 2020 8:11 pm
Forum: General Discussion
Topic: Unreliable GPIO
Replies: 25
Views: 26024

Re: Unreliable GPIO

Hi Aidin, I suggest you read the manual with attention. Wich revision is your ESP32? https://www.espressif.com/sites/default/files/documentation/eco_and_workarounds_for_bugs_in_esp32_en.pdf Findout Revision: https://github.com/espressif/esp-idf/blob/master/examples/get-started/hello_world/main/hello...
by jgustavoam
Tue Jun 23, 2020 2:44 pm
Forum: ESP-IDF
Topic: I2C not sending anything
Replies: 2
Views: 3474

Re: I2C not sending anything

Hi,
Good tool to verify that the I2C interface is working well is the I2C scanner.

ESP32 - I2C Scanner using Arduino IDE (working)
viewtopic.php?f=18&t=4742

If you want to decode signals, use a cheap logic analyzer.
by jgustavoam
Tue Jun 23, 2020 1:19 pm
Forum: ESP-IDF
Topic: Windows installer
Replies: 4
Views: 4866

Re: Windows installer

Hi,
See if it is the same problem:
ESP IDF installation error: Unexpected end of archive
viewtopic.php?f=13&t=13392
by jgustavoam
Tue Jun 23, 2020 2:29 am
Forum: ESP-IDF
Topic: Pwm not super stable
Replies: 4
Views: 5626

Re: Pwm not super stable

Hi, The LED PWM on ESP32 is incredible stable and has high accuracy! The best I've ever seen! But you must know how to use correctly. Example to 1000 Hz. Setup frequency : 1000 Hz Select channel : 0 to 15 Setup resolution : 15 (more accuracy) maximum available frequency is 2441 Hz ( 80MHz / 32768) S...
by jgustavoam
Tue Jun 23, 2020 1:55 am
Forum: ESP-IDF
Topic: Measure the duration of the wifi ISR
Replies: 2
Views: 3086

Re: Measure the duration of the wifi ISR

Hi, If you really need to measure the duration of the WIFI or another ISR, you can use this method (used by me) : Setup one GPIO pin as an output. Before ISR, put this pin LOW. When ISR starts, put this pin HIGH (inside Interrupt handler). At the end of handler put this pin LOW. An then with one che...
by jgustavoam
Tue Jun 23, 2020 1:37 am
Forum: ESP-IDF
Topic: ESP IDF installation error: Unexpected end of archive
Replies: 5
Views: 7854

Re: ESP IDF installation error: Unexpected end of archive

Hi ,
The same problem ocurred to me (Windows 10).
My solution to this was to delete all files of directory "C:\Users\User_name\Desktop\esp-idf
And run the setup again.
https://dl.espressif.com/dl/esp-idf-tools-setup-2.3.exe
by jgustavoam
Mon Jun 22, 2020 1:09 am
Forum: General Discussion
Topic: Unreliable GPIO
Replies: 25
Views: 26024

Re: Unreliable GPIO

Hi Aidin, See the captured image from my Scope Tektronix TB1062 (60 MHz / 1 Giga Samples/s). The correct image on the pins GPIO2 and GPIO4 is below. No problem.. Arduino code: void setup() { gpio_config_t io_conf; io_conf.mode = GPIO_MODE_OUTPUT; io_conf.pin_bit_mask = 0b10100; gpio_config(&io_conf)...
by jgustavoam
Sat Jun 20, 2020 3:11 am
Forum: ESP32 Arduino
Topic: Use RMT to recognize pulse train
Replies: 1
Views: 3098

Re: Use RMT to recognize pulse train

Hi, I suggest you read the chapter 15 (Remote Control Peripheral) of the ESP32 Technical Reference manual. I think it may be useful to you. https://www.espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf and the API reference : https://docs.espressif.com/projects/...
by jgustavoam
Sat Jun 20, 2020 2:48 am
Forum: Hardware
Topic: Better ADC i/o accuracy ESP32 boards?
Replies: 4
Views: 8607

Re: Better ADC i/o accuracy ESP32 boards?

Hi,
My project is not compact, but very accurate and stable.
In fact, it uses one external DVM.

https://www.elektormagazine.com/labs/es ... -voltmeter