Questions tagged [signal-processing]

Use this tag if your question is related to signal processing techniques (within the Arduino's capability).

88 questions
18
votes
4 answers

Are there any signal smoothing libraries for Arduino?

I am working on a mobile robot controlled via a wireless 2.4 GHz link.The receiver is connected to the Arduino Uno which serves onboard as the main controller. The most critical (and main) input channel coming from the receiver produces a very noisy…
asheeshr
  • 3,687
  • 3
  • 24
  • 61
9
votes
4 answers

How do you handle sensor drift?

I have a pair of potentiometers, on the Arduino, the output seems to drift, by one or 2 digits, back and forth. I would prefer they were read as one fixed value, without variation when their knobs are not turning. You can see in the image, the first…
j0h
  • 872
  • 3
  • 10
  • 24
6
votes
3 answers

How can I filter out noise from ADC lines without delay or signal change?

I'm working on a project with a joystick and I'm trying to keep everything a simple and low latency as possible. I am reading the pots with the onboard 10bit ADC on the ATmega 32u4 but may be upgrading to either a 16bit ADC or 24 bit ADC. How can I…
user862
  • 71
  • 1
  • 1
  • 2
5
votes
1 answer

PWM signaling with Arduinos: What is the reason for the ground connection?

This may sound like a very dumb question and I apologise in advance. I've gone through reading about PWM and working on some example sketches to control PC fan speeds using PWM and Arduino. In all documents I read, it is mentioned that "PWM is a…
Phil
  • 435
  • 2
  • 4
  • 12
4
votes
1 answer

How to determine when a sensor's output signal changes significantly?

Starting with an analog signal from any sensor, how do I automatically determine if there is a real signal change or a reset? Below is the sample code that better explains my goal: value = sensorRead(); if (millis() > t + 1000) { value_old =…
4
votes
4 answers

How useful could the Arduino Yun be in computer vision in a robotics project?

I've recently ordered an Arduino Yun and several other components to begin on a small robotics project (based on an old 4x4 RC Truck). Although not mandatory for what I'd like to do, I was wondering how feasible it would be to mount a small camera…
cnsumner
  • 193
  • 1
  • 7
3
votes
2 answers

Code exceeds Uno board memory

I have been stuck for a long time on a piece of Arduino code that performs an FFT on a Photoplethysmogram signal and decides signal quality after that. #include #include "arduinoFFT.h" #include //N=10 pt moving average //For…
2
votes
0 answers

Which components to built remapping keyboard via USB in + out (remapped)

I know that it's fairly easy to change the emulate keyboard and mouse by Arduino. But I'm quite specific about the goal I would like to achieve hence I would appreciate if you could advise me which components (Arduino compatible) I am going to need…
Kamil
  • 121
  • 3
2
votes
1 answer

How to separate a specific frequency signal from a summation of a few signals?

I want to calculate THD. SO how do I isolate the fundamental frequency from a signal with harmonics? I have a signal V which is a sum of V1, V2 and V3. V1=A1sin(w1t+phi1), V2=A2sin(w2t+phi2) and V3=A3sin(w3t+phi3). I want to find out the…
2
votes
1 answer

How can i increase the range of values that a light sensor gives?

I have constructed 2 ceptometers that measure light intensity. Each ceptometer consists of 50 photodiodes that are connected to 2 copper wires (+ and - of the photodiodes are on the same orientation). Those wires are soldered with cable (+ to the…
2
votes
2 answers

How do I make a proper long string scanner to detect specific tags in a stream of characters?

Here's my code: #include SoftwareSerial BTserial(2, 3); // RX, TX void setup() { Serial.begin(9600); BTserial.begin(9600); Serial.println("Communication with HC-05 successfully started."); } bool is_uploading_book =…
JingleBells
  • 155
  • 12
2
votes
0 answers

read with Arduino SSI encoder signal

I'm stuck in my project, I try to read an absolute encoders angular position with my Arduino. I used and cabled a differential line receiver and driver between Arduino and the encoder, like explained in the 2 following links: Figure 2.1 here Input…
ian
  • 21
  • 2
2
votes
1 answer

Sniffing RF signals

I am using an Arduino UNO and an RXb6 (I would link to the data sheet if I could find one) to try to decode a RF Signal that controls a remote outlet. I have the devices connected as you would assume 5V+ to 5v, Gnd to Gnd, Antenna is not connected…
Nick
  • 131
  • 1
  • 4
2
votes
1 answer

High frequency audio sampling and storage

I want to use an arduino duemilanove atmega168 for audio signal processing. I can sample the signal at around 38.5kHz using this code. I want to send the sampled data over the serial to a computer for processing. Data acquisition rate: 38.5 kbps…
aaa
  • 21
  • 3
2
votes
1 answer

Reading Ground/Open signal wire combonations to power specific LED's - Can it be done?

This might be a super easy question to answer. I ordered an Arduino Uno anyways for the sole purpose to understand this. Would not mind getting a jump on things before it's here. I would like to setup the Arduino Uno to be used as a gear indicator…
Cody R
  • 21
  • 1
1
2 3 4 5 6