The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [adc]

An ADC is an Analog to Digital Converter. This device converts analog signals into digital form. It is mainly used by the digital circuitry to take analog measurements.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

How do I convert this ADC code for STM32F3 to STM32F4 for colorchord?

I am currently trying to make the ADC driver code for the STM32F3 version of the colorchord https://github.com/cnlohr/colorchord code work on an STM32F4, as my F4 does not have an on board microphone. ...
0
votes
2answers
37 views

Auto-zero chopping op amps & ADC conversion

In our project, we developed and tested a auto-zero chopping op amps coupling with Sigma-delta ADC for low-frequency voltage signal measurement. Below is the FFT spectrum from the 1-bit data stream of ...
0
votes
1answer
75 views

ADC with small input range

All of the ADCs I found online have an input range on the order of few volts, e.g. 0 to 5 or -4 to +4. But my signal is in the mV range. Are there any ADCs with such a small input range? I know I can ...
2
votes
1answer
91 views

ADC values settle after 1 minute

I'm using hx711 adc module and after adc is powered on, the adc values start to increase after 1 minute adc values become stable. how can i get stable value in less time when adc pwored on. ...
0
votes
1answer
30 views

Need help interfacing an ADC with a pressure transducer

I am trying to connect a pressure transducer which gives a 4- 20mA current output to an ADC which I believe can only take voltage inputs. How will I be able to read a current output from the ADC? Do I ...
1
vote
4answers
273 views

ADC first transition at 1/2 LSB - is that not a non-linearity?

[From Analog Devices Data Converter Handbook] I understand why they chose to place the first transition at the 1/2 LSB point but does that not cause non-linearity?, since you basically have reduced ...
0
votes
1answer
98 views

PIC Microcontroller ADC not functioning

I coded an assembly script to take the input values from two LDRs in parallel. Then my microcontroller was supposed to convert this analogue input into an 8-bit digital value (omitting the 2 LSBs). ...
4
votes
4answers
361 views

Limiting sensor input voltage without biasing measurement

I need to measure precise voltage in the range from 0.375 volt to 10.1 volts from a source with 100ohm impedance. Maximum voltage however, may be well above 10.1V, so I need to be sure I do not ...
0
votes
1answer
12 views

Protection for power-off case with active input

My application is roughly depicted in the attached image. I am sensing a Vin voltage, by dividing down with a resistive divider, then passing the signal through an opamp and an RC filter (not shown) ...
2
votes
3answers
116 views

Conversion formula for adc

If you have a 12 bit adc, as the one in STM32F437, which of the following formulas do you use to calculate the analog value? V = ADC_sample / 4095 * 3.3 or <...
1
vote
0answers
82 views

PIC ADC Protection

I am working on a project that samples a 1 kHz signal @ 20 kHz, the signal is 5Vpp biased on +2.5V that way everything is fine. I want to make a protection schematics to work along my offset. I am ...
1
vote
0answers
39 views

Interfacing LVDS into LVPECL with DC coupling

We are using TI ADC ADC12DJ3200 in our design. Now this ADC has input pins for timestamping the ADC data. This timestamp input supports LVPECL standard but the allowed common mode voltage is only 0....
3
votes
1answer
66 views

SAR ADC DAC Question

Hi, This is an extract from MT-021 from Analog Devices about SAR ADCs. In particular, it shows a circuit in which the Track(Sample) and Hold block of the SAR architecture AND the DAC of the SAR ...
0
votes
3answers
64 views

STM32 ADC and timer(s): Measuring moving average peak voltage of PWM signal with varying amplitude

I want to measure a moving average of the amplitude of a fix frequency, fixed dutycyle PWM signal with slowly varying amplitude but in a noisy environment (DC motors). I want to use as little as ...
0
votes
3answers
49 views

How to carry quadrature encoder data using a single signal?

A quadrature encoder can be thought of as two switches, usually sharing one of the terminals, i.e. we have COM(mon), A and B. Is there some simple way of carrying its output on a single wire? How ...
0
votes
1answer
41 views

V1401 ADAT transmitter and PCM4222 ADC

I'm trying to understand if I can use a V1401 ADAT transmitter with the PCM4222 ADC. datasheets: Coolaudio V1401 TI PCM4222 They will be communicating by their PCM audio serial port interfaces, ...
1
vote
1answer
41 views

HX711 adc read functions gives different accuracy

