Show Posts
Pages: 1 ... 33 34 [35] 36 37 ... 267
511  Using Arduino / General Electronics / Re: Active Low Relay Board - why? on: June 03, 2014, 10:05:17 pm
Have a look at replies 6 and 7 in this thread and reply 8 in this one for some active low rationale.
512  Using Arduino / Programming Questions / Re: Make A Loop that toggle's one led. on: June 03, 2014, 09:54:10 pm
Don't forget though, that the delay() prevents anything else happening while it's stuck there for 100ms. That may not be a problem if this is all your sketch has to do, but if anything else is going on then the fact that your sketch is delayed 99% of the time may be significant.

So you may like to look at Blink Without Delay
513  Using Arduino / Programming Questions / Re: Checking multiple sensors at different intervals on: June 03, 2014, 09:35:47 pm
You might also be interested in my extended demo of the Blink Without Delay technique in the first post of this Thread.

...R

Loads of questions lately requiring this info eh? I've bookmarked your thread and will link it each time I link to that video.
514  Using Arduino / General Electronics / Re: Micro-Servo don't work when using 7.4V Battery + diodes on: June 03, 2014, 09:32:04 pm
I think that diagram's about right, except the middle pin from the 780x must also be at ground.

Quote
Every servo eat about 0.3~0.4 mah mA

mAh (note the capital "A", millliAmp hours) is energy not power (mA, milliAmps).
515  Using Arduino / Programming Questions / Re: Checking multiple sensors at different intervals on: June 03, 2014, 01:31:27 pm
Yep you probably want the Blink Without Delay approach.

This video will probably help- it shows how to blink two leds (or in your case, read two sensors) with different rates.
516  Using Arduino / Programming Questions / Re: Should I use "goto" or something elese? on: June 03, 2014, 10:05:06 am
From K&R:

.... and who are we to argue  smiley-wink
517  Using Arduino / General Electronics / Re: Oh dear, the same problem as ever! on: June 03, 2014, 09:11:49 am
The contact will be very brief, so you do not even necessarily expect it to show a decent flash on a LED unless the sketch emulates a monostable.

For my clarity Paul... a monostable would be where a state is set when contact is made, so that the led would stay on even if the contact is lost, and would only go off with an explicit reset of some kind?
518  Using Arduino / Networking, Protocols, and Devices / Re: How can I change variables over network.... from web page form? on: June 03, 2014, 01:51:49 am
Here it is
519  Using Arduino / Networking, Protocols, and Devices / Re: How can I change variables over network.... from web page form? on: June 03, 2014, 01:45:29 am
You could save it in EEPROM and read it back each time the Arduino starts up.

Are you new to using the Ethernet card? I'm looking for the address of a tutorial I used, I'll post if I find it.

Or maybe zoomkat has a bit of code in his seemingly infinite library of awesome goodies....

EDIT... have a look at this tutorial
520  Using Arduino / Project Guidance / Re: need help beginner for aurdino on: June 03, 2014, 12:04:05 am
Quote
  after knowing the angle, i would like to use the angle for this equation:   

So ? You have the equation.
Why don't you write the code ?
http://arduino.cc/en/Reference/Cos 

I think this is more a maths question than a coding one, since he has yet to isolate delta from the equation

cos(teta) = cos (delta)cos (alpha)cos(omega) + sin(delta)sin(alpha)

which if you know the other angles and therefore their sins and cosines reduces to

p = cos (delta) qr + sin(delta)s

But my trig skills are a little rusty to solve that for delta unfortunately.
521  Using Arduino / General Electronics / Re: anyone tried these "spring" vibration sensors? on: June 02, 2014, 11:48:49 pm
Is there a maker's part number on there anywhere?
522  Using Arduino / Motors, Mechanics, and Power / Re: Stepper motor not responding on: June 02, 2014, 11:38:54 pm
Cheers team, the driver was bust. But  my stepper motors still arent performing too well unfortunately.

Ok well at least you've got some part isolated.

Are the drivers the right ones for the stepper hardware? I'm no expert (read: just about clueless) but I do know that modern motors need modern driver boards, which I believe are called choppers. If you use a non-chopper, old-school board with a motor that's expecting a chopper, then they do turn but don't perform too well.

So you should post details of the drivers and motors, and let the gurus (guri?) here tell you if they match. Better yet, from a learning pov, investigate the match between motors and drivers via their datasheets.
523  Using Arduino / Project Guidance / Re: Measuring 2 voltages on: June 02, 2014, 10:47:56 pm
it gets real funny when I try to measure both at the same time.

Funny "ha ha" or Funny "peculiar"?
524  Using Arduino / General Electronics / Re: Micro-Servo don't work when using 7.4V Battery + diodes on: June 02, 2014, 10:33:46 pm
Why don't you just get a 7806 regulator.....
525  Using Arduino / Motors, Mechanics, and Power / Re: Stepper motor not responding on: June 02, 2014, 10:29:43 pm
This might be able to help someone troubleshoot it. When i turn the axle of the stepper motor the power light on the driver flashes on

I doubt if that's mysterious: a motor and a generator are two sides of the same coin.

But does it happen for both motors?

You really should try the techniques suggested, especially the combinations of driver / stepper so as to help isolate the fault. And raschemmel makes a good point...

Quote
We need to see how you [actually] wired it up. We need to see how you thought you wired it up.

...you might have a simple wiring error. I've often stared at wiring convincing myself it's the same as the schematic, or the same as I had it last time, only to find it's not.

Using long breadboard?- on some makes the power rails are split in the middle. Does your meter say you're getting power everywhere you should be?

Pages: 1 ... 33 34 [35] 36 37 ... 267