Show Posts
Pages: 1 ... 179 180 [181] 182 183 ... 414
2701  Community / Bar Sport / Re: Keep weapons off Arduino forum and website on: June 02, 2013, 07:01:29 am
Just to make my position clear, I am not as much of a pacifist as it appears from that one statement. It is  bad enough that these weapons are in the hands of the military establishments worldwide, but to have them in the hands of drug cartels or terrorist organisations, that is something completely different.

I am not against the personal possession of guns like revolvers and shotguns, just certain types. Here are some weapons I do not think civilians should be able to own:
automatic AK-47
40mm grenade launcher
105mm howitzer
RPG
cruise missile
TOW missile
2702  Community / Bar Sport / Re: Keep weapons off Arduino forum and website on: June 01, 2013, 03:32:46 pm
I did not mean to make it sound funny. It is a potential reality. I was only comparing the severity of the damage. That is one of the reasons I do not help with GPS and navigational problems.

edit: If you found it disturbing and maybe a bit scary, then that is the effect I was going for.
2703  Community / Bar Sport / Re: Keep weapons off Arduino forum and website on: June 01, 2013, 01:41:05 pm
Quote
I have noticed a few topics which involve technical discussions related to weapons - guns and shooting.
Guns and shooting? What? A range of a mile or so. Jeez!! I thought you were talking about real weapons. You know what I mean, the ones that reach you from several states away and take out several people at once. The victim looks up and has time to say "OH, SH.." just before BOOM!!
2704  Using Arduino / Project Guidance / Re: Manage SD files remotely from PC. on: June 01, 2013, 01:19:04 pm
Quote
I have no idea what is the difference between ftp.exe and PuTTy.
The fact is that work differently,
and client PuTTY is detected by function server.available()
That is what I was saying. HTTP and FTP are different responses from the server. You can't put a HTTP server on a FTP port, then use a FTP program. You must use a RAW TCP type connection.
2705  Using Arduino / Project Guidance / Re: Manage SD files remotely from PC. on: June 01, 2013, 06:33:56 am
Quote
I think that is part of bootloader,
I also think that: bootloader controls the ping responses.
No. I tested this with my equipment and code. Mega 2560 with an ethernet shield. It worked great with PuTTY. Failed miserably with IE and Chrome.

Don't mix protocols. The server response for a FTP connection is different than a HTTP connection.

Do you have PuTTY installed on your computer?
2706  Using Arduino / Project Guidance / Re: Manage SD files remotely from PC. on: June 01, 2013, 05:02:49 am
What software are you using to test the connection? Don't use a web browser. IE and Chrome will not open a connection to port 21. I use PuTTY.
I use port 21 and RAW. Set "close window on exit" to never so you can see the response.
2707  Using Arduino / Project Guidance / Re: Manage SD files remotely from PC. on: June 01, 2013, 04:17:23 am
FTP requires two connections. One command and one data. I don't have a FTP server yet, but I do have a FTP client example in the playground.
http://playground.arduino.cc/Code/FTP

edit: Don't use this. It causes an upload fail on many versions of the Mega2560 bootloader.
Code:
    Serial.println("1 client !!!");
Remove one of the exclamation marks like this:
Code:
    Serial.println("1 client !!");
2708  Using Arduino / Installation & Troubleshooting / Re: Basic newbie help! on: June 01, 2013, 03:52:30 am
Click on the error messages and press CTRL A. That should highlight all the messages. Press CTRL C to copy to the clipboard. Then CTRL V to paste.
2709  Using Arduino / Networking, Protocols, and Devices / Re: Arduino WiFi shield + Python on: May 31, 2013, 05:48:37 am
That is not UDP. That is TCP. The docs state that server.write() sends that character or string to every TCP client connected to the w5100. It is not a network broadcast. It sends only to connected TCP clients.
Quote
...but even if it stops, I still want the value transmitted.
You mean a UDP broadcast? If that is what you want, this is not the way to do it.
2710  Using Arduino / Networking, Protocols, and Devices / Re: Arduino WiFi shield + Python on: May 31, 2013, 04:51:12 am
What device are you sending this to?
Code:
  server.write(tempOut);
You are sending this whether there is a client connected or not?
2711  Using Arduino / Programming Questions / Re: Debug: Getting error while converting data from char to int after on: May 31, 2013, 03:25:42 am
The answer is:
Code:
char fcall[16][4]; // used to extract number from sting as characters
2712  Using Arduino / Installation & Troubleshooting / Re: Question about ICSP and SPI on: May 30, 2013, 08:28:04 pm
They do not need to be connected on the Wifi shield, only on the Arduino. The wifi shield and the ethernet shield use the ICSP pins for SPI data lines. The ethernet shield does not use D11-D13 either. Nothing connected to those pins.
2713  Using Arduino / Networking, Protocols, and Devices / Re: Non-Blocking Ethernet Library on: May 30, 2013, 06:33:16 pm
Quote
I am facing the same issue with this library.
Why are you using that library? The ethernet library included with the IDE works good. What do you think you are getting with that library that is better than the standard library?
Quote
Because i simply want to get some LEDs blinking during a server call which isn't possible with the standard Ethernet library due to the blocking behavior of all its methods.
That is not true. The OP admits that is the first response.
Quote
Yep sorry you're right, actually client.print and write aren't blocking.
I was more thinking about connect() and begin() methods.
The connect() and begin() functions aren't blocking either. The DHCP begin() call is "blocking" if you have a SD card in the slot and don't disable or initialize it. Then the Ethernet.begin(mac) call will never return.
2714  Using Arduino / Programming Questions / Re: Debug: Getting error while converting data from char to int after on: May 30, 2013, 06:51:44 am
I see AWOL took care of those code tags. Thanks, AWOL!  smiley

This could cause a bit of trouble if it is doing what I think it is.
Code:
char fcall[16][3]; // used to extract number from sting as characters
If you are storing more than two characters, it will cause problems. Note all problems occur when the number is longer than two digits. It requires an additional  character for the terminating zero.
2715  Using Arduino / Installation & Troubleshooting / Re: Question about ICSP and SPI on: May 30, 2013, 04:31:08 am
If your last post is a question, then the SPI data lines are duplicated on the ICSP pins. On the Uno, the ICSP pins are connected to D11-D13, and on the Mega, the ICSP pins are connected to D50-D52.

The hardware connection could be made from either set of pins. Most newer shields use the ICSP pins to maintain SPI compatibility with the Mega and the Leonardo.
Pages: 1 ... 179 180 [181] 182 183 ... 414