I'm reading data from HX711 with stm32F1 but accuracy of the data are awful. when i read data with arduino the data ten times good if we compare with stm32 results. these are my read functions. ...
0
votes
0answers
38 views

Trying to write to FRAM with MSP430

I am pretty new to embedded work, so I am just trying to pick things up on a small scale. So, for the reason, I have an accelerometer connected to my MSP430FR6989 Launchpad. At the minute, all I want ...
1
vote
2answers
29 views

Error deriving temperature from thermocouple amplifier

I'm using a K-type thermocouple to read the temperature of a 3D printer hot-end. To amplify the thermocouple voltage I am using the Analog Devices AD8495 chip. This chip is mounted on a custom-made ...
0
votes
0answers
25 views

Battery monitoring using voltage divider circuit using 4 resistor

I want to measure the battery voltage using voltage divider on different ADC channel, as shown in image i have to used 4 resistor and generate 3V, 2V, and 1V from 4V battery. i want to measure all ...
0
votes
0answers
26 views

Capacitor DAC - Charge Redistribution

I was reading about capacitor based DACs for a SAR ADC in an Analog Devices pdf(https://www.analog.com/media/en/training-seminars/tutorials/MT-021.pdf) and I saw this About the highlighted part, I ...
0
votes
1answer
56 views

Abnormal microcontroller circuit behavior when I connect SMPS

I designed a device that calculates current and power using a CT and an ATMega328P-AU microcontroller. The board I designed was simple and I didn't account for noise cancellation on the ADC lines and ...
0
votes
1answer
25 views

MCP3004/3008 maximum voltage on ADC pin

I need to implement the ADC chip MCP3004 in a circuit. The Vref and Vdd are tied to 3V3 rail. According to datasheet of this ic the maximum voltage that an ADC input pin can handle is Vref, so in this ...
0
votes
1answer
68 views

Arduino lack of accuracy in AD conversion

let's consider this simple piece of code: ...
7
votes
4answers
2k views

What is the lowest voltage that a microcontroller can successfully read on the analog pin?

I'm testing the Seeeduino v4.2 board with the ADCInOutSerial code in the Arduino IDE and the lowest voltage the board can read is 18 mV, showing an equivalent ADC of 4 on the serial monitor. The ...
1
vote
1answer
82 views

A/D conversion improvement through Arduino

I have a certain analog signal v(t) which varies from 0 to 2V, which I want to be read by Arduino. I know that Arduino can read it through the function AnalogRead, ...
2
votes
1answer
59 views

What does a comparator consume compared to an ADC

Is there a way to calculate the power consumption of a comparator for one single measurement? I would like to compare the power consumption of a comparator with the power consumption of an ADC. I ...
1
vote
0answers
37 views

Input circuit for MCP3004

I am designing an ADC board for Raspberry Pi using the MCP3004 ADC chip. Please see my circuit below. This circuit is intended to measure voltages form 0 to 10V, to have overvoltage protection (Vin&...
0
votes
0answers
48 views

CS5340 does not generate clock signals correctly

I am trying to build a sound input for Raspberry Pi 3B using CS5340-CZZ as an ADC. I am basically using it according to the typical connection diagram in its datasheet, where I have a signal from a ...
0
votes
0answers
38 views

RF sampling ADCs(ADC12DJ3200 ),PLLS and regulators placement and layout

I am novice in PCB component placement and layout. I have just started my career in Hardware design. We have designed a schematic for Data Acquisition System. In our design, we are using three RF ...
1
vote
3answers
114 views

SPI vs Parallel interface for ADCs?

I need to use an ADC to convert analog signals from pressure and temperature sensors to a microcontroller (Teensy 4.0). I'm confused if I should use an ADC with Parallel or SPI interface. I'm ...
0
votes
1answer
69 views

KiCad Saying Pins Not-connected

So I am fairly new to using KiCad, and I have encountered a problem. I recently learned how to make hierarchical pins for bus assignments with the notation. ...
2
votes
1answer
76 views

150V voltage follower

I am working on a datalogger to measure the voltage of a series of solar modules. I have 4 solar modules in series, let say 35V each. I am using an ADS1115 for the measurements. First I wanted to do ...
1
vote
1answer
43 views

Measuring Current by rectifying or voltage-doubling a Current Transformer

Originally, my plan was to just get the voltage output of a current transformer (obviously with the burden resistor circuit stuff and DC biasing circuit stuff) before ADC'ing it, averaging it’s output ...
1
vote
1answer
27 views

XADC Current Sensing Reference Design

Please refer to this reference design for AC701 (snippet below). The schematics, specifically the current sensing sections in pages 34-36, show this: I want to understand why, for the REF output of ...
0
votes
0answers
27 views

What wrong with my Bias AC Voltage by Opamp's circuit, LTSpice?

I need measure AC 230V 50Hz and use transformer current type. Below is my schematic and simulator result. The schematic create by easyEDA, they use LTSpice to simulate circuit. I need signal swing ...
1
vote
1answer
55 views

Control of large number of analog devices

For research that I work on we have photonic chips that have 100-200 analog devices on board. I wish to control these devices at a rate of ~-1 MHz from an fpga. Some require a current source and ...
1
vote
1answer
91 views

ADC distortion when writing to microSD

I am doing my own project making a basic audio recording device using microcontroller's ADC to get the audio signal from electret microphone and saving data to microSD card. I'm using STM32L476RG ...
0
votes
2answers
55 views

MAX11612 to replace ADS1015

I'm looking to replace an ADC chip from an ADS1015 to a MAX11612. Currently I'm using an Adafruit ADS1015 breakout board, but I need an ADC that is truly bipolar and reads significantly faster (>...
1
vote
2answers
59 views

What quantity changes when the signal is amplified without changing SNR in this case?

This is a conceptial question and I want o ask via an example in my mind. So I neglect any other factors which are possible for the sake of simplification. Let’s assume an analog signal through a ...
1
vote
3answers
76 views

triggered PWM from ADC end of conversion

I am making a full bridge control on D-SMPS and I want to trigger PWM from ADC to keep output voltage constantly stable. I am using STM32f103xx as microcontroller. The problem is that looks like in ST'...
3
votes
2answers
48 views

Measuring voltages from different sources sharing Common ground that might differ slightly

I have a design with resistor dividers and low pass RC filters dropping down 0-32V to ADC range of 0-1.8V. With multiple channels, I attempt to measure voltages from different voltage sources on a ...
1
vote
3answers
84 views

Selecting a damping resistor for crystal oscillator circuit

I'm building a data acquisition board with an ADAR7251 ADC. I'm trying to figure out the crystal oscillator circuit, and am stuck on the damping resistor. The relevant datasheet is https://www.analog....
0
votes
0answers
23 views

Necessity of PDM processing on the data given by an interfaced condenser microphone through ADC channel on stm32f4 discovery

I want to interface a condenser microphone with my stm32f407vg discovery board and obtain the audio output through the DAC audio jack. For the audio processing should I first convert the input digital ...
0
votes
2answers
47 views

Can RF/switching PS noise travel backwards through a circuit through a power supply

In the schematic below there is a sensitive ADC and sensor with 4 MHz SPI lines from the ADC to a 3.3V MCU, along with a 1 MHz boost converter powering an LCD. Could switching noise generated from the ...
1
vote
1answer
65 views

STM32 - 2 MegaByte DMA Transfer ADC To SDRAM

I want to transfer 2 MB of converted ADC data into SDRAM. I'm using STM32F429 Discovery board which is shipped with a 4-bank SDRAM (1 Meg Bits x 16 Bits x 4 Banks (64-MBIT)). I've configured the ADC ...
1
vote
2answers
52 views

Thermal noise voltage measured by an impedance matched ADC

I have a question regarding the thermal noise voltage measured by an impedance matched ADC. In the figure above, I have a simplified circuit with a source impedance (on the left) and an ADC (on the ...
4
votes
0answers
67 views

Photon count with ADC, am I doing it right?

I have this LED and I want to characterize this photodiode. The LED should produce light of 370 nm, but I measured it and it is around 358 nm, and at that wavelength the quantum efficiency (\$\eta\$) ...
0
votes
1answer
24 views

AD7147-1 CDC Conversion Complete Interrupt

I have three stages connected, Stage0, Stage1, and Stage2. So I want to enable the interrupt after Stage2. So I write, STAGE_LOW_INT_ENABLE (Address 0x005) = 0b0000000000000000 ...
0
votes
1answer
46 views

Leakage current of ESD protection diode vs regular zener diode

I am using a voltage divider to measure input voltage, a zener diode was added to protect opamp in case of voltage spike. simulate this circuit – Schematic created using CircuitLab I was told ...