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
19
votes
10 answers

'IOError: [Errno 5] Input/output error' while using SMBus for analog reading through RPi

I have been looking for the answer for the error mentioned in the title but for the first time i haavent got an answer yet. We ll im trying to make my Raspberry pi read analog data but when i run the code in terminal window it gives me 'IOError:…
11
votes
5 answers

Convert ADC Bins into Voltage

Let's say I have a 12-bit Analog to Digital Converter (4096 bins). And let's say I have a signal from 0 to 5 Volts. What is the proper conversion formula to convert ADC bins into Volts? V = ADC / 4096 * 5 or V = ADC / 4095 * 5 Do I divide by 4096…
Robert Deml
  • 12,390
  • 20
  • 65
  • 92
9
votes
3 answers

How to convert human voice into digital format?

I am working on a project where biometric system is used to secure the system. We are planning to use human voice to secure the system. Idea is to allow the person to say some words or sentences and system will store that voice in digital format.…
Shekhar
  • 11,438
  • 36
  • 130
  • 186
7
votes
0 answers

Listing camera devices with python

I will be needing to capture a video stream from an analog connection (RS-232, S-video, or composite) to process it in OpenCV. Is it possible to get a list of available such cameras with python? It seems the videocapture lib can list available…
Raoul
  • 1,872
  • 3
  • 26
  • 48
6
votes
4 answers

Analog readings on Arduino returns wrong values

I have tried measuring the analog pin value using the provided standard sketch in the Arduino IDE. However even when there is no connection to the pin, it prints out random values. Is there anything that has to be taken care of? I have a FSR sensor…
Casper Marcussen
  • 133
  • 1
  • 3
  • 7
6
votes
3 answers

grab frame NTSCtoUSB dongle, opencv2, python wrapper

Context: I have been playing around with python's wrapper for opencv2. I wanted to play with a few ideas and use a wide angle camera similar to 'rear view' cameras in cars. I got one from a scrapped crash car (its got 4 wires) I took an educated…
3
votes
4 answers

Simultanously Reading Two Analog Inputs with Arduino

We are simulating an oven. The potentiometer sets the desired temp and the sensor reads the current temperature of a little copper plate that is "the oven." Both the temp sensor are connected to their own analog input pin on my arduino uno.…
user3109237
  • 31
  • 1
  • 1
  • 4
2
votes
3 answers

How can I estimate the entropy content of this input?

I have a 1KHZ triangle wave generator that I am measuring from a PIC micro controller using the analog input. The frequency source for the triangle wave and the analog capture are separate frequency sources. The ADC captures at 100ksps with 12…
2
votes
1 answer

Linux : Activating twice the same module with differents parameters

I'm working with two ADS7828 ADC with I2C Interface. I'm on a Debian with a 3.4.67 kernel and use the ADS7828 module for Linux. To enable this module and control the component, I write : modprobe ads7828 int_vref=0 vref_mv=3347 echo ads7828 0x48 >…
2
votes
2 answers

Reading analog inputs fast in beaglebone black

I need to read all 7 analog pins in the BBB every 5 milliseconds. I'm doing so with the following C code: void main(){ char value_str[7]; long int value_int = 0; FILE* f0 = fopen("/sys/bus/iio/devices/iio:device0/in_voltage0_raw",…
Rafael Vega
  • 4,575
  • 4
  • 32
  • 50
2
votes
1 answer

PIC24H POT input to control LED blink delay not linear

Hello I'm using the PIC24H microprocessor and I wrote a simple program that takes input from a POT using analog input which is then set to a modulus value of delay. It does seem to set the delay, but progression from left to right is seemingly…
Matt
  • 3,592
  • 5
  • 21
  • 26
2
votes
1 answer

Analog video capture to Android phone

I am looking for a way of displaying an analog video stream on an android phone. On a pc/mac/etc you can achieve this using a cheap usb analog-digital converter such as a grabby: http://www.terratec.net/en/products/Grabby_82248.html, and then view…
Sugrue
  • 3,629
  • 5
  • 35
  • 53
1
vote
2 answers

Data Transfer between Mobile Phones Across Connected Voice Call

I require a fast reliable method of sending control commands (simple data, possibly only a few dozen possible commands) to a remote system which is using a smartphone* as its onboard computer. I have deemed standard data packages used for mobile…
1
vote
2 answers

News Marquee over analog TV stream - C#

I want to put a news marquee over an analog TV stream using c#, I can stream analog TV using DirectShow but I can't figure out how to mix it with rotating text, should I create a filter? or I have to use another technology than DirectShow?
Santiago
  • 2,190
  • 10
  • 30
  • 59
1
vote
3 answers

Recording composite video to an audio file

I'm trying to record raw composite video siganl to an audio file by connecting the yellow rca cable from a player to the mic input in my pc so I can then put the cable in my audio output and connect it with the video input in an old crt tv and play…
1
2 3 4