Show Posts
Pages: 1 [2] 3 4
16  Using Arduino / Project Guidance / Re: Beep sound problem with MSGEQ7 on: July 04, 2014, 01:00:51 pm
Sorry if this is a dumb question, but do you have a resistor in series with the LED, or is the LED connected directly to the Arduino?

Directly connected. However, tried with a resistor in series but as expected nothing changed but the brightness.
17  Using Arduino / Project Guidance / Beep sound problem with MSGEQ7 on: July 04, 2014, 12:17:41 pm
There are a lot of tutorials and also guidance on the datasheet. However, even though I repeated the same procedures over and over again, there is a constant beep sound and LED is on when I connect an LED to analog output which has the output of the msgeq7 IC's signal.

Even the LED is not connected to 3.5mm jacks at all. So, how come this constant beep sound comes from the speaker.

Any idea what about the probably problem or anyone come across such a problem.

18  Using Arduino / Project Guidance / Re: Responsive realtime environment on: April 22, 2014, 03:20:41 am
Exactly.
I meant connecting it to a computer and there work with a software. So, actually asking for such interaction softwares.
19  Using Arduino / Project Guidance / Responsive realtime environment on: April 22, 2014, 03:06:05 am
What I want to achieve is get an input through Arduino (eg. force sensor input)  and then somehow by using the magnitude of this input take some action.

What I mean by action is playing a video, showing an image and stuff like that.

I reckon there should be some nice interfaces to work together with arduino to be able to done such stuff.

Any idea ?
20  Using Arduino / Project Guidance / Audio spectrum analysis all in Software on: April 10, 2014, 03:55:11 pm
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)

Thanks in advance.
21  Using Arduino / Programming Questions / Re: Arduino interacting with computer application on: March 23, 2014, 02:53:59 pm
If you read up on Serial, this is what you want.  Here's the Serial.write reference

http://arduino.cc/en/Serial/write

Once the comm port on the PC recieves the message, you can do what you like with it.  I've used Flash bu there's simpler/free ways, most folks use Processing or LabView I believe.

You can also send the event wireless from the Arduino using an XBee (or BT),  with a USB-XBee adaptor hanging off the PC.

Carl

Thanks for your answer.

So, how can I read this data from the interface of arduino. I mean how can I connect the software I wrote.
That kinda confuses me. What I want is playing some .wav files accordingly.
22  Using Arduino / Programming Questions / Arduino interacting with computer application on: March 23, 2014, 02:25:38 pm
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.

Appreciate if you inform me further.
23  Using Arduino / Project Guidance / Digital instrument idea on: March 21, 2014, 03:26:13 pm
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.

Thank you
24  Using Arduino / Project Guidance / Re: Driving multiple leds on: January 31, 2014, 02:42:33 pm
Thanks so much for your answer.

One more thing;

Let's say I'l be driving 25*7 = 175 LEDs,

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 ?

Thank you again.

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

http://www.dipmicro.com/store/74HC595
Shipping coupon:

https://www.dipmicro.com/coupon?A9Y1

Compared with sparkfun price:

https://www.sparkfun.com/products/733
25  Using Arduino / Project Guidance / Driving multiple leds on: January 31, 2014, 02:25:32 pm
I'm planning to read an audio signal and analyze its frequency spectrum with MSGEQ7 Integrated Circuit.

This IC will give me a serial analog data. Then in accordance with the value of each analog data in the array with size of 7, I will drive certain numbers of LEDs at the same time.

Since I'm not familiar with shift register I'm not sure if it is suitable for such purpose ?
I have another option, which is; LED Display Driver (8-Digit) - MAX7219CNG from sparkfun;

https://www.sparkfun.com/products/9622

It's quite a bit expensive though.

So, would I be fine with cascaded shift register ?
26  Using Arduino / Project Guidance / Building Arduino on PCB on: January 17, 2014, 06:06:35 pm
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 ?

Thank you.
27  Using Arduino / Project Guidance / Audio spectrum with leds on: January 04, 2014, 04:31:59 pm
For a while I've been searching about that project.

Planning to build something like that;


Apparently what I need is MSGEQ7 chip for analyzing the spectrum in 7 different range;
A demultiplexer, since I'll need a lot of output to run many LEDs;

One more thing that I need is having the audio signal in. I don't know what this input socket for 3.5mm jack is called but I believe there must be a type of component to place on breadboard, right ?

Basic components aside, do you think I might need any other specific component or do you suggest any thing before I start ?

Thank you.


28  Using Arduino / General Electronics / Driving a transformer on: April 13, 2013, 06:30:50 pm
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 ?

Quote
 digitalWrite(led, HIGH);
  delay(20);      
  digitalWrite(led, LOW);  
  delay(20);
29  Using Arduino / Programming Questions / Re: Interrupting IF statement on: March 02, 2013, 12:28:54 pm
int check()
{
  if(digitalRead(9) == LOW)
  {
    return 0;
  }
}

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.
30  Using Arduino / Programming Questions / Interrupting IF statement on: March 02, 2013, 12:15:52 pm
Assume somewhere in the middle of the if statement, upon an input, I want to interrupt it.
How can I handle this ?



Pages: 1 [2] 3 4