Use this tag if your question is related to signal processing techniques (within the Arduino's capability).
Questions tagged [signal-processing]
98 questions
20
votes
5 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,847
- 3
- 26
- 61
10
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
- 902
- 4
- 13
- 30
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
6
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 =…
boromyr
- 43
- 3
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
1 answer
Processing doesn't respond to arduino
First of all if I make a wrong sentence this is because my main language isn't english.
I have a homework so i am trying to make a radar with Arduino IDE and Processing. I found and wrote the codes from internet but processing does not respond to…
Earas
- 31
- 1
3
votes
1 answer
Communication between two Arduinos using ENC28J60?
How can I connect and send data between two Arduinos using ENC28J60 ethernet adapters on both of them? Is there any guide or example code for me to take a look from or any library I can use to achieve this communication?
I have one Arduino connected…
rohithrathod banoth
- 77
- 1
- 13
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…
Divyayan Dey
- 31
- 2
2
votes
0 answers
Arduino NANO RF reciever and Digispark Attiny 85 transmitter issues
I am trying to send RF signal from Digispark Attiny 85 (this one) and receive the signal with Arduino NANO V3.0 ATmega328 (this one). Transmitter and receiver are STX882 and SRX882 (these). Library used is RCSwitch.h.
The goal is to light up the…
Le_Peck
- 21
- 4
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…
Krish Ambre
- 21
- 1
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…
Dimitrios_Lioilios
- 21
- 4
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
- 165
- 2
- 14
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