Questions tagged [analog-sampling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
20 views

Increasing range of a DC-offset signal (software)

I am trying to read a signal with a DC offset of 511 (as seen by the ADC). The signal's tiny with regards to the offset, and I'm feeding it to a library that does a Fourier transform on it. It comes ...
0
votes
1answer
28 views

Using Arduino to Record analog signals with SPI ADC + Sampling Rate Issue

I am using Arduino UNO to Read 8-channel, 24-bits resolution Analog signals using ADS1299 Analog-fornt-end. ADS1299 use SPI interface to talk with Arduino. Currently, I can record the analog signal ...
0
votes
1answer
40 views

Sampling rate of multiple analog pins on Arduino

as I checked on Arduino website, they mentioned all boards: UNO, Nano, Mini, Mega have maximum sample rate 10kHz for each analog pin. So my concern is: 1) is there any difference between sampling ...
0
votes
1answer
53 views

Measure 64 different Thermocouples fast

I used the MAX31850K for testing. Its too slow (100ms resulting in around 7 s to wait till i know the temperature of all). I want to be able to measure them all within 1 sec. Should I try build my ...
1
vote
1answer
65 views

Measure voltage changes with unknown baseline [closed]

I would like to monitor an audio stream and detect when it is "active" and music is playing or when it is "inactive" and is silent. What is a good way to measure when an audio stream changes state and ...
0
votes
0answers
82 views

Optimizing Teensy 3.6 for data sampling?

So, I have a very basic project where I cycle through 8 IR individual transmitters. After setting the individual transmitter high, I cycle through all 8 IR receivers and print their values, RX_CYCLES ...
0
votes
0answers
106 views

AD7606 DAQ and datalogging

I'm making a Data Acquisition System for force impact usign an AD7606 from Analog Devices, an Arduino DUE and a load cell. I already tested it following this guide an making the proper changes for ...
0
votes
1answer
52 views

Voltage meter ADC + serial: Bytes lost during communication

