Stack Exchange Network

Stack Exchange network consists of 175 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
3answers
60 views

Control GPIO pins using USB

What is the easiest way to make a device that can control GPIO pins using USB? Can I make a device similar to this on my own without any special hardware?
2
votes
0answers
28 views

STM32f7 ADC DMA transfer not populating the buffer

I'm trying to compute the FFT of a 100 kHz signal from the STM32f746G discovery board using the HAL and CMSIS DSP libraries and I've run into a few issues. My first issue was trying to trigger the ...
0
votes
1answer
49 views

How can I match phase voltage between a transformer primary and secondary?

I am trying to make a circuit to transform 240VAC, split-phase to a 0 to 5V waveform for an Arduino ADC so I can measure the mains voltage. I have read this question (How to measure line voltage (220V)...
0
votes
1answer
38 views

ADC occilation problem with inductive load

ADC in question is onboard ATMega168 micro controller. Relevant parts of the circuit look like this: simulate this circuit – Schematic created using CircuitLab Now I know AVCC is recommended ...
2
votes
1answer
55 views

Understanding MSP430 ADC setup

I'll get the first statement out of the way: I am a complete beginner when it comes to programming. I have a decent grasp of an Arduino, and have also been using the STM32 (via the Nucleo) and have ...
0
votes
1answer
34 views

ADS1256 ADC Not Reading Full Range

I am using an ADS1256 ADC chip (in the form of a Waveshare High-Precision AD/DA Board). I am using a 5V reference voltage, but I can't seem to read full scale. 0V reads out -344 bits (~0V) 3.3V ...
6
votes
3answers
541 views

Current sense amplifier + op-amp buffer + ADC: Measuring down to 0 with a single supply

I'm thinking about current sensing with a high dynamic range (10 mA - 20 A) and using LTC6102 as a high-side current sense amp (the voltage would be 54.6 V max, a 13S6P Li-ion battery). ...
0
votes
2answers
54 views

ADC conversion time

I'm trying to find the conversion time of ADC of this (page 1083) microcontroller. The first thing I see is 1 MHz conversion rate in "42.2 Embedded Characteristics" (page 1084). Also, in "42.6.1 ...
2
votes
1answer
64 views

ADC Selection Pulsed Measurement

I am planning to measure the voltage of an rgb LED pulsed with an ADC. The pulse is around 20ms long. The pulse is necessary so the self-heating is within reason so it won´t affect the any ...
0
votes
3answers
144 views

Reading 32 ADC channels

I have been working on an application which must read 32 analog channels at least 200kS per second. 0 to +3.3V 12 bit resolution 1% accuracy I've come up with 2 potential solutions: 32 ADC ...
0
votes
2answers
49 views

Acceleration calculation from ADC raw data

We have interfaced PCB393B12 accelerometer with MSP430F5438A board, by using 8-bit ADC. We receive raw data in 0-255 range with 0v to +2.5v as reference. How we can obtain corresponding ...
0
votes
0answers
42 views

Register readback for ADC WM8253

I am trying to read the contents of register written in serial mode of WM8253 using SPI in Basys 3 FPGA. Link to Datasheet. I'm reading from register '011100' but the result that is read is always "...
-1
votes
1answer
33 views

Energia/MSP-EXP432 Issue: Analog In Pin removing voltage from Voltage Divider

In the circuit below, I want to measure the voltage going to the ADC (output from the voltage divider consisting of a fixed resistor and photoresistor) using an MSP-EXP432; however, the MSP-EXP432 "...
0
votes
1answer
51 views

MSP-EXP432 “Analog In” pin taking voltage from circuit [duplicate]

I am building a circuit consisting of a voltage divider (with a fixed resistor and a LDR or photoresistor) outputting voltage to an ADC. I want to measure the voltage going to the ADC using an MSP-...
1
vote
5answers
190 views

Instrumentation Amplifier required for 24 bit ADC?

I am trying to build a measurement circuit that is capable of measuring voltage signals in the order of micro volts. Signal Characteristics: Voltage: Anywhere between 1 uV to 100 uV Frequency: ...
0
votes
2answers
54 views

Measuring Power across a dummy load - use voltage or current?

I have a high power 8Ω resistor dummy load (approximating a speaker) which is being driven from the output of an audio amplifier. I want to measure the power consumption and display the results on an ...
-1
votes
0answers
33 views

AC/DC Power Supply for Micro Nano reading Flow Sensor Via ADC

I'm using a NANO board with a ATMEGA328p to translate a linear voltage output from a flow sensor. Its a very simple implementation that reads the ADC pin and creates a calculated pulse signal on ...
1
vote
1answer
59 views

Maximum Allowable Noise of ADC Input Signal

I have a question about calculating the maximum allowable noise for an ADC signal conditioning stage. I have an existing signal conditioning stage as well as an ADC on a microcontroller. I would ...
1
vote
1answer
35 views

Driving ADC's CONV input at the falling edge of SCK

Trying to makes sense of the following in this LTC1407 datasheet: It is good practice to drive the LTC1407/LTC1407A CONV input first to avoid digital noise interference during the sample-to-hold ...
-2
votes
0answers
28 views

Calculation of ADC parameters like resolution,sampling time,adc value,prescaler,cycles and other required values [on hold]

I want to calculate the adc parameter 12 bit adc cpu clock freq=16 MHz total supply voltage=3.3 V voltage comes on ADC pin=1.40 V timer=16 bit
0
votes
0answers
15 views

Reset control systems - Reduced overshoot (Swing)

The following figure shows a Two-step Incremental Sigma Delta/Zoom ADC where the feedback DAC is adjusted based on the result of the coarse conversion. I am interested in the signal that is injected ...
-3
votes
2answers
100 views

STM32F4 Fewer Pin Mapping possibilities for ADC inputs

For STM32F405 100pin package, its datasheet page 39 and ref. manual page 388 as well as CubeMX shows that there are 3 ADCs each share 16-channels as shown in following images. Although it is not ...
0
votes
0answers
17 views

Tracking ADC Control Logic Not Counting down, only up?

I'm working on trying to build a "tracking" type ADC from individual components. Shown below is my schematic using the parts available in Multisim. The design is based on the 74LS191N 4-bit Up/Down ...
1
vote
1answer
33 views

What are ADC channel “map,” “max,” and “amount” used for on a Microchip ATSAML21 ARM MCU?

I'm working with a Microchip ATSAML21J18B ARM microcontroller and learning how to set up an ADC input. Coming from the AVR world, things are rather more complicated. The ADC features (datasheet pg ...
0
votes
1answer
51 views

Best way to shift automotive logic to Arduino TTL

My vehicle ignition switch voltage is 9V when the vehicle is not running. It is 6V when button is pressed. I need a way to convert this to TTL Arduino digital logic levels. I thought I could use a ...
2
votes
2answers
73 views

Read voltage of the battery that feeds ATmega328p

I am designing a system focused on the uC ATmega328p and I am feeding it directly with a 3.7V LiPo battery. I also have a 3.3V LDO feeding several sensors in the system. My question is the next, If I ...
0
votes
0answers
22 views

ADC sensing Range of MSP430I2020 controller

my project is based on Weight scaling using load cell. currently, I'm working on inbuilt 24 bit ADC of msp430i2020 controller.internal ADC reference voltage is 1.2 volt. Capacity of load cell -300KG ...
1
vote
1answer
103 views

PWM with ADC - ATMega16

I want to write code where I move the wiper of the potentiometer clockwise so it applies PWM on a pin, and when I move it counter-clockwise it applies PWM on another pin. I could do it with Arduino, ...
0
votes
1answer
86 views

Circuit for measuring voltage with ADC when it exceeds microcontroller limit (3.3V)

I have connected ADC to the microcontroller. The maximum ADC voltage range of microcontroller is 3.3V. i want to measuring ADC input voltage in between 0V AND 3.3V So when ADC voltage is greater ...
1
vote
2answers
62 views

Photodiode Output measurement

I'm using Hamamatshu s8559 photodiode to convert x-rays into it's respective energy. I'm using a 10 bit ADC converter. The problem I'm facing is I have no relationship between the Photo-current ...
1
vote
2answers
56 views

ADC conditioning for Lead-Acid monitoring? [duplicate]

I want to monitor a 12V lead-acid battery using an ADS1110 ADC. This ADC has a reference voltage of 2.048V. Thus, I (think) need to condition my input from, say a 10V-15V level range to 2 volts (0.4 ...
1
vote
1answer
54 views

Characterization of an Amplification/ADC circuit

I build a small amplification circuit in order to amplify the low voltage signals of my passive sensors (the sensors have a source impedance of about 50-200 Ohm and they output a low voltage signal in ...
0
votes
0answers
32 views

STM32F407 - ADC in Scan mode setting overrun bit

I want to read 4 ADC channels in continuous scan mode. I am using adc interrupt to read from adc data register. Here is my initialization : ...
2
votes
4answers
472 views

Converting ADC output to real values [closed]

On a custom board I have an ADC which measures -5V to +5V. And outputs in Hex via SPI like this: ...
0
votes
0answers
25 views

Can you please explain me what is the meaning for the range of an ADC?

I am reading about ADC and I saw this: Adjustable full-scale ranges from 12pC to 350pC and adjustable integration times from 50µs to 1s allow currents from fAs to µAs to be measured with ...
0
votes
0answers
40 views

Measuring High Voltage DC Using ESP32

I want to read high voltages, around 150VDC, using a ESP32. I plan to put this as an input into the ESP32 ADC pin. But of course, i shouldn't have voltage that high on the input of a ESP32. In ...
0
votes
3answers
103 views

How to supply a very accurate ADC reference voltage to STM32?

Every voltage regulator IC has atleast a variation of 2% or something. This can make the ADC reading way inaccurate if it fluctuates to those levels. What is a robust and common solution to this ...
0
votes
1answer
44 views

Can I leave the input pins of an ADC channel in floating state?

I'm using this 4-channel ADC: MCP3422 -> Datasheet I only need to use 3 of the available 4 input channels in total. Normally I would add footprints for pulldown resistors for example in case a ...
1
vote
1answer
80 views

Eliminating ADC Noise

Im currently using STM32F4'S built in 12 bit ADC. When I get my measures, it varies wildly at +- 40 numeric range. Is there a way to eliminate this? I have tried software filtering with no luck. ...
1
vote
0answers
43 views

What factors cause the harmonic distortion in ADC at high signal amplitudes?

I have been studying about the ADC's SNR vs amplitude relation. A sample curve is shown below: I am interested in the region rounded (orange) of the gray curve. At that region, we expect to see ...
0
votes
1answer
66 views

Using a Dual Bidirectional I2C Bus Voltage-Level Translator

I have a module that uses this ADC powered with 3.3V (MCP3422): Datasheet Now I would like to communicate with it over I2C using an Arduino Mega. The problem is that the Arduino's I2C is operating on ...
1
vote
2answers
47 views

Load sensor ADC converter

Load sensor required external module HX711 (ADC converter 24bit for weight) for ADC converter. This module is then connected to the controller. If I have a controller with inbuilt 24bit ADC, then is ...
1
vote
2answers
54 views

How to calculate Op Amp's gain using Arduino's ADC

Hi, I'm feeding a 500 Hz PWM signal to the Op Amp's V_IN using Arduino DUE. The Op Amp, which is ADA4000-2 from Analog device, is connected to +12V, -12V using an external power supply. The power ...
2
votes
1answer
26 views

Can the DNL error of ADC be less than in negative more than 1LSB

I have seen ADC with DNL error of more than +1LSB but did not see DNL error of -1.5LSB or -2LSB. In a practical ADC is it possible to have DNL in negative more than 1LSB
0
votes
0answers
38 views

Initializing ADC causes LCD to not display anything

I have been having some trouble getting my ADC to work so I have decided to give it a try by manipulating the registers. I have a textbook which outlines the steps and I think I have it finished, but ...
2
votes
2answers
85 views

What is the second resistor for in this potentiometer reference circuit?

In the reference circuit from this datasheet for a potentiometer, what is RL for? Why did they pick 100 x R? Bonus question, how do I pick a good value for C?
0
votes
0answers
20 views

What is the difference (in operation and performance) between a single-ended grounded CDC and a single-ended floating CDC?

For an undergrad project, I designed a capacitive pressure sensor that measures capacitance across two parallel plates and calculates a proportional amount of pressure (i.e. increased pressure = ...
2
votes
1answer
57 views

Order of write and read in Microprocessor interfaced with ADC

An ADC is interfaced with a microprocessor as shown in the figure. All signals have been indicated with typical notations. Acquisition of one new sample of the analog input signal by the ...
5
votes
6answers
601 views

RC Lowpass Filter between Amplifier and ADC input

I have sensors (pyranometers that consist of thermopiles and measure sun irradiation) that ouput a low voltage signal so I need to amplify them using an instrumentation amplifier. I have chosen the ...
0
votes
0answers
39 views

Design SAR logic block for 10-bit SAR ADC?

I have chosen a switching scheme for my 10-bit SAR ADC. But I am stuck at designing the sar logic control for DAC switch, comparator, S/H bootstrap switch. As shown in the picture is an example of 3-...