Show Posts
Pages: 1 ... 1070 1071 [1072] 1073 1074 ... 1918
16066  Using Arduino / General Electronics / Re: Simple Volume Control on: May 02, 2012, 07:06:21 am
What happens?
What happens now?

You get hold of a copy of Horowitz and Hill, and you read it.
16067  Using Arduino / Motors, Mechanics, and Power / Re: Strnge behaviour of Mini Servo on: May 02, 2012, 07:04:13 am
A voltage divider will work for a high impedance because the lower half of your divider will have a high resistance in parallel with it, affecting the resistance, and hence the division ratio, only slightly.

A servo is most definitely NOT a high impedance.

The  battery I am using is 7.4 V
The battery you show in your diagram is four AA.
16068  General Category / General Discussion / MOVED: Need hardware to trigger a digital I/O when trigger input varies from 0-12Vdc on: May 02, 2012, 06:57:03 am
This topic has been moved to Project Guidance.
16069  International / Fran├žais / Re: Interruption UNO32 on: May 02, 2012, 06:53:57 am
Et, en anglais ici
16070  Using Arduino / Programming Questions / Re: interrupt UNO32 on: May 02, 2012, 06:53:08 am
For French speakers, this question is also available here
16071  Using Arduino / Motors, Mechanics, and Power / Re: Strnge behaviour of Mini Servo on: May 02, 2012, 06:41:09 am
But if I source power from Ni-Mh battery, via voltage divider,
That's not a good idea.
Use a proper regulator.

Edit: Why do you think you need to reduce the voltage?
R/C servos are designed to run off four packs of AA or AAA batteries.
16072  Using Arduino / Displays / Re: Turn your Uno into a VGA output device! on: May 02, 2012, 06:33:37 am
Is it really a CRT (i.e. is it quite deep behind the screen?) or is it a plasma display?
16073  Using Arduino / Project Guidance / Re: Mapping robot on: May 02, 2012, 06:32:02 am
I'm thinking a 2D matrix of booleans or integers
Or better still, bits.
16074  Using Arduino / Programming Questions / Re: String to int on: May 02, 2012, 06:30:06 am
usually omitting "unsigned" is laziness,
In the case of "byte", not so - the type is defined to be unsigned, so adding an extra "unsigned" would be tautological.
If the array were of type "char", then yes, omitting an "unsigned" could be deemed lazy (but not by many).

typedef uint8_t byte;
16075  Using Arduino / Sensors / Re: Tilt sensor on: May 02, 2012, 05:59:05 am
Not an accelerometer?
No, as you said in your original post, it is a tilt sensor.
Now, an accelerometer can be used as a tilt sensor, but not necessarily vice versa.

Whether or not it is suitable for you application, only you can determine.

You need LED current-limiting resistors, but not I2C pullups.
16076  Using Arduino / Sensors / Re: Tilt sensor on: May 02, 2012, 05:46:25 am
a 4 directional tilt sensor (28036 - Parallax)
I can't find if my sensor is I2C or not, even google can't help me!

I googled "28036  Parallax tilt sensor" and found that not only is your device not I2C, it isn't even an accelerometer, except in the crudest sense.
16077  Using Arduino / Interfacing w/ Software on the Computer / Re: HArdware in loop , matlab on: May 02, 2012, 05:02:48 am
I'd doubt most hobby servos are really capable of that sort of repeatability - don't forget they're intended for human-in-the-loop applications.

However, you can get finer control if you use the writeMicroseconds method, which is automatically called from the usual Servo "write" method if you specify an "angle" greater than about 540.
16078  Using Arduino / Sensors / Re: Accelerometer on: May 02, 2012, 04:59:25 am
I don't understand what the I2C is, and where to find?
It is a very common interface standard, as a simple Google search will verify.

Where did you place the resistor?
16079  Using Arduino / General Electronics / Re: 0-5 v into 0-2.5 volts ? on: May 02, 2012, 04:56:18 am
so you are saying a simple resisistor will do the same trick reducing a voltage from 0-5 v to 0 to 2.5 volts
Only if you know the impedance of the input.

how do i calculate the correct resistor - it is a signal wire
What sort of "signal wire"?
16080  Using Arduino / Programming Questions / Re: String to int on: May 02, 2012, 04:46:17 am
lowercase "string" is just a confusing word for a char array.
Nothing confusing there; a string is a char array that is null-terminated, but a char array doesn't have to contain a string.
Pages: 1 ... 1070 1071 [1072] 1073 1074 ... 1918