Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
33 views

What happens if we give two tones to an ADC? [sigma delta]

I have been working with Sigma delta ADC, where I generally use a single tone input and then check its spectrum at the output for the SNR, which is similar to as shown below: (just an example) I am ...
0
votes
0answers
8 views

ADS1299 - No toggling of DRDY in continuous conversion mode

Setup - We are using 8-channel ADS1299 on a custom board to acquire data from a signal generator. The custom board houses an ATMEGA328P-PU to acquire digital data with SPI connections to ADS1299. The ...
0
votes
3answers
66 views

STM32 ADC Input voltage

What happens to STM32F407 ADC if i give it an input voltage higher than maximum VDDA that is mentioned in datasheet equals to 3.6 volts? It will harm the micro?
0
votes
2answers
140 views

Why is a voltage divider used when reading analog sensors?

So when reading sensors (ping sensors/light/pressure/etc...) I notice they always use a voltage divider with resistors before running the input into the ADC input of a microcontroller. Why can't we ...
0
votes
0answers
37 views

STM32L476 Discovery ADC output is not changing even though the input voltage is

The output value of the ADC seems to flicker between 539-549 (in a range of 0-4095) no matter what voltage is on the input pin. The voltage on the input is usually between 0V - 4V. This might be a ...
2
votes
1answer
34 views

Issue having 4-20 mA interface with ADS1115

I need to make a 4x 4-20mA measuring circuit with ads1115 (VDD = 5V) 4 channel 16bit ADC I set ads1115 PGA to 4.096 gain and set circuit as below. once I set this 32000 ADC levels--> 4.096V--> 0....
0
votes
0answers
30 views

Different sampling rates for half and full channels on oscilloscope? How is it done?

In the documentation for the Keysight DSOX1204G, it has the interesting note for the sampling rate of: 2 GSa/s (half channels) 1 GSa/s (all channels) So, if I ...
0
votes
1answer
46 views

How do I read the output from a guitar patch cable?

I am curious about how guitar patch cables and amps work. I am trying to read the output from an electric guitar using an analog to digital converter, but I'm assuming I need to power the guitar in ...
0
votes
0answers
22 views

Transferring uint32_t using USB_OTG_FS in stm32f4 discovery board

i want to send an uit32_t adcbuffer[1] over USB at full speed and CDC library but as you can see ...
1
vote
1answer
52 views

Low pass filtering effect on accuracy of power measurement

I'm planning on measuring consumed power (for an e-bike) by sampling current and voltage with an ADC and digitally approximating the power based on the obtained values. I need to pick a sampling rate ...
0
votes
1answer
43 views

How to transfer data which is acquired by ADC & DMA using USB_OTG_FS in stm32f407 discovery board

i acquire a 12 bit ADC at 10kHz sampling rate (which is equal to 15 kByte/s) using DMA2/stream0 in circular mode and put them into an unit16_t adcbuufer[1] now i ...
0
votes
0answers
25 views

ESP32: 0.1uF Cap Between SENSOR_VP and SENSOR_VN

According to the ESP32 Hardware Design Guidelines, a 0.1uF cap should be added to the SENSOR_VP and SENSOR_VN pads when using them as an ADC. Why is it then that the subcircuit schematics shown in the ...
0
votes
2answers
69 views

Analog Potentiometer Output to USB Serial [on hold]

I‘m working on a project which has several switches and potentiometers that will be used to control parameters in software via (e.g.) MIDI and would like to know how to get the pots set up without ...
0
votes
0answers
28 views

What are some techniques to troubleshoot a second order sigma delta loop?

I have designed a slightly modified second order (3-bit) multi-bit incremental sigma delta modulator (IDSM) in simulink (system level). The SNR that I get is 45dB, which is not as expected. But ...
0
votes
0answers
35 views

Injected adc2 channel combined with regular channels adc1 dma stm32f103

I have 7 adc channel must be measured. 4 channels are continuously measured by dma and adc 1, 3 of them are very important measured in special moment. I want to mesured this channels by injected ...
0
votes
0answers
33 views

hx711 values non-linear

I have an hx711 ADC module with 4 50kg load sensors wired in a wheatstone bridge (for a maximum load of 200kg). When I apply load to the sensors, the resulting values for increasing weights appear to ...
2
votes
1answer
54 views

Multi-tasking on an 8bit AVR -

