Show Posts
Pages: 1 2 3 [4] 5 6 ... 20
46  Using Arduino / Programming Questions / Re: if and else statements not working with boolean on: June 09, 2014, 06:14:07 pm
You can't use for loops. It executes one at a time.
 Try incrementing and decrementing without for loops. Put everything inside the void loop() function.

47  Using Arduino / Programming Questions / Re: Arduino UNO and arduino mega boards keep resetting on: June 09, 2014, 07:23:02 am
If the boards are resetting from the code, it's usually a memory issue.
Start debugging by taking away libraries. Not sure why you need the sleep library but I don't think that's the issue.
48  Using Arduino / Programming Questions / Re: My LED doesnt turn off on: June 08, 2014, 02:40:31 pm
There is no code to turn off the led, only to turn on. I'd look at that.
49  Using Arduino / Programming Questions / Re: Program to read code from controller on: June 06, 2014, 08:05:51 pm
The code had been compiled to 1's and 0's. Good luck reading that.
50  Using Arduino / Sensors / Re: Visual size sensor? on: June 05, 2014, 12:54:27 pm
The herons here in the States are actually pretty



we have Egrets too

51  Using Arduino / Programming Questions / Re: How to make a login form using HTML that connects to the next page on: June 05, 2014, 08:30:22 am
Interesting post!

Thanks.

I want to clarify what wasn't in the video. The cookie's life span you create is a temporary one, as long as the window is open. You can specify an expiration date. Also the Browser automatically sends the cookie info back to the sever every time you make a call (as long it's the same domain of course).

Oh, and this is a one user session only. If you want multiple users, you'd have to create a session array on your server and cycle through it to see who is who.
52  Using Arduino / Sensors / Re: Visual size sensor? on: June 04, 2014, 07:30:28 pm
The trick now is to weather proof this. Do you know if ultrasounds can pass through plastic without giving false readings?
53  Using Arduino / Sensors / Re: Visual size sensor? on: June 04, 2014, 06:12:02 pm
Ah thanks. That sonar solution definitely should work.
54  Using Arduino / Programming Questions / Re: How to make a login form using HTML that connects to the next page on: June 04, 2014, 05:39:29 pm
I was working on my own login and found a solution.
The arduino can write a cookie to the browser to create a session id.

On logged in, write in the header
Code:
       arduinoSession = millis();
        client.println("HTTP/1.1 200 OK");
        client.println("Content-Type: text/html");
        client.print("Set-cookie: ARDUINOSESSIONID=");
        client.print(arduinoSession);
        client.println("; HttpOnly");
        client.println("Connection: keep-alive");
        client.println();

I'm using millis() to create a cheap unique id.
A little video explaining it
55  Using Arduino / Sensors / Re: Visual size sensor? on: June 04, 2014, 05:15:19 pm
I would not bet on visual sensor. Personally, i would use sound sensor and I would use sound pattern recognition.

This assumes every animal that comes by to make an announcement by making a call. They don't.

Thanks for the creative suggestions though!

56  Using Arduino / Sensors / Re: Visual size sensor? on: June 04, 2014, 05:14:00 pm
hmm, I can only see sonar/ultrasonic sensors that outputs distance. It doesn't distinguish object size.

57  Using Arduino / Programming Questions / Re: how to parse a string? on: June 04, 2014, 07:58:20 am
maybe because these aren't strings

{ vteste, vteste2, vteste3, vteste4 };

convert them to strings first.
use 'iota' for ints

I'm not sure about float to string function.
58  Using Arduino / Programming Questions / Re: Need help with Attiny85 on: June 03, 2014, 06:17:29 pm
agreed, just build yourself an uno.
59  Using Arduino / Sensors / Re: Visual size sensor? on: June 03, 2014, 10:47:28 am
Maybe this IR array sensor?
The larger the IR signature, the bigger the animal.

http://pewa.panasonic.com/components/built-in-sensors/infrared-array-sensors/grid-eye/

60  Using Arduino / Sensors / Re: Visual size sensor? on: June 02, 2014, 10:13:16 pm
What do you mean by scarecrow? There are motion detector+impulse sprinkler combinations called scarecrows and they work well to discourage large birds. They may not even be sensitive to small birds.  http://www.amazon.com/Contech-CRO101-Scarecrow-Activated-Sprinkler/dp/B000071NUS

Yes I know about this product. It has a simple motion sensor. It doesn't care about size.
Pages: 1 2 3 [4] 5 6 ... 20