Search found 43 matches
- Mon Nov 11, 2019 10:01 am
- Forum: Sample Code
- Topic: Smooth an Array of Analog Values and Print them
- Replies: 3
- Views: 12870
Re: Smooth an Array of Analog Values and Print them
Can i use it to measure on one pin a 4khz signal?
- Mon Nov 11, 2019 9:50 am
- Forum: ESP32 Arduino
- Topic: External ADC Question
- Replies: 7
- Views: 11197
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...
- Mon Nov 11, 2019 9:24 am
- Forum: ESP32 Arduino
- Topic: [SOLVED] SECOND SPI QUESTION
- Replies: 3
- Views: 5757
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.
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.
- Thu Nov 07, 2019 12:06 pm
- Forum: ESP32 Arduino
- Topic: External ADC Question
- Replies: 7
- Views: 11197
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 ...
- Thu Nov 07, 2019 9:29 am
- Forum: ESP-IDF
- Topic: SPI interface for ADXL345
- Replies: 1
- Views: 3766
Re: SPI interface for ADXL345
Did you solved it?
- Thu Nov 07, 2019 9:28 am
- Forum: ESP32 Arduino
- Topic: [SOLVED] SECOND SPI QUESTION
- Replies: 3
- Views: 5757
[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...
- Wed Nov 06, 2019 1:24 pm
- Forum: ESP32 Arduino
- Topic: External ADC Question
- Replies: 7
- Views: 11197
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?
I want to use the MCP33131D SPI adc.
https://www.microchip.com/wwwproducts/en/MCP33131D-10
Any toughts?
- Wed Nov 06, 2019 12:03 pm
- Forum: ESP32 Arduino
- Topic: Random interrupts on one of the ADC1 pins.
- Replies: 0
- Views: 2080
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...
- Wed Nov 06, 2019 7:32 am
- Forum: ESP32 Arduino
- Topic: External SPI or I2C ADC recommendation
- Replies: 0
- Views: 2779
External SPI or I2C ADC recommendation
Hello guys! I want to use an external ADC module for my esp32 project. Do you have any recommendation what can i use for this? My goal is to measure at least a 4khz signal in a very accurate way. -What is the differences on SPI and I2C adc? -Is SPI faster? If it is faster why i need it to be faster...
- Tue Nov 05, 2019 10:38 am
- Forum: ESP32 Arduino
- Topic: I2S ADC READ GPIO PROBLEM!
- Replies: 0
- Views: 1850
I2S ADC READ GPIO PROBLEM!
Iam reading an analog value on the GPIO36 PIN with i2s dma. The thing is when an interrupt comes on GPIO39 or 34 or 35, my i2s adc read goes crazy and generating very wrong reads. The interrupt comes from an RFID reader when a member touching its tag to it. These pins are INPUT only pins, so the int...