Show Posts
Pages: 1 ... 54 55 [56] 57 58 ... 61
826  Forum 2005-2010 (read only) / Exhibition / Re: My ten thousandth post! on: December 10, 2010, 11:05:07 am
Congratulations, there should be a prize.

10,000 posts, no wonder you are Grumpy!

Kind regards,  Si.
827  Forum 2005-2010 (read only) / Exhibition / Re: yet another TLC5940 (TLC5941) project... on: September 19, 2010, 01:05:19 pm
Very good - hope you have lots of jumper wires smiley-wink
828  Forum 2005-2010 (read only) / Exhibition / Re: Heliostat project on: November 11, 2010, 04:05:00 am
I think this is great. You could use it to boost the lighting in a home by specifying windows as targets (I live in a country where you have to have the lights on during the day for a big chunk of the year).

You could even have it follow you round the house if you have the network setup with PIR sensors.

How big a mirror can you hang on this thing?
829  Forum 2005-2010 (read only) / Exhibition / Re: Bicycle Brake and Turn Signals on: December 08, 2010, 03:36:08 am
Excellent!

A lot more visible that standard bicycle lights!

Motorists - you may need to wear shades!
830  Forum 2005-2010 (read only) / Exhibition / Re: arduinosudoku on: October 18, 2010, 04:16:50 am
Why? Because you can of course!
Excellent.
smiley
831  Forum 2005-2010 (read only) / Exhibition / Re: Another light seeker, but it has telemetry! on: November 15, 2010, 10:33:39 am
When you come to filtering the accelerometer values, you could do this on the Arduino or the server, you just need a low pass filter. That looks a bit like this:

Code:
// Adjust alpha for the level of smoothing.

#define alpha 0.8

void loop()
{
static double lastX = 0;
double newX = readAccelerometerX();
double smoothX = alpha * lastX + (1 - alpha) * newX;
lastX = newX;
// ditto for the other 2 axes
}

I would tell you that the algorithm is called lossy integration, but I've been told that's pretentious smiley-wink

Anyway, its nice and easy to code.
832  Forum 2005-2010 (read only) / Exhibition / Re: Another light seeker, but it has telemetry! on: November 15, 2010, 07:00:51 am
Looks good!

So what's next, digital compass? Then if you can stop hitting things or spinning wheels, you could get a 2D plot of where it's been.
833  Forum 2005-2010 (read only) / Exhibition / Re: ultrasonic wind sensor on: September 17, 2010, 02:29:43 am
Thanks for replying, I get it now.

Is the difference between your unit and the commercial Gill units, perhaps just that they have access to a wind tunnel and can do some final calibration after the maths?
834  Forum 2005-2010 (read only) / Exhibition / Re: ultrasonic wind sensor on: September 16, 2010, 03:08:16 am
Hi,

I just had a look at your project report. Very interesting thanks for posting.

The following questions and observations are a bit woolly in my head, so sorry if they appear a bit dumb.

I think I understand the idea of measuring the phase shift, to see how much the signal has been 'boosted' along by the wind, can you do this on 2 axes, to get the direction as well?

Also, as an alternative to phase shift, is that kind of just measuring what is really a frequency shift? doppler style due to the wind?

If so, could you measure the frequency at the receiver rather than the phase shift?

835  Forum 2005-2010 (read only) / Exhibition / Re: ultrasonic wind sensor on: September 12, 2010, 06:34:29 am
Doesn't relative humidity alter ultrasonic absorption?

Do you have to correct for that?
836  Forum 2005-2010 (read only) / Exhibition / Re: Mil-sim Airsoft Bomb Prop on: September 13, 2010, 04:32:59 pm
To translate Mike Mc.

rozzers = police
boot = trunk

All good fun, but definitely some scope for serious misunderstanding with the authorities.

Your police all carry guns for heavens sake! Over here we have only just let them have cars and they do enough damage with them!
837  Forum 2005-2010 (read only) / Exhibition / Re: Arduino working backstage on: October 24, 2010, 03:53:12 pm
Sounds interesting, maybe you could also generalise the project, so you don't have to keep changing your script. Produce some kind of simplified instructions that you can send to the Arduino over Serial that it then tucks away into EEPROM?
838  Forum 2005-2010 (read only) / Exhibition / Re: Arduino + Wire = Morse Code AM Radio Beacon on: October 27, 2010, 04:16:11 pm
What kind of range are you all getting with this?

I'm moving house and I can't find the box with the Arduino stuff :-(

BTW here's a varient on the general purpose morse generation code from my book. It takes the message to be transmitter from the Serial Monitor.

Code:
// Listing. Project 3.
int ledPin = 11;

char* letters[] = {
  ".-", "-...", "-.-.", "-..", ".", "..-.", "--.", "....", "..",    // A-I
  ".---", "-.-", ".-..", "--", "-.", "---", ".--.", "--.-", ".-.",  // J-R
  "...", "-", "..-", "...-", ".--", "-..-", "-.--", "--.."          // S-Z
};

char* numbers[] = {"-----", ".----", "..---", "...--", "....-", ".....", "-....", "--...", "---..", "----."};

int dotDelay = 200;

void setup()                
{
  pinMode(ledPin, OUTPUT);
  Serial.begin(9600);
}

void loop()                    
{
  char ch;
  if (Serial.available())      // is there anything to be read from USB?
  {
    ch = Serial.read();        // read a single letter
    if (ch >= 'a' && ch <= 'z')
    {
      flashSequence(letters[ch - 'a']);
    }
    else if (ch >= 'A' && ch <= 'Z')
    {
      flashSequence(letters[ch - 'A']);
    }
    else if (ch >= '0' && ch <= '9')
    {
      flashSequence(numbers[ch - '0']);
    }
    else if (ch == ' ')
    {
     delay(dotDelay * 4);      // gap between words  
    }
  }
}

void flashSequence(char* sequence)
{
   int i = 0;
   while (sequence[i] != NULL)
   {
       flashDotOrDash(sequence[i]);
       i++;
   }
   delay(dotDelay * 3);    // gap between letters
}

void flashDotOrDash(char dotOrDash)
{
  digitalWrite(ledPin, HIGH);
  if (dotOrDash == '.')
  {
    delay(dotDelay);          
  }
  else // must be a -
  {
    delay(dotDelay * 3);          
  }
  digitalWrite(ledPin, LOW);    
  delay(dotDelay); // gap between flashes
}
839  Forum 2005-2010 (read only) / Exhibition / Re: Automatic Toilet Flusher on: September 28, 2010, 10:19:14 am
Nice.

We definitely need to see a video of this working - with suitable editing of course.
840  Forum 2005-2010 (read only) / Exhibition / Re: Toolduino software for controlling your Arduino on: October 08, 2010, 05:24:37 pm
I have been meaning to get round to doing the very same thing myself.

But meaning to do it counts for nothing. You actually got on and did it.

It looks like a really nice implementation.

Well done!
 smiley
Pages: 1 ... 54 55 [56] 57 58 ... 61