695 questions
Advice
1
vote
2
replies
65
views
ADC maximum sampling using Raspberry Pi Pico 2
I have a loop where I am using ADS1263:
def adcMonitor(conn):
ADC = ADS1263.ADS1263()
ADC.ADS1263_SetMode(1)
ADC.ADS1263_init_ADC1('ADS1263_38400SPS')
while True:
if (conn....
1
vote
1
answer
97
views
WS2812 LED flickers when changing potentiometer value (ADC interrupt + Raspberry Pi Pico)
Context:
I am working on a Raspberry Pi Pico project where a potentiometer controls the volume (0–100%), and the volume is visualized on a WS2812 LED strip as a smooth color gradient from green (0) to ...
Best practices
0
votes
1
replies
81
views
How to prevent an SD card from blocking the SPI bus
I am writing a system for esp32 with esp-idf that must communicate with an ADC and an SD card over the same SPI bus. Ideally, the ADC reads would be consistently timed, so that if the SD card stalls ...
Advice
0
votes
1
replies
35
views
Beats at frequencies near Nyquist frequency divisors and their handling
At a sampling rate of 22050 Hz, if a sine wave signal with a frequency of 11024 Hz (Nyquist frequency minus 1 Hz) is generated, audible beats (amplitude fluctuations up to the point of the signal ...
0
votes
0
answers
60
views
STM32 CONTROL HAL I2C/ADC returns zero values
we made a code in STM32CUBEIDE to control the ADC/I2C of our datalogger test but we have a problem because when we run the code, in line 156, the string ‘voltage_ch0’ gives us a value of 0 and nothing ...
0
votes
0
answers
76
views
ADC DMA does not work after wake up STM32
I am facing the issue that ADC DMA cannot work even I try re-init in many ways.
Information:
STM32L476
Stop mode and wake up via RTC
Can re-init USB so the terminal still works
Clock configuration ...
0
votes
1
answer
72
views
STM32F4 ADC Multi-Channel Interrupt Logical Error
I am trying to use interrupts with the ADC module. I am using PA0 and PA1 as analog inputs for the ADC, and PC0 and PC1 as external LEDs. My goal is: when PA0 is triggered, PC0 should turn on. when ...
1
vote
1
answer
57
views
why STM32F030F4P6 ADC continue scan mode make pin's voltage is higher (re-up)
I'm using ADC continue scan mode with DMA for 2 channels, config by register, not use HAL library, make sure pin mode is analog mode
When ADC just turn on clock, every thing be ok, voltage of pin PA0 ...
0
votes
0
answers
80
views
Sampling characteristics of nRF52840 SAADC
According to the documentation, the SAADC (ADC) device has a maximum sampling rate of 200kHz (ksps), a value that is the sum of a minimum TACQ (acquisition time) of 3us and a conversion time of "&...
0
votes
0
answers
78
views
yl-69 sensor - adc conversion does not change adch and adcl - avr assembly
The YL-69 sensor(for soil moisture using a comparator circuit LM-393) is functional. When tested with C code on the Arduino IDE, it prints the correct values on the serial monitor. However, when ...
0
votes
0
answers
50
views
daisy-chaining multiple MAX11040K's
Not sure if the is a h/w or s/w issue but here goes- I'm using the MAX11040K to sample 9 channels (all microphones) which give a signal between 0 to 3.3V DC-biased by 1.65V; that's input to all ...
0
votes
1
answer
72
views
Transfer data from RAM to Flash while ADC is running with DMA
I have a STM32WB55VG device where ADC Sampling for one channel is happening at a rate of 40 kHz. As the sampling duration is about 5 seconds the data (400 kBytes) can not be stored in RAM (only 256 ...
0
votes
0
answers
159
views
Digispark ATtiny85 AnalogRead() Issues
TLDR: Whenever I try to read a voltage that is lower than about 2.2V the display will freeze up. Only after I increase the voltage then after like 10 seconds it resumes operation.
I am tinkering with ...
0
votes
0
answers
108
views
AD7124-8 with STM32 Status Register not reflecting active channels
I am creating a project with an AD7124-8 PMDZ eval board with an STM32H755ZI nucleo board.
Communicating through :
SPI Mode - 3 ( CPOL - 1, CPHA - 1 ),
MSB first,
8 bit data length,
No CRC.
I have ...
1
vote
1
answer
105
views
How do I get ADC to work on an ATtiny212 using Microchip Studio C code?
I am new to the tinyavr 1 series microcontrollers. I've tried copying the basic example out of the Microchip TB3209 guide, but it doesn't seem to do anything.
I use the below code, where PA3 is an LED ...