I'm using an ATTINY816 (the new series AVRs) to manage a system that includes the following tasks: Simple audio "effect processing" (delay, pitch up, pitch down...) using internal ADC + DAC Storage ...
0
votes
2answers
54 views

Use ADC as Analog Comparator (AttinyAVR)?

I have recently been trying to transition from Atmel's Atmega 328p avr to the newer (and much smaller) attiny416. The trouble is, the 416 only allows you to choose between two positive inputs and two ...
1
vote
1answer
71 views

RGB video ADC for oscilloscope? [closed]

I was wondering if an ADC like this https://www.analog.com/media/en/technical-documentation/data-sheets/ad9883a.pdf would work for making an oscilloscope. Will it work? Is it suitable? added I found ...
1
vote
1answer
81 views

Actual Accuracy of an ADC

I checked quite some ADC datasheets and am a bit confused regarding the actual achievable accuracy of an ADC. Let's take this ADC for this example (ADC MCP3422): http://ww1.microchip.com/downloads/en/...
1
vote
1answer
60 views

Op Amp integrator - limiting +Vsat to zero (ground)

Part of the Dual Slope ADC consists of an integrator which integrates the input voltage according to Vin/-Vref . I am using TL071 connected as an inverting integrator. Quick summary of operation: ...
1
vote
1answer
59 views

How can I make my measurements of full-wave rectified AC using an A/D match a Fluke meter on its DC range?

I am trying to measure the DC voltage of a full-wave rectified 60Hz AC signal using an A/D and have it match what a Fluke meter reads on its DC scale. My current approach is to take as many (16 bit) ...
0
votes
0answers
27 views

What is the ENBW of a Sigma-Delta ADC?

How do you determine the equivalent noise bandwidth (ENBW) of the digital filter in a ΣΔ ADC? For an analog filter of known order this is straightforward, but, is there a way to estimate the ENBW of a ...
0
votes
0answers
17 views

Difference in feedback DAC levels between first and higher order Multibit sigma delta modulators

My objective is to understand the difference between first and higher order Multi-bit sigma delta modulators in terms of DAC feedback signals. I have a setup of 3-bit incremental sigma-delta ...
-1
votes
0answers
41 views

Simulataneous Sampling using both ADCs of TM4C123GH6PM

I am new to the domain of Embedded System. I have been trying to get the answer to my task in the TI community but in vain. I was trying to sample two input signals simultaneously using the both ADCs ...
0
votes
1answer
69 views

AD7798 ADC data read problem

I'm facing problem when reading data register. The SPI communication works perfect, all the registers can be write/read. The data register show -1 (which in datasheet indicates that there is a problem ...
0
votes
1answer
62 views

From which circuit, I will be able to measure high frequency signal (in MHz) by using micro controller with 200 Ksps ADC?

I want to measure 20 MHz signal by using microcontroller with 12 bit ADC And 200 Ksps sampling rate. Which circuit should I design in order to measure it accurately?
0
votes
0answers
37 views

MCP 3008 Re: Raspberry pi

I am new to circuitry. Naturally, this presents a few problems when asking a question: One often does not know enough to formulate a well-formed question. My apologies in advance. I use a ...
1
vote
4answers
117 views

Differential amplifier with common voltage far above the rail?

I have a thermocouple with one end connected to +24V. I want to be able to read the voltage (-5mV - +20mV) on it using a 3.3V ADC. The most reasonable solution I see is lowering the voltages using ...
0
votes
1answer
102 views

Amplifier with true ground output swing and A/D conversion

I want to amplify a 0-20mV signal from a sensor to 0-2.048V in order to feed it to an ADC (with a reference voltage of 2.048V). After I will input the digital signal to a microcontroller. I need to be ...
1
vote
1answer
48 views

How to reduce ADC noise through PCB routing?

I am routing a PCB board with some through hole IR emitters and transistors and I am trying to figure out placement of ICs/Op-Amps, as well as capacitor placement and route placements to reduce the ...
1
vote
3answers
113 views

Do I need to filter before sending signal to an ADC?

I have an ADC that is capable of a 25kHz sample rate and I have a sensor whose bandwidth is 200kHz that I'd like to hook up to. This is a current sensor. Nyquist tells me that I need to limit the ...
0
votes
0answers
47 views

How drive two servos using BBC micro:bit using JavaScript?

I'm playing with a BBC:micro using EspruinoJS and I'd like to control a couple of Feetec FS90R continuous rotation mini servos(datasheet pdf link). I had no luck using ...
1
vote
0answers
58 views

