Search found 9 matches

by emersonb
Wed May 19, 2010 2:39 pm
Forum: Hardware
Topic: Wind Sensor, LED's, Servo and Arduino
Replies: 1
Views: 10356

Wind Sensor, LED's, Servo and Arduino

I have your Wind sensor and a Servo powered separately on two different breadboards.
The Arduino powers the wind sensor and a battery powers the servo. (power is not a problem)

Each part of the code works fine separately but together the wind sensor becomes very delayed.
The delay(15) seems to be ...
by emersonb
Tue May 18, 2010 11:04 pm
Forum: Hardware
Topic: Wind Sensor, LED's and Arduino
Replies: 10
Views: 32574

Re: Wind Sensor, LED's and Arduino

Paul-
FYI: I have the capacitor working between: "out" on the Wind Sensor and the "analog input" (in my case: 2) on the Arduino.

I'm still interested in how you would light all LED's on with the sensor based on wind strength.
more wind = dim to bright and less wind dim to dark . . .

Can you give ...
by emersonb
Tue May 18, 2010 10:53 pm
Forum: Hardware
Topic: Wind Sensor, LED's and Arduino
Replies: 10
Views: 32574

Re: Wind Sensor, LED's and Arduino

This Wind Sensor experiment is similar to the last one. The windsocks movement shows actual wind and the corresponding LED result.
Only one LED lights up at a time. More wind strength lights up the next LED in line.

Here is a link to what it looks like in action:
http://mydata.salve.edu/emersonb ...
by emersonb
Tue May 18, 2010 10:42 pm
Forum: Hardware
Topic: Wind Sensor, LED's and Arduino
Replies: 10
Views: 32574

Re: Wind Sensor, LED's and Arduino

Here are my final results with the Wind Sensor. The windsock is made from christmas tree tinsel.
It is positioned behind the fork of the Wind Sensor. The windsocks movement shows actual wind and the corresponding LED result.
LED's light up more based on wind strength.

Here is a link to what it ...
by emersonb
Tue May 18, 2010 4:26 pm
Forum: Hardware
Topic: Wind Sensor, LED's and Arduino
Replies: 10
Views: 32574

Re: Wind Sensor, LED's, Servo and Arduino

Any Ideas for running a servo with LED's and wind sensor?
In my code I think the delay of the servo slows down the reaction time of the LED's.
Any other ways to do this?
// Wind sensor and Servo Sweep

byte ledPin[] = {4, 5, 6, 7, 8, 9, 10, 11, 12, 13}; //pins used for LED's
#include <Servo.h ...
by emersonb
Tue May 18, 2010 2:11 pm
Forum: Hardware
Topic: Wind Sensor, LED's and Arduino
Replies: 10
Views: 32574

Re: Wind Sensor, LED's and Arduino

Paul-
It did not work before due to the placement of the capacitor.
Where does the optional capacitor go in between?
emersonb-
by emersonb
Tue May 18, 2010 4:53 am
Forum: Hardware
Topic: Wind Sensor, LED's and Arduino
Replies: 10
Views: 32574

Re: Wind Sensor, LED's and Arduino

Paul
I replaced the wires and now I am getting good readings.

How would you write the "analogWrite() to dim the LED's"?
This method would turn all LED's an and off slowly based on wind speed?

I tried this with not much luck, some lights start on dim and others do not light at all.

// Controlling ...
by emersonb
Mon May 17, 2010 9:24 pm
Forum: Hardware
Topic: Wind Sensor, LED's and Arduino
Replies: 10
Views: 32574

Re: Wind Sensor, LED's and Arduino

Paul -
I can't seem to get to 50 (AD units) no matter the direction of the potentiometer.
Do I need to modify the Arduino (Examples/Stubs/AnalogReadSerial) sketch to get the right data?

This is the code I'm using to test for data:
void setup() {
Serial.begin(9600);
}

void loop() {
int ...
by emersonb
Mon May 17, 2010 2:33 pm
Forum: Hardware
Topic: Wind Sensor, LED's and Arduino
Replies: 10
Views: 32574

Wind Sensor, LED's and Arduino

I would like to blow on the wind sensor and have it light up LED's.
I have a row of 10 LED's.
A slowly building wind would light them in sequence from left to right until all 10 would be lit.

Here is an image of my setup with Wind Sensor, LED's and Arduino:
[img=400x400]http://mydata.salve.edu ...