Show Posts
Pages: 1 ... 88 89 [90] 91 92 ... 262
1336  Using Arduino / Programming Questions / Re: Arduino relay control over ethernet! on: December 31, 2013, 10:26:20 pm
No idea- maybe the shield's faulty?

I just tried that test code on mine, and the time between the "starting" message and it telling me the ip addy is the blink of an eye.
1337  Using Arduino / Sensors / Re: Fuel level sender(old VW) on: December 31, 2013, 10:16:44 pm
Quote
I thought that the gas gauge was introduce in 63 or maybe 64.

No my '62 had one, but it wasn't electrical, it was a Bowden cable.
1338  Using Arduino / LEDs and Multiplexing / Re: Help - Adding LED "ON" "OFF" and "Blink" to Servo Sweep Program on: December 31, 2013, 10:11:02 pm
Quote
You didn't change the pinModes in your void loop () into digitalWrites.

Yeah you need to fix those errors I forced on you... The pinModes in setup() are correct; the ones in loop() need to be digitalWrites.
1339  Community / Bar Sport / Re: New Year's Eve 3x years ago on: December 31, 2013, 10:07:31 pm
Well we went out two nights later, got married in Jan of 82, so 32 years this month...
1340  Using Arduino / Programming Questions / Re: Arduino relay control over ethernet! on: December 31, 2013, 10:04:10 pm
All the serial moniter says is starting W1500...

So what does this mean?

That's very strange, since that code should either give you a "failed" or the DHCP IP address on the line after "starting..."

So it's not completing the Ethernet.begin one way or the other (success or fail) I'd say, which which might account for the browser complaining about the time taken.

1341  Using Arduino / Installation & Troubleshooting / Re: Problem With Arduino Starter Kit on: December 31, 2013, 11:41:17 am
That can't be the full code... or if it is, that's why it's not compiling. As an absolute minimum you need a setup and a loop. the code below will compile but do nothing, and is the so-called "bare minimum" from the ide examples.

Code: ( Bare Minimum)
void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:
 
}
1342  Topics / Robotics / Re: Analog input problem on: December 31, 2013, 11:34:11 am
As I write this, my Arduino web server is publishing the values of analog pins 2-5. Only pin 5 is actually measuring anything, and is varying according to a sensor. Pins 2, 3 and 4 are floating: as you'll see if you click the link, not only do they change, they're quite different to each other.
1343  Using Arduino / Installation & Troubleshooting / Re: Problem With Arduino Starter Kit on: December 31, 2013, 11:18:39 am
What are those round brackets ( )?

Post the whole sketch as you have typed it in, then someone can try to compile it and see what the error is.
1344  Using Arduino / Sensors / Re: Fuel level sender(old VW) on: December 31, 2013, 10:26:41 am
Quote
that VW did not have a gas gauge

What VW didn't have a gauge? The OP doesn't mention a year. My'62 already had a gauge, not the reserve valve thing.

The sender in his pic is from '68 on- by then they were 12v.

Interestingly, the OP doesn't actually mention that the project s/he's talking about, is actually to be used in a car at all.
1345  Using Arduino / Sensors / Re: Sunfounder Lab Starter Kit... Home of the undocumented sensor! on: December 31, 2013, 06:56:51 am
 smiley-grin
1346  Using Arduino / Sensors / Re: Sunfounder Lab Starter Kit... Home of the undocumented sensor! on: December 31, 2013, 06:06:33 am
Quote
(Off my soapbox now)

Please use the right tags  smiley-cool

[soapbox]....[/soapbox]
1347  Using Arduino / Networking, Protocols, and Devices / Re: Realworld uses of Arduino as web server on: December 31, 2013, 04:37:10 am
Thanks Enrico.

Maybe nobody uses it for real, just (like me, so far) to fiddle around......
1348  Using Arduino / Motors, Mechanics, and Power / Re: Can a DC motor hold up a weight? on: December 31, 2013, 04:26:57 am
How about a door which opens sideways ?

That sounds far too easy....  smiley-cool

Maybe chickens don't recognise a door as an opening unless they see it go up?
1349  Using Arduino / Programming Questions / Re: Arduino relay control over ethernet! on: December 31, 2013, 04:21:31 am
Where and how would i add that in, do i need to have an sd card in the ethernet shield?

It's already in zk's code, just showing you that the numbers might need changing.

No, you don't need an SD card necessarily, but if you don't use one you should add this in setup() to disable it:

Code:
// to be safe, disabling SD explicitly
    pinMode(4, OUTPUT);
    digitalWrite(4, HIGH);
1350  Using Arduino / Programming Questions / Re: Arduino relay control over ethernet! on: December 31, 2013, 03:31:32 am
I can vouch for zk's code... it's running here as we speak, with a few mods to read my rtc and lm35. (Edit.... except I've just zapped it and replaced with Part 16 of the Tut to which I link below.)

If you're accessing it from the lan side it should be simple. Bit more complicated to come in from the outside, since your router will need to forward the right port. Mine wouldn't work on :80, had to go with :8085.

Edit... added this snippet

Code: (Snippet showing lan settings)
byte mac[] = {
  0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; //physical mac address
byte ip[] = {
  10, 0, 0, 200}; // ip in lan
byte gateway[] = {
  10, 0, 0, 2 }; // internet access via router
byte subnet[] = {
  255, 255, 255, 0 }; //subnet mask
EthernetServer server(8085); //server port

More edit.... You might find this tutorial useful.
Pages: 1 ... 88 89 [90] 91 92 ... 262