Questions tagged [digital-analog-converter]

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

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

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

See the Wikipedia article on DACs

31 questions
3
votes
0 answers

STM32F103 DAC and ADC won't run concurrently

I have a thread set up to constantly read 18 ADCs across ADC1 and ADC3 and fill them into arrays. void TSK_AdcSensor(void const *argument){ ADC1_Configuration(); ADC3_Configuration(); //Clear the ADC value registers for (i=0; i
propro
  • 31
  • 1
  • 4
2
votes
3 answers

Drive an DAC from a stream that is clocked from another source?

My DAC is internally clocked at 48khz, I need to feed it from a stream that is also 48khz but is clocked from a different source. The two sources will drift over time and any buffering in between will inevitably overflow or underflow. Unfortunately,…
JeffV
  • 52,985
  • 32
  • 103
  • 124
1
vote
1 answer

Analog vs digital version of Butterworth filter in SciPy

I have a question about the analog and digital versions of the Butterworth filter in SciPy. I tried two things to get a digital Butterworth filter: Getting an analog filter by scipy.signal.butter with analog=True, and then using…
hit
  • 31
  • 3
1
vote
0 answers

Why DC voltage can't be generated at audio port of a smartphone using AudioTrack library?

I am building an android application to generate signals like Sine, Square, Sawtooth and DC. I have been able generate sine,sqaure and sawtooth waves by generating values and filling these values to the buffer through which I write to audio port…
nithin
  • 73
  • 2
  • 7
1
vote
1 answer

spidev on Raspberry Pi not giving any output with DAC7562EVM

I am attempting to control a DAC7562EVM using a Raspberry Pi. I have connected: Signal - PI - TI - Signal MOSI - P1-19 - J2-11 SDI SCLK - P1-23 - J2-3 SCLK CEO - P1-24 - J2-1 /SYNCO GND - P1-25 - J2-4 DGND Additionally, the JP1…
1
vote
0 answers

Digital to Analog Conversion using Cordic

I am a newbie with DACs, but basically, I have a FPGA (DE1-SOC) running Linux. Hooked up to it is a LTC2607 DAC. Everything is operating smoothly as far as Linux recognizing the DAC over I2C and everything. My question is regarding how to generate…
1
vote
2 answers

Digital audio formatting

I have a vectorized wav file with values between -1 and 1, 88,200 samples, 44.1 kHz sampling rate to hear the audio within two seconds. I'd like to send the audio through bluetooth to a bluetooth module, arduino, DAC, and 3.5mm breakout board with…
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
vote
1 answer

How do I write MATLAB code for a DAC converter ?

In the first step I generated a sequence of bits (0,1).. I used a randi command x = randi([0 1],1,3) to generate random bits I stuck with these 2 steps : Divide sequence by 3 bits into 8 levels [000, 001, 010, 011, 100, 101, 110, 111] For each…
xKeyNorm4n
  • 13
  • 4
1
vote
1 answer

Modeling an analog psuedo random LFO signal (low pass filtering in Javascript)

I'm writing a Javascript program to programmatically create MIDI signals for procedurally generated music that uses external inputs to modify/manipulate the sound in response to changes in an environment. One of the things I'm trying to do is figure…
1
vote
0 answers

Multiple Audio Lines from DAC in Java

I am working on a live music visualization project in Java (technically Processing, but we're using Eclipse) that requires audio input from multiple mics at the same time. We had a good system going with JACK (as per the answer to this question),…
1
vote
1 answer

How to interface digital output of FPGA to a DAC?

I currently have a very, very basic DDS core(?) with a counter, tuning word, and sine LUT that outputs 16 bit values to correlate with a sin value for a DAC. I am using the Nexys 4 DDR board and my DAC is a peripheral module designed exclusively for…
qasddd
  • 47
  • 2
  • 11
1
vote
1 answer

Generate square wave for analog input/output on software

I have a device, and it has digital i/o, analog i/o. I send to device below commands for communication.The device has gpio module. My device documantation is here Write to digital input : gpio set/clear x Read from digital output : gpio read x Read…
1
vote
1 answer

How to access adc and dac directly on android phones?

I am at the beginning stages of a project in which I will be trying to make a hearing aid application for Android. I have wrote a few patches in Pure Data,C sound, and the basic Android sound library which basical take the input from the microphone…
user2457541
  • 105
  • 2
  • 3
  • 11
1
vote
0 answers

Arduino PWM code working on one pin not another

I am using Arduino UNO. The following code is working on PIN 10 but not on PIN 6. Can anyone pls suggest a reason. I know that each pair of PWM pins use different Timers but I havent done anything to any timers!! Here's the code. /* Fade This…
Shark
  • 11
  • 2
1
2 3