Search found 35 matches

by zekageri
Wed Nov 13, 2019 10:52 am
Forum: ESP32 Arduino
Topic: Blocking code to Non-Blocking help.
Replies: 3
Views: 234

Re: Blocking code to Non-Blocking help.

Sorry i wasn't clear enough. I'am already using two task in my program. One of my task is running on core 0, and there are a bunch of things in it. A tft display handling, the above mentioned RFID handler and such things. On the other task wich is running on core 1, there is an ADC read that needs t...
by zekageri
Tue Nov 12, 2019 11:06 am
Forum: ESP32 Arduino
Topic: Blocking code to Non-Blocking help.
Replies: 3
Views: 234

Blocking code to Non-Blocking help.

Hello guys! I have an RFID manchester code decoding code snippet. This code is a blocking code right now, it is using delays. I want it to port to a Non-Blocking code. How can i achive this? Should i use millis() for track the time between the impulses or should i attach an interrupt every time i n...
by zekageri
Mon Nov 11, 2019 10:01 am
Forum: Sample Code
Topic: Smooth an Array of Analog Values and Print them
Replies: 3
Views: 320

Re: Smooth an Array of Analog Values and Print them

Can i use it to measure on one pin a 4khz signal?
by zekageri
Mon Nov 11, 2019 9:50 am
Forum: ESP32 Arduino
Topic: External ADC Question
Replies: 6
Views: 428

Re: External ADC Question

I was using the adc with i2s dma. My code looks like this: I2S config: void configure_i2s(){ //pinMode(36,INPUT); i2s_config_t i2s_config = { .mode = (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX | I2S_MODE_ADC_BUILT_IN), // I2S receive mode with ADC .sample_rate = 144444, // sample rate .bits_per_sam...
by zekageri
Mon Nov 11, 2019 9:24 am
Forum: ESP32 Arduino
Topic: [SOLVED] SECOND SPI QUESTION
Replies: 3
Views: 253

Re: SECOND SPI QUESTION

Thank you all for your patience and help.
The problem was with the adxl module.
In this module version was a 0 ohm resistor on the miso pin to the gnd, and it was pulled the line to low all the time.
by zekageri
Thu Nov 07, 2019 12:06 pm
Forum: ESP32 Arduino
Topic: External ADC Question
Replies: 6
Views: 428

Re: External ADC Question

ESP's internal ADC is crap in itself. I can not measure properly in it. I was used the adc1 with i2s dma before, and the signal was noisy A.F. I realized that i need to pull the gpio36 and 39 down because of the noise. So i lost two pins because of just that. After that i realized that if i get any ...
by zekageri
Thu Nov 07, 2019 9:29 am
Forum: ESP32 IDF
Topic: SPI interface for ADXL345
Replies: 1
Views: 740

Re: SPI interface for ADXL345

Did you solved it?
by zekageri
Thu Nov 07, 2019 9:28 am
Forum: ESP32 Arduino
Topic: [SOLVED] SECOND SPI QUESTION
Replies: 3
Views: 253

[SOLVED] SECOND SPI QUESTION

Hello guys! I want to use two spi interface of the esp32. I'am already using the TFT_eSPI.h lib with the VSPI of the esp32 on core0. Now i want to implement the HSPI on core1 for an ADXL345 accelerometer. I have this sketch that i'am trying to implement but this is not working for some reason. I al...
by zekageri
Wed Nov 06, 2019 1:24 pm
Forum: ESP32 Arduino
Topic: External ADC Question
Replies: 6
Views: 428

External ADC Question

Is anybody used an external adc with esp32?
I want to use the MCP33131D SPI adc.
https://www.microchip.com/wwwproducts/en/MCP33131D-10
Any toughts?
by zekageri
Wed Nov 06, 2019 12:03 pm
Forum: ESP32 Arduino
Topic: Random interrupts on one of the ADC1 pins.
Replies: 0
Views: 135

Random interrupts on one of the ADC1 pins.

Hello guys! I have an RFID reader. I attach an interrupt on one of the ADC1 pins (GPIO32 , 33, 34, 35, 36 39) . for falling edge. If i touch a tag card to it, i get the interrupt and i can read from it. The problem is that after i get the first interrupt, i get several more interrupts. But this pro...

Go to advanced search