Search found 43 matches

by zekageri
Mon Oct 28, 2019 2:40 pm
Forum: ESP32 Arduino
Topic: Recommendation for a small but capeable ESP32 Arduino module?
Replies: 2
Views: 4391

Re: Recommendation for a small but capeable ESP32 Arduino module?

You can use the wemos esp boards. They are small and capable for anything that the bigger ones does. ^_^ https://www.aliexpress.com/item/32839344778.html?spm=a2g0o.productlist.0.0.44202a76MiPBr3&algo_pvid=0b72f7ee-acc9-44d3-b889-43de39fe76cc&algo_expid=0b72f7ee-acc9-44d3-b889-43de39fe76cc-0&btsid=59...
by zekageri
Mon Oct 28, 2019 2:34 pm
Forum: ESP32 Arduino
Topic: Using I2S event queue or Task queue for passing adc values from buffer.
Replies: 0
Views: 2355

Using I2S event queue or Task queue for passing adc values from buffer.

I can not find any reliable solution for the implementation of the I2S event queues on the Arduino framework. Currently i'am measuring a 4khz signal from a signal generator with the I2S adc via dma. The data goes into a buffer on a task and i read that buffer from an other task. The problem is that...
by zekageri
Mon Oct 28, 2019 2:19 pm
Forum: ESP32 Arduino
Topic: Can I use STA and AP at the same time ?
Replies: 2
Views: 10121

Re: Can I use STA and AP at the same time ?

You can just use WiFi.mode(WIFI_AP_STA); and than WiFi.begin(SSID,PASSWORD); after the user set it on AP. Or if it is not working like this, use the WiFi.disconnect() from AP mode and then set AP_STA and start wifi. If the user configured the right credentials , i assume that they want to switch to ...
by zekageri
Wed Oct 16, 2019 1:29 pm
Forum: ESP32 Arduino
Topic: Sine wave amplitude computing question(Searching for min and max)
Replies: 3
Views: 4552

Re: Sine wave amplitude computing question(Searching for min and max)

Do you want to return a list of highs and lows for a sample where you are now returning one high and one low Actually i don't know if it is better if i measure all the mins and maxs in the buffer and get the average for both of them and compute with that variable or just let it be and compute with ...
by zekageri
Wed Oct 16, 2019 11:57 am
Forum: ESP32 Arduino
Topic: Sine wave amplitude computing question(Searching for min and max)
Replies: 3
Views: 4552

Sine wave amplitude computing question(Searching for min and max)

Hello guys! I have an array with length of 1024. There are some sine wave data in it. I want to find the minimum and maximum value of that sine wave and after that i want to compute its amplitude. The facts that this sine wave is not constant. It is always changing its maximum and minimum values an...
by zekageri
Wed Oct 16, 2019 8:22 am
Forum: ESP32 Arduino
Topic: Web server dataread
Replies: 3
Views: 3692

Re: Web server dataread

You can use websockets or http requests for data transmission beetween two esp boards. You can setup a websocket server and a websocket client on different esp boards and use the library methods. The client will connect to the server ip's once its reachable, the server will see this connection and c...
by zekageri
Wed Oct 09, 2019 7:04 am
Forum: ESP32 Arduino
Topic: [SOLVED] ESP32 Arduino Framework. Proper I2S ADC DMA reading and Plotting question.
Replies: 1
Views: 7522

Re: [SOLVED] ESP32 Arduino Framework. Proper I2S ADC DMA reading and Plotting question.

My problem is partially solved. The solution was that i had to separate my i2s reading and plotting function and put them on the two cores. Now my i2s reading function on core 1 is looks like this: static const inline void Sampling(){ i2s_read(I2S_NUM_0, (char*)i2s_read_buff,NUM_SAMPLES * sizeof(ui...
by zekageri
Tue Oct 01, 2019 11:34 am
Forum: ESP32 Arduino
Topic: [SOLVED] ESP32 Arduino Framework. Proper I2S ADC DMA reading and Plotting question.
Replies: 1
Views: 7522

[SOLVED] ESP32 Arduino Framework. Proper I2S ADC DMA reading and Plotting question.

Hello forumers! I want to read a 4Khz analog signal from a signal generator via i2s dma with ESP32 on arduino framework. My basic idea is this: -Setup i2s DMA to put the reading to a buffer. -Assign a read function/task to the core0 to read the values from the DMA buffer. -Assign a "plotting" funct...
by zekageri
Thu Sep 19, 2019 7:06 am
Forum: ESP32 Arduino
Topic: [SOLVED] Esp32 I2S DMA ADC Reading strange signals.
Replies: 3
Views: 7215

Re: Esp32 I2S DMA ADC Reading strange signals.

My problem is solved. I just had to switch the channel format in the i2s config to "all left" My i2S config is looks like this now: #define I2S_NUM (0) void configure_i2s(){ i2s_config_t i2s_config = { .mode = (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX | I2S_MODE_ADC_BUILT_IN), // I2S receive mode ...