I want to make a simple digital voltage monitor. So I have a sketch: void setup() { Serial.begin(115200); } void loop() { int val = analogRead(A4); // read the input pin val = 1; byte ...
1
vote
1answer
93 views

Arduino Uno ADCH register stuck at 255 when read from ISR

I'm working on a project that will essentially become an oscilloscope in the long run. I am following this guide. My code is uploaded here for more reference. In my .ino file I have called functions ...
0
votes
1answer
215 views

Arduino Due ADC negative voltage

I’m trying to sample an AC signal on the Arduino Due. The AC signal will never exceed +-80mv across a frequency range of 6-833Hz. Current is negligible. I believe there are clamping diodes to protect ...
0
votes
1answer
76 views

If I use a biasing circuit for a signal going into an analog input pin, will it affect the ADC operation?

If I have a single 100Hz AC signal biased by two 1 M-ohm resistors (as per schematic below), and then output to an Arduino UNO analog input pin, with the UNO sampling at around 1 kHz using delays, ...
0
votes
1answer
26 views

Improper sampling of wave [duplicate]

I am using Arduino Mega 2560 to sample and serially send a square wave. I am using Processing 3.3.6 for logging the data to .csv file. I am receiving about 6k samples at the moment. When I try ...
1
vote
1answer
65 views

Sampling and serial transfer

I am trying to get a sampling rate of over 10k Samples per second as well as send each sample over a serial line. Taking a sample and putting it on the serial line each time took too long. I am using ...
2
votes
2answers
377 views

Lowest voltage applicable on AREF pin on Uno and Mega

I need to measure an Analog signal in the range of 5-30 mV. Naturally, using the internal default 5V reference leads to very poor measurement resolution. I would like to use the capability to use an ...
0
votes
1answer
121 views

External ADC reference when using MATLAB support package for Arduino

I am using the MATLAB support package for Arduino. However, I need to configure the ADC reference to external. MATLAB documentation doesn't really explain how to do this? Is there any way I can use ...
-2
votes
2answers
256 views

polynomial change of LED brightness arduino

I try to change the brightness of an LED following the formular in out1. I'm pretty sure that something is going wrong because it doesn't really change its brightness and it never stops lightening. ...
0
votes
2answers
428 views

Sampling/transmission limits for USB and Arduino UNO R3

I'm very new at this and I need some help. This is a college project that I must do and not even the professor knows for certain if it is possible. I have to sample two signals at a fixed sampling ...
0
votes
2answers
479 views

Optimizing ext. SPI ADC for speed and verify the speed

So I have a project where I will be using an Arduino Leonardo and an external ADC (AD7980) to run a 16-bit (18bit) conversion and transmit it to the Arduino and then out on USB as fast as possible. ...
0
votes
2answers
557 views

Reducing noise and finding sampling rate

I have Arduino Due R3 (84MHz) and I am trying to find the mean of value from AnalogRead. I have to set the sampling rate of 8000 samples/second with 4 channels. I tried using for loop for this purpose....
5
votes
4answers
2k views

Library to set internal analog gain of the Arduino?

My original question was if there is a library that covers the internal comparator and differential and gain modes for the Arduino Uno, Mega 2560, Leonardo, Due, Zero, M0. The answer is obvious: "No". ...
2
votes
1answer
980 views

Speed of reading I2C

How long does it take to read I2C? I'm reading data from I2C sensor through a 20Hz timer interrupt. The interrupt handler only set the readSensorFlag, and I double checked that it happens at 20Hz ...
0
votes
2answers
1k views

Interfacing TRRS headphone to Arduino Uno

I have been working in a Arduino project lately which requires human voice input to Arduino with some processing Arduino need to perform specific task. Simple sampling of incoming signal and ...
1
vote
3answers
407 views

Specific noise while using arduino ADC in free running mode

To make an oscilloscope in matlab environment, for data acquisition on arduino side, when inbuilt analogRead() is used, it's working fine, but with very low sampling rate, that aliasing is clearly ...
3
votes
2answers
211 views

ADC with better performance

I need to sample voltage at a very high rate (say for like 10000 Hz) and with a very good precision(at least 10-12 bit ADC will do). So I am in need of an Analog-to-Digital Converter(ADC) which has a ...
0
votes
1answer
529 views

Amplified piezo sensor wiring problem

I am trying to amplify the signal from an Adafruit Small enclosed piezo. The piezo is working using the Arduino Knock example but I want to increase the sensitivity using an amplifier. The wiring ...
1
vote
3answers
324 views

AC meter By ADC timer interrupt from Nick Gammon

I want to read ADC from the pin A0 and A1. I have written in this code, however. I took this code came from Nick Gammon Thank You ///////////////////////////////////////////////////////////////////...
1
vote
0answers
460 views

Using Analog Comparator on Uno to Read Differential Voltage Signaling

I am trying to use the Arduino Uno to read an AVCLan bus on a Toyota vehicle. Logic 0 is when +/- drive are 120mV or more apart, and logic 1 is 20mV or less. See Toyota AVC-Lan description. I ...
1
vote
1answer
44 views

Is possible to process analogue inputs with variation frequencies in MHz?

Is it possible for Arduino boards to accurately process analog inputs that vary at MHz frequencies? If possible, which Arduino board would be most appropriate for such application? What ...
0
votes
1answer
935 views

Sampling rate of analog read

I have a simple following analog reading code: void setup() { // initialize serial comms Serial.begin(9600); } void loop() { // read A0 int val0 = analogRead(0); int val1 = analogRead(1); ...
2
votes
1answer
1k views

Audio sampling and serial communication

tl;dr: The sample rate of my code seems to be lower than what I expect it to be. How can I fix this? Director's cut: I am trying to sample audio data and send it via serial. The setup consists of a ...
1
vote
1answer
230 views

how do you capture the top value in a fallen edge in analogs data (flex sensor)

Guys i'm working with a flex sensor and I'm trying to capture a specific value which is the moment before the user lets go of a flexed flex sensor and its represented as the top point of a falling ...
0
votes
1answer
160 views

How to interpret analog values sent to Arduino from line scanner?

So I have a line scan camera attached to my Arduino Mega and I'm trying to send it a digital clock impulse and get an analog output back. The line scan camera is supposed to return 128 pixels. So far ...
1
vote
1answer
1k views

Digital input pin voltage treshold (voltage to register 1 or 0)

I was thinking of using multiple analog light sensors (variable resistance by light), but basically I only need to know if there is "a lot of light" or "not a lot of light". And would like to use ...
0
votes
1answer
360 views

Sampling Rate of Arduino Uno

It might be a stupid question but, I am currently using Arduino Uno with the 16MHz processor, what is maximum sampling rate of data available to me if I want to read data of a sensors such as ...
0
votes
1answer
514 views

Help with a rather specific implementation of FFT Library?

So, I guess what I'm trying to do here is properly understand the FFT library posted here by Open Music Labs, done in C++. I believe I understand the Fourier transform, but the FFT has some nuance ...
2
votes
3answers
553 views

Integration of signal

In my house, I have a low voltage AC signal (0-10V) that is proportional to the amount of current that is drawn at any moment (or as it is presented: kW) (europe, 50Hz). Presently, it is just shown as ...
1
vote
1answer
47 views

Analogue input 0 staying at 0 when sensing light with Arduino and a photocell

I am doing a circuit for capturing light intensities. I followed the tutorial provided by Adil Moujahid Yet, when I plug the jumper wires on 5V the circuit stops working and when I plug on 3.3V the ...
3
votes
1answer
3k views

Arduino Due: Interrupt-based ADC hangs processing

I am trying to build an oscilloscope using an Arduino Due and an LCD. I have the LCD running perfectly and started working on using the ADC peripheral to sample signals. Here's what I have so far: #...
2
votes
4answers
10k views

Connect HX711 to a three wire load cell

I have the following load cells: I'm using the following HX711 amplifier Every guide i can find on the internet describes how to connect a load cell with four wires to the amplifier. How can i ...
0
votes
1answer
1k views

Getting values from multiple thermistors - one value glitches all over the place

I have a circuit with preferably long wires that get data from thermistors. The Arduino sends this data (formatted in JSON) to a web server where it can be collected by another program. Some of these ...
0
votes
1answer
204 views

Arduino Uno - Analog Circuit Simulator

I control an analog circuit with Arduino Uno. I want to simulate an Arduino Uno with operational amplifiers (741). Can I simulate Arduino with SPICE?
0
votes
2answers
2k views

Arduino Micro + Max4466 - Noise on A0

I've got an Arduino Micro, and a MAX4466 ECM / AMP breakout board (https://www.adafruit.com/product/1063). I'm powering the Arduino Micro from the USB port. On the MAX4466 (to the Arduino), I've ...
1
vote
3answers
746 views

Can do I make an Arduino program that can decipher telephone touch tones?

I have an old land line phone that I want to connect to my Arduino. Then I would like to write a program that can decipher the touch-tone button presses (which are a combination of two tones) so that ...
-1
votes
1answer
606 views

0-1 V input to 0-5 V Output

We have an instrument that has analog output of 0-1 volts and we need to convert this to 0-5 volts. What is the best op amp to use for this and how should the resistors be set up? Any help would be ...
0
votes
1answer
83 views

Arduino AD-converter tolerance

I created a quite simple Arduino sketch: void setup() { Serial.begin(9600); } void loop() { int sensorValue = analogRead(A0); Serial.println(sensorValue); float voltage = sensorValue * (5 ...