The digital-analog-conversion tag has no usage guidance.
0
votes
2answers
32 views
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 ...
0
votes
1answer
29 views
Trying to read analog signal with digital pin using outside ADC
Is there a way to route an analog signal from a simple temperature sensor through an ADC, MCP3008, into a digital pin. I have used all the analog pins on my Arduino Mega 2560 and am trying to utilize ...
0
votes
1answer
14 views
Trouble reading analog (PWM)
I'm trying to test my analog signal before I send it to an actual analog device. I've written some code and considering the analog square I have expected to see a digital ON or OFF during a single ...
1
vote
1answer
52 views
It seems as if there is a 220K pull-down resistor on analog pin 0
So I am building a project that uses the analog pins for precise measurements of resistance through a voltage divider and I have been having some seemingly unsolvable problems with nonlinear response ...
0
votes
1answer
59 views
Producing a sine wave with the DAC?
Its being a few days i am trying to achieve something that I dont really know if possible.
Using the Samd21 chip(Arduino Zero), I am using a timer and a DAC to produce a sine wave.
The required ...
0
votes
2answers
100 views
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 ...
1
vote
0answers
43 views
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 ...
0
votes
1answer
79 views
Arduino to DAC to ADC back to Arduino?
My question is simple. Is the following possible?
I am using one Arduino Mega 2560 board and its SPI functionality to adjust voltages (0-4.096V) through a 12-bit DAC (MCP4822).
I would like to ...
0
votes
0answers
24 views
How to Connect GSR to Arduino
I know there are several GSR shields out there, but so far I have not been very impressed with their performance.
Hence, I would like to use something a bit higher quality, such as the following:
...
1
vote
2answers
334 views
Is it possible to make a mathematical function generator using Arduino?
I want to build a function generator but not the ones which outputs square wave or sawtooth ect. I will input a discrete function lets say f(n) = e^n for n=0 to n=100 and the output array will be ...
1
vote
1answer
117 views
Using Analog Comparator on ATmega32u4
I am (currently) parsing a PPM analog signal using an Arduino Uno R3 using the analog comparator ASCR and analog hardware interrupts using AIN0 and AIN1. I am applying a specific negative comparison ...
0
votes
2answers
132 views
Are DAC pins useful for anything besides working with audio?
Whenever I run into information about DAC, it seems to be related to audio processing. Are there any other use cases where DAC might be useful, or have any advantages over regular ADC PWM output on an ...
0
votes
2answers
216 views
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 ...
0
votes
1answer
109 views
PWM-FILTERS -DAC
I want to implement a digital controller C(z) on an Arduino Uno
(transfer function in the z domain) in order to control a plant
G(s) = 3750/[(s+10)(s+30)(s+100)].
I have implemented G(s) with ...
7
votes
4answers
5k views
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.