Show Posts
Pages: [1] 2 3 ... 16
1  Using Arduino / Programming Questions / Re: Please help very very lost.. on: September 12, 2011, 12:19:15 am
For starters you're missing the brackets around your while loop code...

Code:
while(sionValue < sionMax)
{
  //loop to blink eyes
 digitalWrite(8, HIGH);
  digitalWrite(7, HIGH);
  delay(50);
  digitalWrite(8,LOW);
  digitalWrite(7,LOW);
  delay(5200);
  digitalWrite(8, HIGH);
  digitalWrite(7, HIGH);
  delay(100);
  digitalWrite(8,LOW);
  digitalWrite(7,LOW);
  delay(3200);
  // end to blink eyes
}


G.
2  Community / Exhibition / Gallery / Re: Satellite Notification System on: September 09, 2011, 07:35:23 am
Damn! I'd never heard of Predict before! Must get out from under this rock more often!

Gonna have to check it out and see if it'll run on a Mac!

Cheers for the tip!

My kids haven't bored of my little setup yet - they still lose their minds when the LED arcs up... :-)
3  Development / Other Hardware Development / Re: Single Chip Arduino (i.e. smallest Arduino yet) on: August 22, 2011, 10:21:36 pm
Ardweeny is cool, have used it in a couple of projects.


Cheers,
4  Community / Exhibition / Gallery / Re: Home-brew PCB on: August 21, 2011, 02:25:48 am
Give Fritzing a go. It's now pretty usable (ie not as buggy as 9 months ago), and far easier (IMHO) than Eagle, which I've used before.

5  Community / Exhibition / Gallery / Re: Home-brew PCB on: August 20, 2011, 11:42:12 pm
Thanks.

Yeah, I figured no point doing something complex if the etching wasn't going to work - and I wasn't certain it would.


G.
6  Community / Exhibition / Gallery / Home-brew PCB on: August 20, 2011, 05:44:02 am
I decided it was time to have a go at making my own PCB's. As a test I built a very basic board just to test the process.



I posted all the details on my site: www.pocketscience.com.au - Etching Custom PCB's

It was way easier than I'd feared!


Cheers,


7  Using Arduino / Programming Questions / Re: netbeans and serial port communication on: August 17, 2011, 11:44:44 pm
Well, the Arduino boards have a serial connection - doesn't sound like a difficult problem - although I've never used netbeans but I'm sure it can communicate through a serial port...

Did I miss something...?
8  Using Arduino / Programming Questions / Re: Error: statement cannot resolve address of overloaded function on: August 17, 2011, 11:40:57 pm
   Wire.endTransmission();
9  Using Arduino / Networking, Protocols, and Devices / Re: Password protect for arduino webserver? on: August 17, 2011, 05:48:39 pm
"Bad Guys" typically exploit known bugs in particular server software (eg ISS) to get in. Because you're building a custom server it's going to be harder off the bat for them to exploit known bugs because they'll be working blind. You'd need to make sure your code handles buffer overruns (ie really parameters etc) as they are a nice avenue to exploit.

Also a lot of the "Bad Guys" are just script-kiddies following how-to's - and if the results deviate from what they expect they'll move on to an easier target.


Cheers,
10  Using Arduino / Programming Questions / Re: Only Execute Once on: August 17, 2011, 06:22:42 am
Anything's possible, so you could re-write that to use millis() instead of delay(), but why would you want to?? You'd have to spin in a tight loop waiting for millis() to go beyond a previously recorded value from millis(), which is basically what delay() does...

G.
11  Using Arduino / Networking, Protocols, and Devices / Re: Password protect for arduino webserver? on: August 16, 2011, 12:15:57 am
You could do something cheap like using the password text as the page to redirect to... eg collect the password, append ".html" to it and try to redirect to it... eg user enters "fred", which is correct so you have a fred.html and your authentication page redirects to fred.html - otherwise the user will redirect to an unknown page and get a 404... depending on your requirements this might be enough... YMMV..

That's prolly only 1c worth.. ;-)


Cheers,
12  Using Arduino / Programming Questions / Re: Only Execute Once on: August 16, 2011, 12:04:25 am
I showed you how to execute something once in the main loop earlier. Refer to that... and then actually have a go at writing some code. If you have specific problems then I'm sure we can assist, but we're not going to write your code for you - well I'm not anyway...

What you are asking is trivial in the extreme - you need to a) keep track of how many times you've flashed the LED, and b) keep track of the 1 second spacing...


G.
13  Using Arduino / Programming Questions / Re: a problem with receving a 3 digit serial number. on: August 14, 2011, 07:30:11 am
Your for loop is screwed up... lookup how for loops work... the middle piece defines the exit condition - in your case it will exit right away... ie times doesn't equal 3, so the loop bails.


G.
14  Community / Products and Services / Cheap SpeakJet chips on: August 10, 2011, 11:04:01 pm
Not sure where else to put this, but I just found that NKC is selling SpeakJet chips for 50% off. I have no affiliation with either NKC or SpeakJet except I've used these chips in the past and they are pretty neat.

http://www.nkcelectronics.com/SpeakJet_p_247.html


Cheers,
15  Using Arduino / Programming Questions / Re: Only Execute Once on: August 10, 2011, 06:54:28 pm
Easy then - do that in setup()

G.
Pages: [1] 2 3 ... 16