Search found 43 matches

by zekageri
Wed Sep 18, 2019 8:04 am
Forum: ESP-IDF
Topic: Problem with sampling using ADC via DMA
Replies: 10
Views: 16491

Re: Problem with sampling using ADC via DMA

I have got the same problem. No matter what, i measure the same signal on all the channels of the ADC1 just with more "noise" when i config the ADC to just one channel.These signals are coming from a signal generator with 4Khz. I measure it with 8Mhz. .sample_rate = 80000 i2s_set_adc_mode(ADC_UNIT_...
by zekageri
Wed Sep 18, 2019 7:32 am
Forum: ESP32 Arduino
Topic: [SOLVED] Esp32 I2S DMA ADC Reading strange signals.
Replies: 3
Views: 7184

Re: Esp32 I2S DMA ADC Reading strange signals.

The strange thing is, that if i use an other ADC1 PIN on the esp32
and read the i2s data from the first PIN, the signal is there with some more "noise".
by zekageri
Mon Sep 16, 2019 2:04 pm
Forum: ESP32 Arduino
Topic: [SOLVED] Esp32 I2S DMA ADC Reading strange signals.
Replies: 3
Views: 7184

[SOLVED] Esp32 I2S DMA ADC Reading strange signals.

Hello guys! I experiencing some strange signals with i2s dma. I'am using esp32 with PlatformIO in vscode IDE and using Arduino framework. The esp is measuring a 4khz signal at 80.000hz right now. And the signals that i'am getting are strange. ( The signal is coming from a signal generator ). Code t...
by zekageri
Fri Sep 13, 2019 6:36 am
Forum: ESP32 Arduino
Topic: Continuous ADC reading with bare esp32-wroom-32 and sending the results to web. PROBLEM
Replies: 1
Views: 3374

Re: Continuous ADC reading with bare esp32-wroom-32 and sending the results to web. PROBLEM

I tried some async logic from the adc.h lib, but with that, i have to continously check the adc buffer if it is ended or not. That is not async at all. Maybe if there was an interrupt if an adc is ended that would be good. If i going like this: void setup(){ adcAttachPin(35); } void loop(){ adcStart...
by zekageri
Thu Sep 12, 2019 1:27 pm
Forum: ESP32 Arduino
Topic: Continuous ADC reading with bare esp32-wroom-32 and sending the results to web. PROBLEM
Replies: 1
Views: 3374

Continuous ADC reading with bare esp32-wroom-32 and sending the results to web. PROBLEM

Hello guys! I want to measure a 4kHZ frequency with my bare ESP32 chip with it's internal ADC and then send the results to it's web server for chartJS. Everything is working properly, except the continuous part. My basic idea for the ADC was that: - Create a task on the 0th core for the adc reading ...
by zekageri
Mon Aug 26, 2019 6:12 am
Forum: ESP32 Arduino
Topic: ESP32 reboots on WiFi.softAP(ssid,password); or WiFi.enableAP(true); without error.
Replies: 6
Views: 8884

Re: ESP32 reboots on WiFi.softAP(ssid,password); or WiFi.enableAP(true); without error.

That didn't help. :(
I erased my flash and reupload my code with that function before softap call and the reset comes even after all that.
I will try some suggestions from that post that you linked!
Thanks.

Edit: I tried all of the methods that i find on that link but none of them worked. :(
by zekageri
Fri Aug 23, 2019 12:49 pm
Forum: ESP32 Arduino
Topic: ESP32 reboots on WiFi.softAP(ssid,password); or WiFi.enableAP(true); without error.
Replies: 6
Views: 8884

Re: ESP32 reboots on WiFi.softAP(ssid,password); or WiFi.enableAP(true); without error.

I forgot to mention what i tried: -I tried palcing the WiFi.softAP(ssid,password); To everywhere on my sketch. To the setup, to the loop with a turn on flag. -I tried to disconnect the wifi before the softap. -I tried (150) delay after the softap. -I tried softap config ( static ip ) before and afte...
by zekageri
Fri Aug 23, 2019 12:41 pm
Forum: ESP32 Arduino
Topic: ESP32 reboots on WiFi.softAP(ssid,password); or WiFi.enableAP(true); without error.
Replies: 6
Views: 8884

ESP32 reboots on WiFi.softAP(ssid,password); or WiFi.enableAP(true); without error.

So i'am learning on my custom esp32 "board" recently. It is a bare ESP32-WROOM-32 chip with 16mb flash. I have built a "board" for it from modules around it, to a breadboard. I have several things on this board including -An lcd display -Some I/O expander -A LAN 8720PHY ethernet board -A digital Pot...
by zekageri
Fri Aug 16, 2019 3:13 pm
Forum: ESP32 Arduino
Topic: Better way with ESP32 of Analog-Read on core0.
Replies: 4
Views: 7666

Re: Better way with ESP32 of Analog-Read on core0.

My core 1 is also use so many things, i wanted to separate the ADC read from all of my codes and that is the reason i created the task on core 0. I can also disable the WDT on core 0, and it is disabled. On core 1 i can not disable it, it trohws me an error of some sort. The second is that if i have...
by zekageri
Fri Aug 16, 2019 8:55 am
Forum: ESP32 Arduino
Topic: Better way with ESP32 of Analog-Read on core0.
Replies: 4
Views: 7666

Better way with ESP32 of Analog-Read on core0.

Hello guys! I have a complicated question. The thing: Right now i measure on ADC1 on core0 with the stanrad analogRead() func. The esp capable running my adc read with 8Khz to read and measure a 4 - 4,4Khz signal from a signal generator. The way i do it is pretty easy. Iam running a task on the cor...