Show Posts
Pages: 1 ... 1182 1183 [1184] 1185 1186 ... 1745
17746  Topics / Robotics / Re: Beginner's Robotic Arm on: August 14, 2011, 01:44:51 pm
Quote
my DC Motor keeps on moving even if its assigned case value isnt called.
I don't know - where is your code?
17747  Using Arduino / Programming Questions / Re: robot doesn't turn right (literally) on: August 14, 2011, 01:40:01 pm
Quote
delayMicroseconds(0010); // <--- You mean 10 microseconds right ?
No, he means 1000 microseconds. Read the thread.
A ten microsecond pulse would be about as useless as the eight microsecond pulse specified.

Quote
this is my second problem today, is that normal?
No, just another slow day.
17748  Using Arduino / General Electronics / Re: Where to buy 3.5mm 3-channel-and-ground socket? on: August 14, 2011, 01:21:37 pm
Some Sony camcorders use this scheme - try Maplin
17749  Using Arduino / Programming Questions / Re: robot doesn't turn right (literally) on: August 14, 2011, 11:38:41 am
Maybe your OS's pre-emption isn't quite right yet.
17750  Using Arduino / Programming Questions / Re: robot doesn't turn right (literally) on: August 14, 2011, 11:19:50 am
Can you type "1000" instead of "0010"?
Does that fix your problem?
It will multiply the length of your pulse by 125, and should get closer to what the ex-servo is expecting.

Quote
how is this so hard?(
It is hard because you don't see what I see.

You have all the code (and the "OS") in front of you - I could not have known you were driving an ex-servo, because none of the numbers I saw in the little bit of code you deigned to post related to anything that a servo might expect, and up until you wrote "SERVO" in a stroppy teenage stylee there was no explicit or implicit mention.
I still don't know how you're deriving the 20ms frame time.

Stop and think before posting.
17751  Using Arduino / Programming Questions / Re: robot doesn't turn right (literally) on: August 14, 2011, 11:16:31 am
Quote
tell me how stupid i am to miss that
I already did that in reply #1

I questioned your questions because you didn't tell us enough information.
Like the robot has ex-servos to drive the wheels.
Like why you would want to feed an ex-servo an eight microsecond pulse.

17752  Using Arduino / Programming Questions / Re: robot doesn't turn right (literally) on: August 14, 2011, 10:58:28 am
Quote
yes, its called a SERVO. that is how you controll them!
I think you're confusing your millis with your micros.
(I know what a servo is, I've been connecting them to microprocessors for rather more than 30 years)

Quote
yes, its called a SERVO.
First mention of that on this thread - why the attitude?

Quote
this is a full-rotation servo
You mean an ex-servo.
17753  Using Arduino / Project Guidance / Re: Store piezo knocked beat then output via solenoids on: August 14, 2011, 10:33:00 am
Code:
long timing_rythm[10] = {0};  
or just
Code:
long timing_rythm[10];  


sketch_aug14a:44: error: expected `;' before '}' token
Code:
delay(timing_rythm[count +1] - timing_rythm[count] - 100) ;
}
17754  Using Arduino / Programming Questions / Re: robot doesn't turn right (literally) on: August 14, 2011, 10:20:46 am
http://tinyurl.com/nrmq4s

Quote
2. Operating System. what you are using to type?
An application running in a framework. Why do you ask?

Quote
Rfront is the same, but the delay is 2000,
So, for one, the delay is 8 microsceonds, and for the other 2000 microseconds?
17755  Using Arduino / Programming Questions / Re: robot doesn't turn right (literally) on: August 14, 2011, 10:10:47 am
1) Yes, octal.

2) OS?

17756  Using Arduino / Programming Questions / Re: robot doesn't turn right (literally) on: August 14, 2011, 09:59:36 am
Quote
delayMicroseconds(0010);
Any particular reason for specifying delays in octal?

Quote
because out of boredom i decided to code an OS
?
17757  Using Arduino / Programming Questions / Re: problem trying to write binary bits to pins. on: August 14, 2011, 08:32:11 am
Use " 0b0000000000000001 " instead
The "Bxxxxxxxx" macros are only defined for eight bit numbers.
17758  Using Arduino / Programming Questions / Re: switching colors with one switch (RGB LED) HELP on: August 13, 2011, 05:03:21 pm
Define "combine"
Code:
#define REDPIN 3
#define GREENPIN 5
#define BLUEPIN 6


#define BUTTON 4

Such nice names. Why not use them?
17759  Using Arduino / Displays / Re: a total noob need help with serial lcd on: August 13, 2011, 04:47:43 pm
Can you locate your shift and punctuation keys?
17760  Using Arduino / Programming Questions / Re: How to write this piece of code shorter? [SOLVED] on: August 13, 2011, 03:58:35 pm
Quote
Even shorter
"subnet" and "gateway" ?
Pages: 1 ... 1182 1183 [1184] 1185 1186 ... 1745