STM32F4 ADC oscillating

I am trying to read the ADC of a STM32F4. The code skeleton was generated by CubeMX, the HAL library is used. The read values are feasible but have periodic noise, as seen here: The plot was ...
0
votes
1answer
41 views

Evaluation A/D and D/A converter

If I need to read and write data over TRRS to and from headphone (i.e. I read from standard (iphone/galaxy) headphone mic. and write to standard headphone earphones). This is a schema of what I want ...
1
vote
1answer
52 views

Interfacing AD7811 ADC with Arduino over SPI

TL;DR: I am not getting the correct values back from the AD7811 ADC. I am giving the ADC an input from my benchtop PSU (Tenma 72-2540) into analog input 1, and getting various (and always wildly ...
0
votes
1answer
60 views

What to do with unused pins for this ADC?

For my senior design project I'm using this ADC (HMCAD1511) https://www.analog.com/media/en/technical-documentation/data-sheets/hmcad1511.pdf I'm only using one of its four analog inputs - what ...
0
votes
2answers
81 views

Current drawn by microcontroller

How to estimate current drawn by microcontroller(on the ADC port) when interfaced to a module/IC/sensor theoretically? MCU manual: https://nxp.com/docs/en/data-sheet/LPC2131_32_34_36_38.pdf
0
votes
1answer
62 views

Facing issue while doing ADC conversion

I am new to the PIC programming, and in below program trying to blink LED for specific range of resistance. But when i have debug , i found it out that while loop established to wait till conversion ...
0
votes
1answer
89 views

Opamp Buffer output voltage offset

I am building a system which will measure and record the voltage of batteries. There are 8 channels in the system with each channel being capable of measuring 0-35V. The accuracy we have decided upon ...
1
vote
2answers
146 views

STM32 ADC+DMA occurring only once

I'm trying to poll the value of the ADC and store it in a variable using DMA but the variable store the value of the ADC1->DR only once(when the program start). ...
0
votes
1answer
24 views

ADC startup time in AT91SAM7 - what is it?

I'm working with ADC in AT91SAM7S micro-controller. Apart from parameters like ADC clock frequency prescaler and 'sample and hold time' (that I'm familiar with), there is a parameter called 'Startup ...
0
votes
1answer
61 views

STM32F411VE ADC interrupt not working

My code works fine without interrupt (I tried polling the ADC value) but when I enabled the interrupt, it didn't work - while debugging in Keil, it never reaches the ...
-1
votes
0answers
37 views

Determining ADC speed and Bit-depth with respect to the time-varying input signal to be sampled?

How to roughly specify an Analog to Digital Converter (ADC) given that my analog signal (continuous) strictly changes its value (amplitude) after every 50ms? Thanks,
0
votes
0answers
22 views

VCSEL temperature control with TEC: ADC average vs moving average filter

I have to control the temperature of a VCSEL with an on-DIE TEC and a PID-controller inside a FPGA. The ADC used to sample the voltage across a on-DIE NTC offers a samplerate of 1MSPS and the signal ...
0
votes
2answers
53 views

Is there a simple way to quantize an input waveform in LTspice?

How can a 1V sine-wave input be converted to a staircase sine-wave with an 8-bit resolution for instance in LTspice? Or is this even possible? Can this be achieved without a complicated ADC circuitry?...
0
votes
2answers
72 views

Relay arcing protection for analog input

I need to measure the voltage of a Li-ion battery that is connected through a relay, on the NC pin, to the rest of the circuit (so BAT+ - relay - circuit). The coil of the relay is connected to ...
-1
votes
0answers
44 views

Dual slope ADC converter VHDL

Hi I'm trying to write a code for dual slope ADC. And I"m not sure if my logic is wrong or if there's something else that's wrong. ...
0
votes
0answers
58 views

Choosing the right amplification/gain for the internal PGA of an ADC IC

Problem I need to read a sensor (multiple of the same kind) with a microcontroller. The sensor I have, outputs a signal in the range of 0mV up to 20mV. Thus, it needs to be amplified and send to an ...
4
votes
3answers
691 views

Building circuit to amplify small sensor signals using an Instrumentation Amplifier and 24-Bit ADC

I'm a beginner when it comes to circuit design and I have spent the last few weeks doing research on this topic. I have now chosen some ICs (Instrumentation Amplifier and ADC) and would like to build ...