Show Posts
Pages: 1 ... 796 797 [798] 799 800 ... 1169
11956  Using Arduino / Sensors / Re: AC on: January 29, 2011, 12:18:41 pm
Well then possibly a schematic drawing of the whole thing would help. Otherwise you aren't giving us much to work with.

Lefty
11957  Development / Other Hardware Development / Re: Testing Arduino Boards, I/O Pins etc.. Test Shield - Test Software on: January 29, 2011, 12:14:02 pm
Quote
I helped develop the official test suite for Arduino,

Of course that would leave mega based boards not tested on all their avalible pins.

Lefty
11958  Development / Suggestions for the Arduino Project / Re: if(a=b) is not if(a==b) could IDE check this b4 upload? on: January 29, 2011, 12:11:39 pm
Well your wish for new or different compiler options are being voiced to the wrong group here. The compiler used by the Arduino is a open sourced project managed by a totaly different group  http://gcc.gnu.org/

You could always contact them and see what they think of your request.

Lefty
11959  Using Arduino / Sensors / Re: AC on: January 29, 2011, 12:04:57 pm
You would need to provide a link to the sensor's datasheet or users manual for anyone to figure it out for you.

Lefty

11960  Using Arduino / General Electronics / Re: The right temperature for lead-free soldering? on: January 29, 2011, 12:00:26 pm
Unleaded solder generally does require higher temps. From the datasheet you linked:



Quote
Lead free/leaded solder comparison  Lead Free Solder (Sn/Ag/Cu)              Sn63/Pb37 (Leaded Solder)  
Melting Point                                217-221 º C (422.6 - 429.8 º F)               183 º C (361.4 º F)  
11961  Using Arduino / Installation & Troubleshooting / Re: Arduino Uno and PWM on 11 & 3 on: January 29, 2011, 11:54:30 am
Quote
Guess it's either my code, or the library....I did upgrade to 22... same problem!

Most likely the library. There are only so many internal hardware timers avalible and one can't use all possible functions in the same sketch at all times.

Lefty

11962  Using Arduino / Installation & Troubleshooting / Re: Arduino Uno and PWM on 11 & 3 on: January 29, 2011, 11:41:07 am
 I suspect that the <IRremote.h> library may be utilizing some of the timers that the PWM command uses to control pins 3 & 11.
Why don't you just load the example program Fading from the Arduino IDE file menu. Then modify the
int ledPin = 9;    // LED connected to digital pin 9  line to use pin 3 and then pin 11 and see if the pins work properly. Be sure to use series current limiting resistor with an LED if that is how you are testing for PWM outputs.

Lefty

Code:
/*
 Fading
 
 This example shows how to fade an LED using the analogWrite() function.
 
 The circuit:
 * LED attached from digital pin 9 to ground.
 
 Created 1 Nov 2008
 By David A. Mellis
 Modified 17 June 2009
 By Tom Igoe
 
 http://arduino.cc/en/Tutorial/Fading
 
 This example code is in the public domain.
 
 */


int ledPin = 9;    // LED connected to digital pin 9

void setup()  {
  // nothing happens in setup
}

void loop()  {
  // fade in from min to max in increments of 5 points:
  for(int fadeValue = 0 ; fadeValue <= 255; fadeValue +=5) {
    // sets the value (range from 0 to 255):
    analogWrite(ledPin, fadeValue);         
    // wait for 30 milliseconds to see the dimming effect   
    delay(30);                           
  }

  // fade out from max to min in increments of 5 points:
  for(int fadeValue = 255 ; fadeValue >= 0; fadeValue -=5) {
    // sets the value (range from 0 to 255):
    analogWrite(ledPin, fadeValue);         
    // wait for 30 milliseconds to see the dimming effect   
    delay(30);                           
  }
}


11963  Using Arduino / Project Guidance / Re: Using Arduino with Matlab and Simulink to build a controller? on: January 29, 2011, 11:35:15 am
I have no experiance with Matiab or Simulink, however assuming that they can communicate via USB serial then it should be possible. The tricky part is that an Arduino does not have a true analog output function. The analogWrite() command generates a PWM TTL voltage level square wave signal the varies it's duty cycle from 0-100%. You have to wire the pwm output pin to a low pass filter (a simple series resistor followed with a capacitor to ground. The junction of the resistor and cap will then show a true analog voltage of 0-5vdc. This could then be wired back to a analog input pin and it's value sent back out via USB serial link to your PC.

However this would seem redundant unless you were actually using the true analog output voltage to control something physical. Otherwise just send the PWM value signal used inside the program, with proper scaling and send it back to your PC ?

That make sense?

Lefty
11964  Using Arduino / Installation & Troubleshooting / Re: Arduino Uno and PWM on 11 & 3 on: January 29, 2011, 11:18:34 am
We would have to see the code you use to determine those two pins are not working with analogWrite(). They should if you are using a mega328 based board. http://arduino.cc/en/Reference/AnalogWrite

11965  Community / Website and Forum / Re: Karma on: January 29, 2011, 10:58:34 am
Quote
It's an indication of how many arseholes there are here

I would have thought there were a lot more then just two out there?

Lefty
11966  Community / Bar Sport / Re: Is the magic smoke toxic? (and other questions) on: January 29, 2011, 10:54:37 am
Putting 100+ vdc to the input of a +5vdc regulator will do that. You probably took out some filter caps around the regulator also before the flames subsided.

 About the only thing worth trying is to remove what remains of the regulator from the board and see if the board will operate on USB power. If so then you have a chance of repairing it, if not you got a nice wall hanging conversation piece.

Lefty
11967  Community / Website and Forum / Re: Karma on: January 29, 2011, 10:44:00 am
Just eliminate the negative karma, leave the positive karma count, and leave it at that.

11968  Community / Exhibition / Gallery / Re: How I mounted my Seeeduino V2.2 (ATmega328P)... on: January 28, 2011, 11:56:45 pm
If you do ever get a Seeeduino mega board, you will find that it wires up 16 additonal I/O pins from the mega1280 chip that the Arduino mega board doesn't even wire up to any connectors.

Lefty

11969  General Category / General Discussion / Re: Missing Forum on: January 28, 2011, 10:06:20 pm
I'm still waiting for the "It doesn't work" subforum.  smiley
Or how about a "Why must I use resistors with leds" subforum.  smiley

Of course Grumpy_Mike has probably earned the right for his own subforum Called "Arduino the S&M way"

11970  Community / Exhibition / Gallery / Re: How I mounted my Seeeduino V2.2 (ATmega328P)... on: January 28, 2011, 10:01:35 pm
Very nice. I really like the Seeeduino boards, they have lots of features missing or different from the Arduino standard. I own two of their Mega boards.

Lefty
Pages: 1 ... 796 797 [798] 799 800 ... 1169