Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [signal-processing]

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

1
vote
0answers
34 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 ...
0
votes
0answers
33 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 ...
0
votes
2answers
56 views

GPS Short distance calculations, accuracy limitations for 1-30 meter distance [closed]

I am a total beginner in the field of GPS, and this is actually my first post. But, I have been looking into some of your questions, and especially the ones for short distance calculations, and time ...
0
votes
0answers
20 views

Use Arduino to send signals to controller for motor acceleration

I'm thinking about possibility to assemble mini pc, Arduino and this controller with this motor. I'm trying to understand if it possible that mini pc collect data from external source of user and ...
1
vote
1answer
138 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,...
0
votes
1answer
153 views

Get IR Signal and its strength

Using an IR sensor, how can I get and decode signals from other IR devices? I've seen the IRRemote library and its forks, but it doesn't fulfill my second requirement which is that I need to be able ...
0
votes
0answers
70 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 ...
0
votes
0answers
215 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 ...
0
votes
1answer
27 views

Coding Arduino's samples/period and cycles/sample configurations for input signal [closed]

Am I able to code the Arduino so that I can change cycles/sample of an input waveform and a number of samples/period configurations? I would like to modify these parameters in order to be able to ...
-1
votes
1answer
242 views

Generating Sinusoid Signal of 40khz [closed]

I would like to generate a sinusoidal signal of 40kHz using Arduino Uno. Maximum I could generate was 1kHz, using bit banging, fast PWM. Do you have ideas of how to boost it to 40kHz? I used "...
1
vote
0answers
33 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 ...
0
votes
1answer
633 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 ...
0
votes
1answer
50 views

The code fails to generate the values I want, when both trigger pins 2, 3 are high or low. Why? [closed]

/*aim of the program is to generate 2 different varying frequency from the same output which is controlled by 2 triggers*/ void setup() { pinMode(2,INPUT); //setting the trigger pins 2,3 ...
2
votes
1answer
118 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 ...
0
votes
1answer
225 views

Why does void loop() stop after some samples?

I am not getting any compile time error. After some samples of data void loop() stops executing. Please let know what the problem is. Below is my code. Thanks and regards Thippeswamy #include<SPI....
0
votes
2answers
266 views

How the output of a bicycle dynamo can be displayed using Arduino?

I am on a project in which I need to make bicycle dynamo frequency meter. The power generator’s output should vary with the speed of the wheel. Which parts do I need to make it work? The project ...
1
vote
1answer
52 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, ...
0
votes
3answers
466 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 ...
1
vote
1answer
642 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 ...
0
votes
0answers
159 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 ...
0
votes
3answers
66 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
778 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, ...
0
votes
1answer
769 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 ...
2
votes
2answers
465 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 ...
0
votes
1answer
3k views

Digital Band pass filter on Arduino

I am working with sensors on Arduino and would like to filter the sensor's output to a certain band of frequencies. I found many examples online on how to implement simple digital low-pass filters in ...
-1
votes
1answer
333 views

Does Atmega-2560 support image processing capability? [closed]

As the title says can I perform image processing on Atmega-2560? Basically I have to capture real time images and detect green or red color. I have not thought of the frame rate but it is not that ...
1
vote
1answer
59 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) (((...
2
votes
3answers
1k 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 ...
0
votes
1answer
123 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 ...
2
votes
0answers
388 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 ...
-1
votes
1answer
523 views

How to properly receive data from accelerometer @ arduino in processing and map it?

I'm busy making a project where my accelerometer @arduino can controle a ellipse @processing But the problem is, it doesn't work. With the code I have now, I can receive the data from the ...
2
votes
4answers
15k 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 ...
1
vote
1answer
164 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
0answers
392 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 waveforms ...
0
votes
1answer
1k 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 ...
2
votes
0answers
149 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
2k 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 ...
0
votes
1answer
1k views

FFT (or similar) library for the Arduino

I'd like to build a "low fidelity" spectrum analyzer to run on an Adafruit Trinket Pro. My primary goal is to intrigue my seven year-old niece with something that can be hacked. The plan is to pick up ...
1
vote
1answer
228 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 ...
0
votes
1answer
88 views

Looking for circuit diagram for evaluation of a pulsed signal

How can I evaluate a pulsed signal in Arduino? The signal comes from an car alarm system and is called (-) output 200 mA. Arduino and the car have the same GND. Can I attach the output through a ...
0
votes
1answer
641 views

Advice on setting up a real-time audio equaliser

First time Arduino user here. We have a microphone set-up which feeds back loudly on particular frequencies and need an equalizer to (preferably automatically) detect spikes in particular frequency ...
1
vote
2answers
202 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() { ...
0
votes
3answers
321 views

Integrating an analog signal using Arduino Due

I have an 2 analog signal, and I want to calculate the difference between 2 signals (A0 and A1), then integrate an analog, but it doesn't work (I just started studying Arduino). Please could you show ...
0
votes
1answer
152 views

Arduino LED lighting up when signal is reading low on multimeter

My code is designed to play a tone when ever pin 3 is high on my Arduino. When I am examine the pins voltage with a multimeter it is always reading below 1 volt. When I examined the voltage off of a ...
0
votes
1answer
181 views

Signal sampling: losing data every 103 points when it is recorded in SD

I'm working on a system of acquisition and ECG datalogging with the Arduino, and I'm having the following problem: I'm losing data every 103 points (just 103). No matter the sampling frequency to use, ...
1
vote
1answer
2k 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
1answer
101 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 (...
0
votes
2answers
429 views

How do I send an IR signal from an Arduino

I want to send a generic (not Sony, etc.) remote's signal from my Arduino. I have already used a IR decoder program to capture the timing of the signal: int IRsignal[] = { // ON, OFF (in 10's of ...
1
vote
0answers
322 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
2k 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 ...