Skip to main content

Questions tagged [adc]

3 votes
1 answer
2k views

I want to produce a digital sine wave, send it to DAC0, and then receive it back as input on A0 and plot the graph. I am using an Arduino Due. I wrote the following code: #define maxSamplesNum 120 #...
1 vote
1 answer
92 views

The maximum ADC sample rate for the '328p, using the default prescaler of 128, is given as roughly 10000 samples per second. Maybe I've missed it, but I can't see whether that is the total rate for ...
1 vote
0 answers
1k views

How do I get the full range of motion from an analog joystick and the ESP32 WROOM32E using the Arduino IDE with esp-idf installed? Using a 2 axis analog joystick, the 5v/3.3v pin, ground pin and the ...
1 vote
3 answers
162 views

I'm working on a charged particle detector consisting of a plastic scintillator and a SiPM to create an electrical signal and I'm using an arduino with an ADC to detect these pulses. I'd like to ...
0 votes
1 answer
117 views

I have two RFP602 sensors that I use. One connected to GPIO2, the other to GPIO4, each connected to a 1Mohm resistance. The sensor connected to GPIO2 reads the data how I want it, I have to press a ...
0 votes
1 answer
4k views

I want to read the TCD1304 linear CCD sensor with an ESP32 and I'm facing some problems. As a first "warm-up" and to get familiar with this sensor I tried to generate the sensors input ...
2 votes
1 answer
187 views

I'm reading an analogue oxygen sensor (SGX-4OX) with a Nano Every (ATmega4809-based). We're seeing up to about 60mV* in ambient air (it will reduce as we purge with nitrogen), and the ADC is 10-bit. ...
1 vote
1 answer
270 views

I'm writing a code where analogRead() reads ADC value from load. After reading ADC value, if it is not in range, I need to manipulate Timer1 value. Which is also getting changed. But, after changing ...
1 vote
3 answers
217 views

edit So then, AREF can only output a voltage when used by the ADC, but not when used by the AC. That is what I sense all your answers are pointing at, yet none has it black on white. My questions ...
3 votes
1 answer
8k views

I need to use system_adc_read_fast (uint16 *adc_addr, uint16 adc_num, uint8 adc_clk_div) to get a sampling rate close to 100 ksps. I am able to achieve that using adc_clk_div = 32. However, when I ...
1 vote
0 answers
141 views

I am currently working with a AD7730 chip for analog-digital conversion. The chip is programmable, and I have been pulling code from GitHub as well as other links. I am unfamiliar with SPI (the ...
1 vote
0 answers
84 views

I'm trying to read from an analog mic with a sampling frequency of 10 kHz and transmitting the data over BLE on Arduino Nano 33 BLE Sense Rev 2. The MCU reaches that sampling rate with no problem but ...
-1 votes
2 answers
680 views

I'm trying to run ADC on channel 0 triggered by TIMER1_COMPB. Everything seem to work ok but basic arithmetics is not working and variables inside ISR and even main loop don't get updated (x == 2 all ...
2 votes
0 answers
450 views

Question is about using ADC AD7606 paired with Arduino (Arduino Mega). I can’t reach the stated speed of this bundle, the question is also whether it is possible or not. ADC output mode is 16-bit ...
3 votes
1 answer
2k views

I'm using the ESP32's ADC1 (not ADC2, which conflicts with WiFi functionality) to capture some analog data received at IO36 (an ADC1 port). As soon as I uncomment the WiFi.mode(WIFI_AP_STA) line (even ...

15 30 50 per page
1
2 3 4 5
14