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
0answers
22 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, ...
0
votes
1answer
28 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? ...
0
votes
0answers
34 views

how to send variables from arduino to processing?

I have to send four variables from the arduino to the processing. Unfortunately, I find nowhere code that works: / Arduino Code: int test1=4; int test2=5; int test3=6; int test4=7; void setup() { ...
1
vote
0answers
61 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 ...
1
vote
2answers
39 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
129 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=...
0
votes
1answer
34 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: ...
-1
votes
2answers
89 views

Setting a pin to a continous wave output

Is there any way in Arduino to set a particular pin(pwm or not) to just generate a square wave out of the desired pin? For instance, I want to have two pins on my Arduino Uno that output two square ...
0
votes
1answer
70 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 ...
1
vote
0answers
37 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
89 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
161 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 ...
1
vote
1answer
406 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
300 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
149 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
369 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
35 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
373 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
36 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
1k 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
52 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
153 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
405 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
415 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
73 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
633 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
747 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
227 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
67 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
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
1k 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
620 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
4k 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
384 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
70 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
2k 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
128 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
430 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
593 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
17k 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
248 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
544 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 ...
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
171 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
234 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
97 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
729 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
215 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() { ...