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
0
votes
1 answer

Redpitaya X-Channel Streaming: How to control the DAC to output a signal?

The Redpitaya X-Channel streaming application states that streaming can be done in both directions (acquisition and generation). But unfortunately there is no example addressing the DAC procedure. Furthermore I coudn't find any thrid-party…
dxxx9
  • 1
  • 2
0
votes
1 answer

AVR - MCP4921, custom sinewave frequency

I'm trying to generate a sinewave of 40KHz from an avr micro-controller (atmega328p) interfaced with an MCP4921. I have an already prepared sinewave table generated online and i use the SPI protocol. Everything is working well except one slight…
Hakim Marley
  • 330
  • 2
  • 5
  • 19
0
votes
2 answers

ADS1115 and raspberry pi pico

is there any way to use the ADS1115 with a raspberry pi pico?, I'm in the middle of a project where I need 4 analog inputs but the pico only has 3, I'm using circuit python btw... any help is appreciated
0
votes
1 answer

MAX5825 full scale on 8 bits

I am using a MAX5825 as an external DAC for RPi. According to the datasheet, the resolution of this component is 12 bits. As I read, I'm supposed to write the value I want to set in the CODEn (0x8n) register, n being the DAC channel I want to set,…
buloz
  • 11
  • 1
0
votes
2 answers

STM32 Analog Output

I was making a research about analog output from stm32. STM32F407VG user manual and DAC Manual says that STM32 can give analog output from DAC periphal. Is that analog output really ANALOG ?
Bowman
  • 109
  • 6
0
votes
1 answer

Keyboard to analog

I have not found any resource that helps me in what I am trying to do. I want to make a simple program that, when running, will convert a key press to an analog input. For example, if I hold A with a game open, it will move my character slowly to…
0
votes
2 answers

Recover the original analog signal (time varying Voltage) from digitized version?

I have been looking into how to convert my digital data into analog. So, I have a two column ASCII data file (x: time, y=voltage amplitude) which I would like to convert into an analog signal (varying Voltage with time). There are Digital to Analog…
0
votes
1 answer

SPIDEV on raspberry pi for TI DAC8568 not behaving as expected

I have a Texas Instruments DAC8568 in their BOOST breakout board package. The DAC8568 is an 8 channel, 16bit DAC with SPI interface. The BOOST package has headers to connect it to my raspberry pi, and it has LEDs connected to the output voltage so…
cuxcrider
  • 125
  • 3
  • 9
0
votes
1 answer

Pyserial writing to arduino mega 2560 problems

I feel this might be a problem on the python side, as the arduino m code works when I use the monitor. Anyway, I'm basically sending an array of strings coming from a csv file to the arduino - using python 2.7 btw. My problem is that the arduino…
0
votes
0 answers

64QAM & QPSK calculation

This is the current situation: 802.11a Wireless network with a maximum datarate of 3/4 64QAM. Calculate the datarate you get with a 2/3 QPSK. 802.11a uses a bandwidth of 54MHz. Can anyone help me with this calculation?
user4383269
0
votes
1 answer

Avoiding speaker pops when driving DC biased audio signal

I am generating an audio signal on a 12bit DAC I'm reading from a 16bit .wav file. My processor is 3.3V so I shift everything up 32768 so my values swing between 0-3.3V centered around 1.65V and shift it right 4 bits so I have 12bit values. The…
lusher00
  • 678
  • 1
  • 7
  • 18
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

Generating a tone with PWM signal to a speaker on a PIC32 microcontroller

I'm currently working on generating a tone on a PIC32 device. The information I've found has not been enough to give me a complete understanding of how to achieve this. As I understand it a PWM signal sends 1's and 0's with specified duty cycle and…
ChrisA
  • 15
  • 1
  • 4
0
votes
1 answer

Setting the Frequency for Analog Output using NI DAQMx

I'm trying to ouptput a the waveform contained in a wav file using the NI DAQMx ANSI C library. I'm using the libsnd library to read the wav file and I'm able to extract the data sucessfully, however the frequency of the output waveform is much…
Atul
  • 13
  • 1
  • 3
0
votes
2 answers

How to use a DAC on a PWM input generated by timer interrupts?

I'm using a 12-bit Linear LTC2631 DAC, and wish to convert my PWM signal to an analog one via I2C. I am currently not able to come up with an algorithm, and how would the the DAC need to programmed to take in the PWM input and then generate an…