Questions tagged [signal-processing]

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

Filter by
Sorted by
Tagged with
18
votes
4answers
23k views

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 ...
6
votes
3answers
11k views

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 ...
5
votes
1answer
1k views

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 ...
4
votes
4answers
3k views

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 ...
3
votes
2answers
85 views

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 <math.h> #include "...
2
votes
4answers
22k views

How can I generate a sinewave with Arduino Uno?

I would like to generate a sine wave with my Arduino Uno. As far as I know, there is no library for Uno to generate such a signal (correct me if I'm wrong), so the only option available is to write a ...
2
votes
3answers
3k views

Sum values, store them and print the last value

I have a mass flow meter connected to an Arduino Uno board. I have managed to read the volume flow in L/hour, but now I'm struggling to implement a code that stores the values so that I see the number ...
2
votes
2answers
204 views

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

Here's my code: #include <SoftwareSerial.h> SoftwareSerial BTserial(2, 3); // RX, TX void setup() { Serial.begin(9600); BTserial.begin(9600); Serial.println("Communication with HC-...
2
votes
1answer
4k views

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 ...
2
votes
2answers
790 views

Arduino audio frequency reader

I have a simple project for my arduino : light some leds when i send a certain frequency from my smartphone through the jack output . For example , I play a simple audio file generated with a ...
2
votes
1answer
592 views

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 ...
2
votes
1answer
88 views

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). ...
2
votes
1answer
203 views

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 ...
2
votes
1answer
132 views

Frequency will not change

I am working on a project where I am trying to get an input signal filtered according to its frequency. I checked the signal before it went into my DSP algorithm to see where the problem was and I ...
2
votes
1answer
63 views

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=...
2
votes
0answers
713 views

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 ...
2
votes
0answers
491 views

Real time Cross Correlation…? [closed]

I saw the one of your Answer that dated the 13th May 2015, i want to cross- correlate the vibration signal (with Predefined Signal) to remove the unwanted signals.But i want to do that real time so ...
2
votes
0answers
672 views

3 square wave pulse by 120° phase shift and 3 inverted of each by Arduino

I want to make a three phase inverter (DC to AC) bridge type using Arduino. For that I want to generate three square wave each is 120° phase shifted and other three waves of main three wave forms ...
2
votes
0answers
281 views

Problem with biased circuit for oxygen sensor (SGX EC410) [closed]

