Search found 142 matches

by ESP_Dazz
Tue Jul 10, 2018 11:24 am
Forum: General Discussion
Topic: ADC Behavior Issue
Replies: 7
Views: 1744

Re: ADC Behavior Issue

Not sure where the bug is as the code you posted above works for me. I suggest you remove all calls to gpio functions they are not necessary. adc1_config_channel_atten() and adc2_config_channel_atten() will already configure the necessary GPIOs. Please see the adc example for the correct usage of th...
by ESP_Dazz
Wed Jul 04, 2018 2:46 pm
Forum: General Discussion
Topic: ADC Behavior Issue
Replies: 7
Views: 1744

Re: ADC Behavior Issue

So my question is does this ring any bells with anyone. Maybe there is some things that interact. I'm using I2S and I2C. It's possible that I2S will interfere with the ADCs (see the i2s_adc_enable() and i2s_adc_disable() functions). This lead me to believe that the ADC read was momentarily sticking...
by ESP_Dazz
Wed Jul 04, 2018 2:06 pm
Forum: General Discussion
Topic: trying to read an ADC GPIO
Replies: 17
Views: 3638

Re: trying to read an ADC GPIO

I was just hoping that there would be a location where all the pertinent information for GPIOs (including any use by the ESP32 module itself, for example GPIO32 which evidently is the input to the RTC). For more information about ESP32 pin usage, please refer to the following table located in the a...
by ESP_Dazz
Wed Jul 04, 2018 1:51 pm
Forum: ESP32 IDF
Topic: Task watchdog got triggered with OTA example
Replies: 3
Views: 1264

Re: Task watchdog got triggered with OTA example

Try to see if any of the following modifications can suppress the issue:
- Increase Task Watchdog Timeout Period in menuconfig (e.g. from 5 seconds to 10)
- Add a short vTaskDelay(10) at the end of the while (socket_flag) { loop so that there is a short gap between every iteration
by ESP_Dazz
Wed Jun 20, 2018 8:08 am
Forum: ESP32 IDF
Topic: ADC1 on Adafruit Feather HUZZAH-ESP32 doesn't work with esp-idf
Replies: 7
Views: 2147

Re: ADC1 on Adafruit Feather HUZZAH-ESP32 doesn't work with esp-idf

You can probably also remove any GPIO calls in your code, because calls to adc1_config_channel_atten() and adc2_config_channel_atten() will already configure the necessary GPIOs.
by ESP_Dazz
Wed Jun 20, 2018 3:42 am
Forum: ESP32 IDF
Topic: ADC1 on Adafruit Feather HUZZAH-ESP32 doesn't work with esp-idf
Replies: 7
Views: 2147

Re: ADC1 on Adafruit Feather HUZZAH-ESP32 doesn't work with esp-idf

When I run the code above on the EPS32 Wrover Kit, the results are inverted (where connecting an A1_x channel to GND results in a reading of 4095, and connecting to HIGH results in 0). I think there might be something wrong with your ADC and GPIO configuration code. I've modified the example as foll...
by ESP_Dazz
Mon Mar 19, 2018 3:46 am
Forum: ESP32 Arduino
Topic: ESP32 ADC Non-linear Issues - How do I fix / change Attenuation or width?
Replies: 40
Views: 32965

Re: ESP32 ADC Non-linear Issues - How do I fix / change Attenuation or width?

vseven wrote:Can you comment if there will there be a revision number or indication printed on the chips that have this new factory calibration
Please contact the sales team at sales@espressif.com, they can help with this question
by ESP_Dazz
Tue Jan 23, 2018 7:18 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 173
Views: 93021

Re: About the CAN controller.

C does not allow initialization of arrays and structures after declaration, therefore the following will not compile //Does not compile CAN_frame_t my_frame; my_frame.data.u8 = {1 ,2 ,3 ,4 ,5 ,6, 7, 8}; CAN_frame_t my_frame = {0 , 0 , 33, 4, 255, 255, 255, 254, 123, 77}; The reason this works is bec...
by ESP_Dazz
Mon Jan 08, 2018 8:29 am
Forum: Hardware
Topic: About the CAN controller.
Replies: 173
Views: 93021

Re: About the CAN controller.

The CAN output control register doesn't actually exist as the ESP32 CAN peripheral only consists of the controller portion and requires an external transceiver functionality. One of the likely causes of the ESP32 not outputting anything during transmission could be due to the RX pin not being able t...
by ESP_Dazz
Sun Dec 31, 2017 11:06 am
Forum: Hardware
Topic: ESP32 ADC Calibration curves?
Replies: 17
Views: 10753

Re: ESP32 ADC Calibration curves?

Please take a look at the following link
https://esp-idf.readthedocs.io/en/lates ... alibration
Calibration for 11db attenuation is not very good as 11db attenuation does not have a linear response. Adding a 0.1uf capacitor can also help with the noise.

Go to advanced search