Questions tagged [analog-digital-converter]

Anything related to analog-to-digital converters (ADCs). ADCs are hardware devices that convert analog signals to digital signals.

Anything related to analog-to-digital converters (ADCs). ADCs are hardware devices that convert analog signals to digital signals.

These devices are extensively used to interface digital equipment (such a computer or a microcontroller) with the external world, since they allow, when coupled with suitable transducers and signal-conditioning hardware, to convert any continuous physical quantity to a number representing its value.

See the Wikipedia article on ADCs

59 questions
0
votes
2 answers

Verilog Peak detection

I am new to Verilog. I am trying to detect peak to peak voltage of an input signal to ADC on FPGA. Before that I wanted to test a simple but similar code which finds the minimum and maximum of set of 4 bit parallel inputs. Initially I assigned…
eesweng
  • 21
  • 8
0
votes
1 answer

stm32f4discovery A/D set up

I want to setup the AD converter at 8KHz rate (for voice sampling). I know how to do it with timer interrupt. However I want to set it up directly using DMA.. Operation clock is at 144Mhz (and should be there)--> ADC clock is APB2/2=36Mhz Now using…
0
votes
1 answer

Analog data to digital data conversion in android for accelerometer?

I used accelerometer sensor in my android app and implemented SensorEventListener to my acctivity public void onSensorChanged(SensorEvent event) { //acceleration.x,.y,.z is the input from the sensor //result.x,.y,.z is the filtered…
0
votes
1 answer

How can I compress cyclic data with minimal code?

I need to collect data from a sensor and compress (lossy) about 2 to 1. I would like to aim for under 50 lines of C code. The signal is from a 4 bit A/D converter and is roughly a sine wave with slightly erratic amplitude and frequency. There are…
Jim Lewis
  • 349
  • 2
  • 14
0
votes
1 answer

Can I connect a heartbeat sensor to XBee?

Can I connect the heartbeat rate sensor XD-58C to the analog pin of an XBee and send this value to a base station (PC) that have XBee connected to it?
0
votes
1 answer

Why mixed signal output only changes at 1ns,2ns,3ns ...?

I'm trying to simulate analog & digital simulation (Cadence Virtuoso version 6) I make simple counter in verilog code and I succeed to check digital simulation. But when I tried mixed signal simulation (using only 2 inverter chain for analog part…
Curious_man
  • 169
  • 1
  • 1
  • 5
0
votes
1 answer

“Read Analog Voltage” sample rate

I want to make sure my code looks like working, since I don't have a lot of time with a signal generator tomorrow and I want to know how to set the sample rate. I want to sample a 2kHz signal with a samplerate of 6kHz with a Arduino MEGA 2560. It,…
AprilDC
  • 11
  • 4
0
votes
1 answer

"Read Analog Voltage" sample rate

In this arduino example: ReadAnalogVoltage What would the samplerate be if I run it on a MEGA 2560? And what should I do to set the samplerate to 6kHz? Thank you.
AprilDC
  • 11
  • 4
0
votes
1 answer

Concatenating 32 bit integers in C

I am currently working on a project that will use a thermister as a temperature sensor and displaying this information among other things onto a gui using the raspberry pi. However I am currently stuck on the Analog to digital conversion. Using the…
0
votes
2 answers

Can we send data across an analog phone line?

I wish to know whether it is possible to send data across PSTN network. While the call is in progress, I want to send some data through the telephone line (as DTMF tones can be sent). The data that I want to send is digital and is encrypted and…
0
votes
2 answers

the output of accelerometer sensor adxl335 connected to raspberry pi is 1. How to get the output in decimal format

I have written the below program in python and tried to read tthe accelerometer sensor output. When I print the output of the accelerometer I am getting 1. Please advice me how to get actual output in digits to know the exact tilt of the…
0
votes
1 answer

Only One ADC but many Channels

If it is given in a Datasheet for a ARM Processor : 1×12-bit, 2.4 MSPS A/D converter: up to 16 channels Is it only one ADC with 16 Channels and. Have all of them 2.4 MSPS or need they to share the speed? Thank you!!
0
votes
1 answer

LM35 temp sesnor equation for arduino uno which connected to matlab GUI

Hi I'm new in matlab GUI I am trying to create an axes plot the temperature which comes from LM35 through arduino uno to matlab I used the following code to read the analog voltage, readVoltage(a,0) I get a values about 0.28 - 0.30 but I don't know…
0
votes
0 answers

Using int containers with two x MCP3008 ADC Rpi

The following code uses 2 MCP3008 chips attached to Rpi and my home alarm panel. These 16 analog values fluctuate between 600 and 715 out of 1023 depending on PIRs etc. The Int value prints out: Chip A - 1023 Chip B - 242 Chip A - 1023 …
maurice1
  • 1
  • 1
0
votes
1 answer

how to plot the input analog signals from arduino in matlab

I have been trying to read analog signals through arduino uno and plotting them in MATLAB. When i gave my input wave from function generator and tried to plot it, the plotted signals were not correct, e.g. an input sine wave didn't give a sine wave.…
sherin thomas
  • 15
  • 1
  • 1
  • 3