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
0 votes
1 answer
41 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
57 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
2 votes
0 answers
106 views

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 ...
Le_Peck's user avatar
  • 21
-1 votes
1 answer
135 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
2 votes
1 answer
77 views

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 ...
Earas's user avatar
  • 21
0 votes
1 answer
89 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
1 answer
90 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
1 vote
0 answers
52 views

Transfer a single pulse from Tektronix function generator to Arduino UNO

I have set up a single pulse (width of ~400 ms) using the burst feature on the Tektronix AFG3102 function generator and I want to transfer this signal to the digital pin of Arduino UNO. Essentially I ...
Nikan's user avatar
  • 11
0 votes
0 answers
387 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
1 vote
0 answers
42 views

Audio range with custom waveshape

I am planning to use several Arduino to produce audio range analog signals. I need to use custom waveshapes generated on the fly. As far as I understand, there are two paths: Aquiring a DAC, but can ...
huhu roro's user avatar
4 votes
1 answer
414 views

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()...
boromyr's user avatar
  • 43
10 votes
4 answers
2k views

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 ...
j0h's user avatar
  • 882
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
1 vote
1 answer
695 views

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 ...
rohithrathod banoth's user avatar
0 votes
2 answers
484 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
1 vote
1 answer
203 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 ...
k. theodosis's user avatar
3 votes
2 answers
313 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 "...
Divyayan Dey's user avatar
2 votes
1 answer
170 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=...
Krish Ambre's user avatar
2 votes
1 answer
145 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). ...
Dimitrios_Lioilios'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
1 vote
2 answers
34 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 ...
Randy Anglin'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
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
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
2 votes
2 answers
300 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-...
JingleBells's user avatar
0 votes
1 answer
197 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
1 vote
0 answers
60 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 ...
suu's user avatar
  • 85
1 vote
0 answers
182 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 ...
Marion's user avatar
  • 11
1 vote
0 answers
277 views

Best approaches to reading a high-count quadrature encoder?

I have a 24v servo motor coupled to a 2,000 segment optical encoder that runs on 5v. That's 2,000 "ticks" per revolution at it's base resolution. (Full quad reading allows 8,000 ticks per revolution, ...
111936's user avatar
  • 19
1 vote
1 answer
284 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? ...
Julius's user avatar
  • 91
2 votes
0 answers
2k 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 ...
ian's user avatar
  • 21
1 vote
2 answers
491 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 ...
Harini's user avatar
  • 55
1 vote
1 answer
1k 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=...
Cowboy_Patrick's user avatar
0 votes
1 answer
459 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
459 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
1 vote
0 answers
42 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 ...
CozyPaw's user avatar
  • 11
1 vote
0 answers
197 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 ...
BrunoAraujo's user avatar
1 vote
1 answer
1k 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,...
Nyssa's user avatar
  • 15
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
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
1 answer
861 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 ...
Bogdan Raspopin's user avatar
0 votes
1 answer
120 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
-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
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
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
2 votes
1 answer
275 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 ...
Cody R's user avatar
  • 21
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
2 answers
865 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
1 vote
1 answer
191 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, ...
bkwillpker2'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