Show Posts
Pages: 1 ... 1070 1071 [1072] 1073 1074 ... 1853
16066  Using Arduino / Programming Questions / MOVED: photoelectric counter sensor to increase/decrease speed code?? on: March 08, 2012, 12:28:35 pm
This topic has been moved to Project Guidance.

http://arduino.cc/forum/index.php?topic=95578.0
16067  Using Arduino / Programming Questions / Re: Rocket engine throttling code help on: March 08, 2012, 08:28:22 am
You've got a lot of latency in there - you're only looking at your inputs every 18 seconds.
16068  Using Arduino / Programming Questions / Re: Kalman filter Programming on: March 08, 2012, 04:36:17 am
What results did your search turn up?
16069  Using Arduino / Programming Questions / Re: Ultrasonic Sensor to Arduino to Servo.. on: March 08, 2012, 04:35:23 am
Quote
It only calculates the distance perpendicular to it
Unfortunately, because of beam-spread, that probably isn't strictly true.

You still haven't answered to the question about how fast the object is moving - remember you're going to be limited by the servo sweep rate and the maximum sample rate of the rangefinder - usually only up to about 20Hz.

Quote
(attached in a servo, moving left to right).
At some point, you'll probably need to figure out the "moving right to left" bit.
16070  Using Arduino / LEDs and Multiplexing / Re: A class for blinking LEDs on: March 08, 2012, 04:08:23 am
Like.

But why bloat it with floats?
16071  Using Arduino / Programming Questions / MOVED: Coding Guru required for finalizing a software on: March 08, 2012, 02:31:13 am
This topic has been moved to Gigs and Collaborations.

http://arduino.cc/forum/index.php?topic=95605.0
16072  Using Arduino / Programming Questions / Re: Ultrasonic Sensor to Arduino to Servo.. on: March 08, 2012, 02:26:01 am
Most u/s sensors have a wide beam angle, so resolving the object may be difficult.
I guess the answer as usual is "it depends" - on
1) size of object
2) direction of object relative to sensor
3) speed of object.
4) reflectivity of object to ultrasound.
etc

You need to tell us what you want to do.
16073  Using Arduino / Programming Questions / Re: Servo speed control on: March 08, 2012, 01:32:51 am
There's a version of servo library with variable speed.
16074  Using Arduino / Project Guidance / Re: Scale "radar" trailer advice wanted on: March 07, 2012, 02:59:35 pm
Quote
  I have seen a lot of examples of distance measurement but none where they found the speed of a moving object
Speed is just rate of change of distance. It's simple calculation.
Your problem may come from the rate that you can take measurements.
Speed guns work continuously, calculating speed from the Doppler frequency of the echo.
However ultrasonic rangefinders make discrete round-trip time measurements, limited by the speed of sound and the sensitivity of the receiver - you may only manage 15 to 20 measurements a second.
At scale ranges, this may equate to very few measurements.
16075  Using Arduino / Project Guidance / Re: how can I have suction in 2 cups from same vacuum? on: March 07, 2012, 01:29:41 pm
Quote
I need to build a light suction system
Light is unaffected by a vacuum, in fact, it travels faster in one.
16076  Using Arduino / Motors, Mechanics, and Power / Re: Servo acting weird on: March 07, 2012, 10:34:37 am
Quote
I did some tests on servos.
What was the load on the servos?
16077  Using Arduino / Programming Questions / MOVED: Video Experimenter object tracking on: March 07, 2012, 09:34:05 am
This topic has been moved to Project Guidance.

http://arduino.cc/forum/index.php?topic=95516.0
16078  Using Arduino / Project Guidance / Re: Video Experimenter object tracking on: March 07, 2012, 09:31:57 am
Quote
I can't find anything on the internet where people actually track object with it other then finding brightest or darkest spots. I need to be able to track a tennis ball.
Paint your tennis ball white or black, and ensure it is the brightest/darkest thing the camera can see.

I wouldn't really recommend the Arduino as an image processor, particularly for someone with no experience of image processing.
Image processing is usually characterised by large data sets, processed very rapidly, neither of which the AVR is very good at.

Get some experience on a more able platform and find out what you need and what you can do without.

Just my two cents.
16079  Using Arduino / Project Guidance / Re: Rocket engine throttling help on: March 07, 2012, 07:40:14 am
Quote
From a reliability and safety standpoint, I'd make the code one-shot - add a while (1) {;} infinite loop at the bottom of the if block (after "close valve") so that a bad input (noise, or that floating input from the no-longer connected GSE) doesn't try and make the sequence run again.
Even that may not be reliable - any inadvertent reset could cause the processor to reset and cycle again!
16080  Using Arduino / Motors, Mechanics, and Power / Re: Servo acting weird on: March 07, 2012, 04:54:35 am
Quote
and they consumed <2A when used same time
Yes, but 2A is still MUCH greater than the 100mA your regulator is rated for.
Quote
It is small servo with minimum torture that is powered on for like 0.1 sec in long periods
Moving a servo for a short time is almost guaranteed to give you worst-case current consumption, I would have thought.
Pages: 1 ... 1070 1071 [1072] 1073 1074 ... 1853