Questions tagged [digital-analog-conversion]

Digital-to-analog conversion is a process in which signals having a few (usually two) defined levels or states (digital) are converted into signals having a theoretically infinite number of states (analog).

Digital-to-analog conversion is a process in which signals having a few (usually two) defined levels or states (digital) are converted into signals having a theoretically infinite number of states (analog).

48 questions
14
votes
6 answers

Is there a way to play sounds from an Arduino without using a sound shield?

I would like to play a wav file (spoken words) from my Arduino. I do not want to add a sound shield. Is there a way to play a sound through an output pin? The quality does not have to be great.
Hoytman
  • 747
  • 5
  • 13
  • 27
3
votes
0 answers

Connecting Arduino Due's DAC output to pc sound card with protection

I would like to connect the DAC outputs of my arduino board to my pc sound card input so that I can use my sounds card as an osciloscope. I have two questions: 1- if I don't use an amplifier, how can I protect the arduino from being damaged? 2- if…
Aaron Azhari
  • 241
  • 2
  • 4
2
votes
0 answers

I have a cash counter with RS232 in the back of it, I want to read the data that supposed displayed on the projector

I have cash counter with RS232 in the back of it. I want to read the data that supposed displayed on the projector with RS232 to TTL convertor and arduino. Here is all my setup Now I Connect the MAX3232 TX pin to the RX Arduino pin and Connect…
2
votes
1 answer

Mildly accurate oscilloscope using Arduino Uno R3

I'm trying to make a mildly accurate oscilloscope using Arduino Uno R3 and I've done some research on the best method to do so. First of all I need to measure the voltage with a rather high sampling rate and then I'm going to transfer my data…
2
votes
1 answer

Controlling op amps amplification ratio by arduino

Is there any option how to control amplification ratio of operational amplifier by some logic signal which can be produced by arduino? I am talking about some clasic op amp like lm356 or ui741 in basic inverting or non-inverting circuit (i would…
2
votes
2 answers

Dealing with a Signal Source

The following circuit is a simplified version of a more complex system. For testing purposes, the 555 Timer was added to serve as a test signal source with frequencies set by the resistors in series. Each arbitrary signal is indicated by a push…
2
votes
4 answers

Issue with incrementing PWM over time

First post here. So I have an issue, which I have identified, but I'm not quite sure how to fix it. I'd really appreciate some input and suggestions. I realize that my "pwmDelta" is the problem, but I am not sure what to do to fix it. I am trying to…
2
votes
1 answer

SPI Connections to DAC

I'm hoping to construct a feedback loop for a laser using an Chipkit UC32 and an analog-digitial converter ( the one of I have is an AD5780 evaluation board). I've been reading through Digilint's SPI library but I admit I am pretty lost. ( I…
Andrew Hardy
  • 131
  • 7
2
votes
3 answers

Arduino 3.3V Conversion

I am fairly new to Arduino. As far I know all official Arduinos run on 5 volts. Or there is Arduino versions that run from 3.3V? I need use Arduino with devices which chipsets all use 3.3V logic level. Do I need modify Arduino to make it 3.3V…
2
votes
2 answers

Arduino Uno Digital to Analog Converter

I'm trying to read in an analog signal (a heartbeat) to pin A0 on the Arduino Uno and then convert it to digital. I'm hoping to use the digital signal to make an LED light up every time the voltage of the heartbeat signal goes over 1 volt. This is…
EmilyF
  • 121
  • 1
  • 2
2
votes
3 answers

Use photocell as digital input

I need to use multiple photocells as input, but its more than the amount of analog pins that my arduino has. I'm wondering if theres any way to use a photocell as a digital input, with the photocell triggering at a specific set threshold of…
B L
  • 21
  • 1
  • 3
2
votes
4 answers

PWM on non PWM pins

Why does this code not function in a similar way to the example fade sketch? I have had to resort to using bit-banging as a way to implement PWM onto non PWM pins due to a lack of available free pins on my Arduino Pro Mini. I am using a sketch that…
KHS
  • 41
  • 1
  • 2
  • 6
2
votes
2 answers

How do you send data via I2C without the wire library?

I have the following digital potentiometer: DS1803-100 which, according to the datasheet, can be controlled using a two-wire serial interface. I have managed to get it working using Wire, however I can't seem to get it working using only…
Calin
  • 243
  • 1
  • 3
  • 9
1
vote
2 answers

PWM and Analog Signal Quality

I'm converting a 0-5v PWM signal to an analog signal using an LM358D. I've connected the output to an oscilloscope to look at the signal but I'm not really sure what I'm looking at. The PWM looks ok but I'm unsure of the analog signal. Here's some…
tryingHard
  • 19
  • 3
1
vote
1 answer

How to Read ADC value without Common GND ? (Possible or not !)

I want to Read external signal with the microcontroller. But the problem is that ADC does not work because the signal GND and the microcontroller are not Common, My question is, have you encountered such a problem? Is there a way to do it?
1
2 3 4