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
1 vote
0 answers
533 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 ...
Bogdan Raspopin's user avatar
1 vote
2 answers
1k 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 ...
Unal Celik's user avatar
1 vote
0 answers
468 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 ...
Eduardo Cunha's user avatar
1 vote
1 answer
416 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 ...
Raed's user avatar
  • 163
1 vote
1 answer
126 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 (...
user unknown's user avatar
0 votes
1 answer
775 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....
Thippeswamy H U's user avatar
0 votes
3 answers
4k 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 ...
Ηλεκτρολόγος Μηχανικός's user avatar
0 votes
1 answer
3k 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 ...
Lars Petersson's user avatar
0 votes
2 answers
926 views

How to process this XBee analog pins signal?

I'm new to XBee and a colleague setup a sender/receiver pair. I'm using an usb breakout and reading the values using this java XBee API in Processing/Java. The issue I'm having is two of the pins(...
George Profenza's user avatar
0 votes
1 answer
86 views

Creating an AC pulse with arduino and perhaps components

I want to create an AC PWM pulse with arduino. The microcontoller, will be also responsible for specifying the frequency (which will be around 500 Hz). External electronic components can also be used. ...
user1584421's user avatar
  • 1,385
0 votes
2 answers
482 views

Arduino FFT results of "beautiful" signal seem inconsistent

I have a BEAUTIFUL doppler radar signal here from a 24.050-24.250 GHZ sensor measuring a very small object at 143 fps speed (speed from another 10 GHZ radar) in a measuring area of about 300mm-500mm ...
TommyS's user avatar
  • 71
0 votes
1 answer
59 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 ...
user42095's user avatar
0 votes
2 answers
862 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 ...
Iosephus's user avatar
0 votes
1 answer
2k 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 ...
Curnelious's user avatar
0 votes
1 answer
192 views

How to Segment Accelerometer Signal at idle points

I'm using an 3 axis Accelerometer(GY-521) to get the acceleration data and also the gyroscope to get the gyro data. I want to segment the signals at the idle points so that i can get the segmented ...
kinath_ru's user avatar
  • 133
0 votes
2 answers
4k views

Necessary sampling rate

I'm using an Arduino pro mini to receive the analog signals from three sensors. I was wondering what sampling rate I should sample at in order to properly represent these signals. I know it should be ...
Will's user avatar
  • 1
0 votes
1 answer
89 views

About the FFT library on Arduino

From the output results, i see that the arduinoFFT returns only positive frequencies, thus i think it self removes the negative sided values and compensates the lost energy by multiplying by 2. Is ...
أيمن الفحصي's user avatar
0 votes
1 answer
1k views

Decode rf remote signals with ESP32 or node MCU?

I'm trying to decide my rf remote signals using ESP32 or node MCU. I have tried with Arduino and was successful but for some reason it is not working on either ESP32 or node MCU even using the same ...
rohithrathod banoth's user avatar
0 votes
2 answers
424 views

How do I make a character array scanner properly?

I start with this: char delay_chars[10]; then I have a stream of incoming characters that I need to assign like this: ['I', ' ', 'l', 'o', 'v', 'e', ' ', 'p', 'i', 'e'] I can do that, but then ...
JingleBells's user avatar
0 votes
1 answer
196 views

How to obtain the real and imaginary signal parts using Arduino FFT

How do you obtain the real and imaginary parts of a signal using FFT in arduino? I could not find a particular tutorial with code for this purpose in the internet.
User's user avatar
  • 139
0 votes
1 answer
454 views

SIM800l doesn't respond on arduino micro

I want my Arduino Micro to interact with my SIM 800 L module. But unfortunately nothing happens, may you can help me figure out where I made a mistake. Here's my wiring: Summary of my wiring: ...
Cowboy_Patrick's user avatar
0 votes
1 answer
458 views

making power harmonics analyser which will measure the amplitudes of the fundamental and its multiples (like 50hz, 100hz, 150hz,200 hz,...) there are)

i have been intendng to make a power frequency harmonics analyser which will measure the amplitudes of the fundamental and its multiples (like 50hz, 100hz, 150hz,200 hz,...) there are examples for ...
Melvin Thomas's user avatar
0 votes
1 answer
1k 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 ...
Ben Gubler's user avatar
0 votes
1 answer
7k 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 ...
TanyaV's user avatar
  • 586
0 votes
1 answer
173 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 ...
Bennis's user avatar
  • 11
0 votes
1 answer
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 ...
dlu's user avatar
  • 1,651
0 votes
1 answer
115 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 ...
Viktor Scherf's user avatar
0 votes
1 answer
964 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 ...
mediocreCraig's user avatar
0 votes
3 answers
430 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 ...
Viphuchit Sirikhemaporn's user avatar
0 votes
1 answer
270 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 ...
Marcello B.'s user avatar
0 votes
2 answers
1k 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 ...
Hoytman's user avatar
  • 747
0 votes
1 answer
39 views

Not registering complete rotary encoder input

I am working on a project using a Rotary Encoder and I am trying to recieve the output from the encoder. As it stands I am able to get a count for degrees of change and direction of rotation, however ...
Shai Morrison's user avatar
0 votes
0 answers
54 views

OpenCV on ESP32 Arduino Nano

I am implementing a program on Arduino Nano ESP32: the KY-037 microphone is connected to the board and collects five seconds of analog signal. Then, an algorithm is applied to create a 128 x 128 ...
Alice's user avatar
  • 31
0 votes
0 answers
383 views

Detecting peak frequency in a microphone's output signal

I'm using a simple electrode microphone with an Arduino UNO board with the aim of detecting peak frequencies in the output signal overtime. I set the sampling rate to 1 MHz, but i can't pick up a peak ...
أيمن الفحصي's user avatar
0 votes
0 answers
2k views

Reading TCD1304 linear CCD Sensor

I want to read the TCD1304 linear CCD sensor with an ESP32 and I'm facing some problems. As a first "warm-up" and to get familiar with this sensor I tried to generate the sensors input ...
Sim Son's user avatar
  • 1,829
0 votes
0 answers
72 views

With what can I replace this for loop so my Arduino doesn't spit jibberish?

I have this: for (int i = 0; i < (DELAY_SIZE - 1); i++) { if (check_tag_in_char(delay_chars[i], BOOK_UPLOAD_END_TAG)) { tag_pos = 0; Serial.println("Uploaded"); ...
JingleBells's user avatar
0 votes
1 answer
119 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 ...
Bogdan Raspopin's user avatar
0 votes
1 answer
346 views

Using Arduino audio to control an LED light

I am looking for a way to control an LED on a circuit board using audio input for learning purposes. I have written my own speech recognition system using dynamic time warping in Python, but I would ...
Kevin's user avatar
  • 111
-1 votes
1 answer
503 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 ...
user6889367's user avatar
-1 votes
1 answer
133 views

If I reduce ADC sample rate, do I get an average over the time period?

I am working with a ESP32-C3 devkit. I am using the internal ADC on that chip to read from an analog microphone. I initialize the ADC like this: adc_continuous_config_t dig_cfg = { .sample_freq_hz ...
Alex Flint's user avatar
-1 votes
1 answer
34 views

acelermetor count goes down after 1 peak

I am using a Wemos D1 Mini and an mpu 6050 accelerametor. I managed to get the acceleratmetor to work and have 1 value come out of movements. So when a peak it hit (aka, the threshold of 1.00 is hit) ...
Hi tE's user avatar
  • 21
-1 votes
1 answer
706 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 ...
leukfevj's user avatar
-1 votes
1 answer
1k 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 "...
Bogdan Raspopin's user avatar

1
2