Show Posts
Pages: 1 ... 57 58 [59] 60 61 ... 177
871  Products / Arduino GSM Shield / Re: Making homemade phone by Arduino UNO on: September 04, 2013, 11:36:10 am
http://www.instructables.com/id/ArduinoPhone/
872  Using Arduino / Project Guidance / Re: IR Remote Codes Differ When I Push The Same Button?! on: September 04, 2013, 11:23:40 am
It's not uncommon that a sender, being minimally a semi-intelligent device, will knock out a "repeat" code instead of the entire pulse train associated with a particular key.
The first time around a VOL+ code gets knocked out and thereafter "repeats" till there's a timeout or a different key is clicked.

Maybe that's what you're encountering.
873  Using Arduino / General Electronics / Re: Are ICSP headers necessary on shields for basic projects? on: September 04, 2013, 08:25:07 am
the plastic is keeping them from being removed easily, will have to just cut the plastic apart so I can de-solder one at a time (cant easily do all 6 at once lol)

I've done it as I described many, many times.  Sometimes they put a little hitch in the pin to keep from pushing through casually, but, either way, heat softens the plastic such that it's no issue.

Still, with the "solder-blob" method, you should be able to heat all 6 and pull them out as one by gripping the plastic header with a pliers.
874  Using Arduino / Sensors / Re: ESD protection for bi-directional digital I/O on: September 03, 2013, 09:48:56 pm

I would love to use opto-isolation, but I don't know how to do it with a bi-directional data lead.

http://www.merl.com/papers/docs/TR2003-35.pdf
875  Using Arduino / Project Guidance / Re: Simple Two Arduino Communication on: September 03, 2013, 09:41:29 pm
The simplest means would be to wire UnitA's TX to UnitB's RX, and UnitA's RX to UnitB's TX.

Cheap ideal wireless (RF?  Infrared?), over what distance?

876  Using Arduino / LEDs and Multiplexing / Re: Constant LED flicker while fading up/on and fading down/off. on: September 03, 2013, 09:35:27 pm
Can you better describe the effect that you're after?
877  Using Arduino / Project Guidance / Re: Need some advice on a Electronic Door Lock on: September 03, 2013, 09:33:10 pm
My advice: keep a key to the back door in your pocket.
878  Using Arduino / General Electronics / Re: Are ICSP headers necessary on shields for basic projects? on: September 03, 2013, 09:26:01 pm
the ICSP  header at an angle so I'm trying to get it off, having some trouble (haven't gotten the solder pump down yet)...

Put the board in a vise.
Heat the pin and the solder joint and then, while keeping the heat on, grab the pin from the other side with a pliers and it will pull out easy.
879  Using Arduino / LEDs and Multiplexing / Re: 2 digit 7 segment display with buttons on: September 02, 2013, 11:22:53 pm
for some reason when the let any of the buttons go, it goes back to it's original value. Any ideas?

By "original value", do you mean 15?

Code:
void loop()
{
  digit=15;   //  <<< here's the "some reason"
             // it always will come back here, won't it?
 
  if (digitalRead(BTN1)==HIGH){
    digit++;
  }
  if (digitalRead(BTN2)==HIGH){
    digit--;
  }

  // ...
880  Using Arduino / Motors, Mechanics, and Power / Re: Setting a home position for a stepper motor on: September 02, 2013, 10:59:17 pm
Generally, "we" do not use pins 0 or 1 for general I/O.  Use pin 2.

should the "HomeMotor" sketch be in the setup or main loop?
It's OK to have the stepperHome() [right?] function call placed in setup ().

Is if (digitalRead(homeButton == HIGH)) good form?
I use a variable.
Code:
const byte homeButton = 2;
byte hBval;   // new variable

//... and now...

void stepperHome()
{ //this routine should run the motor
  hBval = digitalRead(homeButton);  // this could be in setup()
                                   // before calling stepperHome function
  while (hBval == HIGH)
  {
    //backwards slowly till it hits the switch and stops
    stepper1.moveTo(-100);
    stepper1.run();
    digitalWrite(ledPin, LOW);
    hBval = digitalRead(homeButton);
  }
  digitalWrite(ledPin, HIGH); //
  stepper1.setCurrentPosition(0); //
}
881  Using Arduino / General Electronics / Re: reducing voltage to useable level, on: September 02, 2013, 12:36:31 pm
Pancake when you refer to a 20k "pull-up to 5v" what dose this mean? I'm obviously very green in this field.

Take a look at Fig. 1 in this link --
http://www.jameco.com/Jameco/Products/ProdDS/40985.pdf
It shows the output configured as I advocate.  They have the collector (output) pulled-up with a "75Ω" resistor to Vcc.  That's their "test circuit".
You will want to use a 10K resistor (to +5V instead of "Vcc").  You could do away with those pull-ups entirely by using the Arduino "weak internal pullup"
[refer "Pins Configured as INPUT_PULLUP" at http://arduino.cc/en/Reference/Constants ]. 
If that's too much to integrate at this time, just use the resistors.

Also, a 2.2K resistor on the input, with your 12V situation, should be good. (A 1K is plenty OK, too; gotta love that 10mA.)

When the LED is on, the transistor will be on; when the transistor is on, its output is taken to Gnd (Low).
Doing a digitalRead on that, the results will be:
  • HIGH when the transistor is off
  • LOW when the transistor is on

Got all that?

882  Using Arduino / General Electronics / Re: Astable multivibrator gets 'stuck' on: September 02, 2013, 10:00:12 am
And there it is.
883  Using Arduino / General Electronics / Re: Astable multivibrator gets 'stuck' on: September 02, 2013, 12:06:45 am
That's the the same thing without the button ?

No. 
Compare, discriminate.
884  Using Arduino / General Electronics / Re: Receiver 5.3 KHz for Arduino on: September 01, 2013, 11:26:57 pm
http://translate.google.com/
885  Using Arduino / General Electronics / Re: Astable multivibrator gets 'stuck' on: September 01, 2013, 11:25:15 pm
wiring/circuit error
see attached DWG revision
Pages: 1 ... 57 58 [59] 60 61 ... 177