Show Posts
Pages: [1] 2 3 ... 67
1  Using Arduino / General Electronics / Re: What's this? on: April 27, 2014, 02:12:58 pm
As Majenko said, this is an opto-coupler.  They can be used for a wide variety of applications. 
Renesas has a good article on them here: http://www.renesas.com/products/opto/technology/usage/index.jsp
2  Using Arduino / General Electronics / Re: Question: LED connection. on: December 13, 2013, 01:41:51 pm
I think hes trying to say something along the lines of "if you have any questions, just ask and I'll help as much as I can"
3  Using Arduino / General Electronics / Re: AD 620 amplifier chip on: December 13, 2013, 01:40:19 pm
OH! Yes yes.  My bad
(I don't work with discrete op amps much)
4  Using Arduino / General Electronics / Re: AD 620 amplifier chip on: December 13, 2013, 12:05:48 pm
Knowing how to read a datasheet is extremely important if you ever intend to do anything worth doing in electronics.
Also, proper spelling might help.

In response to your question, 5V goes to pin 7, and ground goes to pin 4.  Your output will come out of pin 6.  A resistor between pins 1 and 8 will set your gain.  Your non-inverting input will go on pin 3 and your inverting input goes on pin 2.  Your reference goes on pin 5, most of the diagrams just put that down to 5.

Seriously though, if you keep on asking questions like this (spelled improperly and clearly are refusing to do actual work) everybody is gonna...extremely dislike you.
5  Using Arduino / General Electronics / Re: Xbee shield pins on: December 13, 2013, 11:58:52 am
First thing you gotta do is make sure that the XBee shield isn't using those pins for a function.

If they are...then you'll have to put your finger print device on some other pins .  Why do you need pins 2 and 3 specifically? You have pins 8-13 free.
6  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet POE board fails after 3 hours on: December 13, 2013, 11:19:39 am
I don't have much experience with the PoE module specifically although I do work with on-board power supplies quite a bit.

What jumps out is the faint buzzing, to me that sounds like you may have a weak short somewhere.   Make sure the PoE module is connected properly and none of the components are touching anything on the arduino.


7  Using Arduino / LEDs and Multiplexing / Re: AS1130 Ongoing Discussion 132 Individually controllable, PWM LED driver on: July 08, 2013, 05:28:15 pm
For anybody who may be interested, I'm porting the existing code over to Raspberry pi
8  Using Arduino / Programming Questions / Re: OpenMusic Labs FFT Help on: April 16, 2013, 07:13:45 pm
Okay, i'll switch it back.

Looks like I gotta figure out how to use pure data!
9  Using Arduino / Programming Questions / Re: OpenMusic Labs FFT Help on: April 16, 2013, 07:05:40 pm
Because I wanted the output on the serial monitor print the different outputs on a new line.

Does that change affect the operation of the code?
10  Using Arduino / Programming Questions / Re: OpenMusic Labs FFT Help on: April 16, 2013, 06:48:08 pm
Oh duh, even after all this time,  I forget to post the corresponding code

Code:
/*
fft_adc.pde
guest openmusiclabs.com 8.18.12
example sketch for testing the fft library.
it takes in data on ADC0 (Analog0) and processes them
with the fft. the data is sent out over the serial
port at 115.2kb.  there is a pure data patch for
visualizing the data.
*/

#define LOG_OUT 1 // use the log output function
#define FFT_N 256 // set to 256 point fft

#include <FFT.h> // include the library

void setup() {
  Serial.begin(115200); // use the serial port
  TIMSK0 = 0; // turn off timer0 for lower jitter
  ADCSRA = 0xe5; // set the adc to free running mode
  ADMUX = 0x40; // use adc0
  DIDR0 = 0x01; // turn off the digital input for adc0
}

void loop() {
  while(1) { // reduces jitter
    cli();  // UDRE interrupt slows this way down on arduino1.0
    for (int i = 0 ; i < 512 ; i += 2) { // save 256 samples
      while(!(ADCSRA & 0x10)); // wait for adc to be ready
      ADCSRA = 0xf5; // restart adc
      byte m = ADCL; // fetch adc data
      byte j = ADCH;
      int k = (j << 8) | m; // form into an int
      k -= 0x0200; // form into a signed int
      k <<= 6; // form into a 16b signed int
      fft_input[i] = k; // put real data into even bins
      fft_input[i+1] = 0; // set odd bins to 0
    }
    fft_window(); // window the data for better frequency response
    fft_reorder(); // reorder the data before doing the fft
    fft_run(); // process the data in the fft
    fft_mag_log(); // take the output of the fft
    sei();
    Serial.println(255); // send a start byte
    Serial.write(fft_log_out, 128); // send out the data
  }
}
11  Using Arduino / Programming Questions / OpenMusic Labs FFT Help on: April 16, 2013, 06:08:21 pm
Hello,

I'm using OpenMusic Labs' fft_adc code to try and do some FFT on my music.
The only change is i've changed serial.write(255) to serial.println(255)

My question is why arent my values changing?  I have ADC0 connected to the right pin of my TRRS breakout from sparkfun and then I have ring 2 of the same breakout connected to ground.

My current output looks like the image attached
12  Using Arduino / LEDs and Multiplexing / Re: My RGB LED Stairs Illumination video on: April 16, 2013, 12:35:13 pm
Here is a photo of the breadboard design:

That's the most colorful breadboard design I've ever seen :-) Beautiful. I bet it's going to make you feel heavy-hearted when you have to pull it apart ;-)

Pulling those things apart always sucks.


Anyway, Cranium, has there been any updates to your project?
13  Using Arduino / LEDs and Multiplexing / Re: My RGB LED Stairs Illumination video on: April 15, 2013, 08:10:30 am
How long has it been? OSH usually take 15-20 days for me.
14  Using Arduino / Microcontrollers / Re: ATtiny85 Pin usage on: April 15, 2013, 08:09:47 am
Ohhh, I'm thinking of the aTiny45
15  Using Arduino / Microcontrollers / Re: ATtiny85 Pin usage on: April 12, 2013, 03:57:12 pm
Can you use the 84 like the 85?  If i'm thinking properly, the 84 only has like two PWM pins.
Pages: [1] 2 3 ... 67