I have designed a circuit for an SGX EC410 oxygen sensor by using these application note -PAGE 4, FIGURE 4 - (http://www.sgxsensortech.com/content/uploads/2014/08/A1A-EC_SENSORS_AN2-Design-of-...
1
vote
3answers
3k views

How to generate Chirp Signal using Arduino

i would like to generate Chirp Signal (Frequency Sweep) using Arduino. i have searched a lot in internet but didn't find anything. Basically, any parameters is also ok. But the concept is what i am ...
1
vote
2answers
206 views

Connecting Function Generator to Arduino

I want to send a function generator's signal to an Arduino UNO Analog pin. Can I use an Oscilloscope probe connected to the function generator output BNC, set to 1x to connect to the Arduino headers ...
1
vote
1answer
3k views

Arduino Cross Correlation?

How can I write lightweight cross correlation code for arduino? I couldnt find any solution. The measurement system contains an ultrasonic sensor and a servo that turns from 45 to 135 degree and ...
1
vote
2answers
24 views

Generate 5VDC signal when external sensor input changes from high to low

I am new to arduino. I have a project in which I need an arduino to generate a +5VDC signal in response to a change of status, (high/5VDC To low/ground) from an external source. The external ...
1
vote
1answer
2k views

How to vary the frequency of a PWM sinewave with arduino uno?

I'm generating a sine wave using a table, a PWM pin and an RC filter on the output. I would like to be able to control the frequency of the sine wave, how can I do that easily? By the way, which is ...
1
vote
2answers
234 views

digitalWrite queued signals?

I have this simple code who send a signal to a android phone when I press a button: const int botonPinD = 8; const int relayPin = 12; int retardo = 100; int finBoton=1000; void setup() { ...
1
vote
1answer
46 views

Input Capture Mode PPM signal

Greetings to all members of the Forum. I would like to express my deepest gratitude, with respect to the title of this post. The last week I am trying to capture and decode a PPM Signal from an RC ...
1
vote
1answer
665 views

Send big amouts of data to PHP script via gsm module SIM800L

I'm looking for a way to get lots of sensory data from my Arduino Micro to a PHP script. My current attempt is using the following AT-commands: Sent: [AT+HTTPPARA=URL,www.example.com/newData.php?data=...
1
vote
3answers
71 views

Turning an LED on when an error occurs, then turn it off after 2 seconds

I am currently working on making some test equipment for µUSB cables. The code is supposed to recoqnise when an error in the cable occurs. Most of it works as expected, but I have some trouble ...
1
vote
1answer
88 views

Get pin input status without using the arduino library

I am not allowed to use the Arduino Library (or any Library) for this program. How would I check the input of a pin? I found two different functions: In Arduino.h: #define bitRead(value, bit) (((...
1
vote
3answers
3k views

Connect function generator to Arduino

How do I connect a function generator that generates an analog signal to an Arduino Uno? I don't know how to begin, so could you also tell me the settings for the function generator, e.g. its ...
1
vote
1answer
73 views

Slave to Send Data after Receiving Command using I2C

I want to have my Slave Arduino to send signal to Master after the command was made. But the Slave Arduino does not proceeds to sending the signal after doing the command. What is wrong with my code? ...
1
vote
1answer
119 views

How to send signal ONCE when within constant range of sensor?

I am working on a project to have a open/close a solenoid at certain ranges (using HC-SR04 ultrasonic sensor). #include <NewPing.h>2 #define Relay1 7 #define Relay2 8 NewPing SonarRight(12, ...
1
vote
1answer
917 views

Smooth out digital signal from SW-420 vibration sensor in order to record duration?

I'm attempting to make a sensor that will record the duration and frequency of a pump going off. It always fires for at least 4 seconds, but the duration can be up to 7 days. The vibration sensor I ...
1
vote
1answer
1k views

MPU6050 Sending Bad values for Angular Velocity

The mpu gives me perfectly fine values for the yaw, pitch, and roll position of the chip, but when I use mpu.getRotation(&gx, &gy, &gz) to obtain the current angular velocity of the chip, ...
1
vote
1answer
344 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 ...
1
vote
1answer
251 views

Is it possible to create an interface between Teensy 3.2 and a DSP?

I realize that this is a forum for Arduino but since the Teensy 3.2 is compatible with the Arduino IDE I thought it would be appropriate to ask the question here. Anyway, can I create an interface ...
1
vote
1answer
67 views

Please , explain about MAX30100 using for Arduino to read ADC in format (0-1023) [closed]

can anyone help me..? I am using MAX30100 with arduino, and my expectation is i can to process the ADC as usual (0-1023), but I do not understand the signal processing. Has anyone used the MAX30100 ...
1
vote
0answers
37 views

line following IR sensor not giving readings at 3m wire length?

I am using line following IR sensor with arduino mega. I need the sensor 2-3m away from arduino since the length of rover is 2m (sensor front & motor back). However, I cannot get accurate analog ...
1
vote
0answers
80 views

ultrasonic phased array

I have the following code for Arduino mega to output 40 kHz square waves at the analog pins. I need to apply specific phase delays for the signals at each pin though and am struggling to find out how ...
1
vote
0answers
41 views

Signal reading from existing snackmachine

So - i started a project at my civil-service. I want to fill a old snack-machine with things we need in the ambulance (bandages, cool-packs, etc.) In order to get the current amount of everything ...
1
vote
0answers
158 views

Decoding RF Signal

I have a motorized curtain and I'm trying to understand its rf control signal in order to control it from my arduino. I got the times, and checked the code is not static. I believe it has some kind ...
1
vote
1answer
996 views

Sending a character 'A' through blinking led

How do i code to send a character 'A' to the arduino through a blinking led? i am doing a project about data transmission. i really need help&some guide. Material used are arduino uno r3,...
1
vote
0answers
402 views

Configuring Timers to Add One More 50kHz Square Wave

I am generating two 50kHz square waves, but I would like to generate three square waves. I have problems with generating the third square wave. Basically, I need to configure the timer bits so that I ...
1
vote
0answers
555 views

Arduino Square Wave Phase Shift by 270 degrees

I am using this code to generate a square wave with Arduino and shift it by 90 and 180 degrees. However, this code is not able to shift it to 270 degrees. Could you please suggest how may I modify the ...
1
vote
0answers
42 views

Arduino or alternative for image snap and process [closed]

I need to grab an image from a board-mounted camera (1kx1k pixels would do, colour not required), count and then output the number of pixels with luminance values below 10% of mean. This has to be ...
1
vote
0answers
344 views

arduino + mpu6050 + nrf24l01 >>>>>>>>>>>>nrf24l01 + arduino ( Not running fluently)

this is my setup: I have an arduino uno + mpu-6050 + nrf24l01 all attached together and am transmitting data from that mpu-6050 to another arduino with an nrf24l01 attached to it. I got the arduinos ...
1
vote
1answer
114 views

Making a composite waveform using a single TIMER interrupt

I'm writing software for a laser tag gun, which under the system we use needs the output waveform to be a carrier wave of 57600Hz with a signal wave of 1800HZ for about 50ms Using the Tone library (...
1
vote
0answers
478 views

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 ...
1
vote
3answers
962 views

Voice recognition without module, is it possible? [closed]

I'm trying to figure out how to process a voice signal for simple purposes. Wherever I look people using or suggesting recognition modules for Arduino. What I'm wondering: is this possible to make a ...
0
votes
1answer
2k views

High pass filtering accelerometer data on Arduino

I'm trying to use an accelerometer for user input to a device. The idea is that the user input will be tied to "taps" on the accelerometer, one tap means something, two taps something else, etc. I'm ...