I want to analyse the spectrum of an audio input with FFT.
First of all, I want to done everything with software. That's to say, there won't be any spectrum analyzer IC or signal input through Hardware.
What I need to know is, how to get the audio signal as input while I am also playing the sound on computer. So, what I want to achieve is simply playing a song on PC and get this as input to arduino software to be able to process it simultaneously and send this data to analog outputs to be able to visualize them through LEDs.
1- How can I get the audio signal ? 2- Is there any "straight forward" FFT code to use easily. Asking cause I am not good at signal processing. ( Using an IC instead is not an option for me, since me to get one takes weeks due to shipping)
Not sure if this one fits this forum but found that the most adequate.
My question is; I want to take a input signal from arduino (through a force sensor) and by using this input I want to control a program on the computer. Imagine there is a push button, when I press it, on the app screen where will happen something.
I don't know how this connection between arduino and computer application is made.
Planning to build a digital instrument which will play a certain .waw files in accordance with the data coming from pressure sensor.
My question is, how can I store theses .waw files ?
This project will not be connected to a computer, it will be portable. So, somehow I have to store the sound files. Since I have never tried such thing, have no idea how can I achieve it. Appreciate if you guide me.
With the array I got from spectrum analyzer, which is size of 7, I need to create another array with size of 175. Then I need to load this to 22 shift registers and then release the parallel data. This will be done over and over again, very quickly, since the LEDs have to be synced with the audio.
Would I experience any time delay between the actual serial data and its representation on LEDs ?
Yes, you are ok just using some 74HC595 shift registers to drive LEDs. Have proper resistors to limit the current. These shift registers are meant to drive signal lines, not high-power LEDs. You may chain them into a good length. Just make sure you wait long enough between shifting out the last bit and latching the values out. It takes time to propagate the bits to the last shift register. If you see your last few LEDs always lit or blinking and not doing what they should do, that is when you latch out the values too soon. The LED driver from sparkfun probably has current limitation built in and needs no resistors. Here is a cheap source of the 595s
I don't know if this is discussed before (Probably has been) but I couldn't find any document, that's why I am asking.
I want to build a PCB and when I place the processor on it, it will work as arduino. To do so, I need to combine some components like crystal clock, capacitor and stuff like that but don't know what I exactly have to do. Is there a guideline for this ?
Just wrote down a basic square wave to drive the transformer which is 230V AC input and 11V AC output. This was a transformer extracted from a Guitar amplifier. Connected the arduino from 11V side and expected to see at least half of the 230 V (If I'm not mistaken arduino supplies around 3V, right)
However when I touched the LED to 230 V side of the transformer, LED was barely blinking with a pale light.
What might be wrong with this ? Why the voltage drops even under the 5V when it passed through the transformer ?
this is the function and calling this function by writing down check(); statement whenever I want to check the condition to interrupt the if statement would work I think. Don't have the board with me, so can't test. But this is my idea.
Actually I have a circuit built on a matrix board working with 555 timer to get a square wave, however couldn't get it worked. Thought programming the arduino on computer to get an AC current , but apparently not that easy to do.
Have a 230V to 11V transformer. Want to run it to have a spark gap. First thought creating an Sine Wave would be easy with arduino but apparently not that easy.
Just a couple of thoughts here... first, don't use "normal" transformers this way. They're not very good at it. If you want a spark gap, use a high-frequency ferrite core transformer, like the baby flybacks you find in plasma globes. You may get a painful shock/small burn if you're not careful, but you're quite unlikely to die unless you decide to experiment with it naked covered in salt water.... so don't do that :p
Also, don't throw a microcontroller at a project that doesn't need one. It'd be easy enough to knock together a 555-based oscillator with some big fat power transistors to make an appropriate driver circuit, and a lot less hassle if you burn something out. Google "flyback driver 555" for some ideas, it's not difficult. You can vary the output voltage by varying the duty cycle of the 555 oscillator.