Loading...
  Show Posts
Pages: [1] 2 3 ... 407
1  Using Arduino / Networking, Protocols, and Devices / Re: Is iOS causing WiFi server to crash? Some speculations with numbers. on: Today at 12:03:29 am
You did 5 posts alone, did you feel lonely?
I wish I have straight answer but I do not have Arduino wifi shield, for $90.00 I manage to get Pi with wifi, wimax, 4G LTE, bluetooth Arduino shield together. However I would like to recommend some method might help;-

1. Package sniffer, Wireshark  802.11 Packet Capture. use it Capture Packet  form PC browser and Ipad browser to see the difference.
2. HTTP proxy server, use proxy server to proxy request and log it.
iPad HTTP Debugging with Charles
Well, what about you? I tend to post my progress and conclusion.

You certainly can get all your pi stuff for under $90 but you probably don't have a large working project built around arduino already and needs to grow wireless capabilities. I need to use arduino. If I start a new projct I might give pi a slight consideration. The pi sounds to me like it focuses on running OS and software on a small card, with a few io pins. Its complexity seems overkill to what I do. I don't have time to learn linux system for projects that mostly deals with data collection and calculations.

I will give the wireshark a try. At least to find out the difference between ios and other systems and how that might screw up the arduino wifi shield.

2  Using Arduino / Networking, Protocols, and Devices / Re: Problem installing wifi shield - new to Arduino on: May 18, 2013, 11:04:10 am
Im using the Arduino software that I downloaded from the site. OK I didn't know about this possibility, I thought I had to buy a little LCD screen.

I tried the sketch and got the message that the WiFi Shield wasn't there. That's when I discovered it was the sketch for the official shield and not Linksprite. There's nothing like this in the Linksprite examples.

I sell serial LCDs smiley-wink That is separate issue. You will need to make sure you can print available network with the shield first, otherwise you don't know what works what isn't.
3  Using Arduino / Networking, Protocols, and Devices / Re: WiFi shield (official) sending, but slowly on: May 17, 2013, 06:39:06 pm
Thomas,

I was posting on your thread a question about the maximal length of package you were able to send. For me it was 90 bytes via client.print. Since you have 256 byte buffer, I wonder if there is any occasion where you do need to send that many bytes in one shot and how did it go? For me it never goes. So member pylon looked at the firmware code and found there is a 100 byte buffer in the firmware so nothing beyond 90 will be accepted by the wifi MCU's firmware.
4  Using Arduino / Networking, Protocols, and Devices / Re: Problem installing wifi shield - new to Arduino on: May 17, 2013, 06:36:15 pm
I am out of ideas for the moment. My official wifi shield connected to my router fairly easily. Wait, there is a sample program that prints out all the available wireless networks with the official wifi shield. Is there a similar one with your shield? See if you can make the shield report available wireless network.
5  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet not working once I open the serial monitor on: May 17, 2013, 06:30:13 pm
When you open the serial window, it triggest arduino to reset. That's all I know. I don't have ethernet shield. What if you try this terminal program instead?

You can compile, upload and open serial port with this program, which will not trigger arduino reset.
6  Using Arduino / Networking, Protocols, and Devices / Re: WiFi shield does not send out data immediately and blocks write() for 150 ms on: May 17, 2013, 06:27:16 pm
Hello,

it is 4 weeks ago that I have posted about a serious missbehaviour of the WiFi library, but I still got no response. Aren't there any arduino-people feeling a bit responsible for supporting the HW they sell?

I sent a detailed problem description, a reference to a similar bug report, and complete SW for both communication parties, so it should easily be reproducible. What else can I do (besides trying to fix it by myself)?

BTW: I use arduino-1.0.4 on linux, the official arduino WiFi shield and a Mega2560.

Thanks a lot,
Thomas


I have other issues with the same hardware:arduino wifi shield (mine is R3), and MEGA 2560. I'm using windows. Mine is the longest string I can client.print is 90 bytes. I wonder if you have experienced this. What is the longest string you collect and send?
7  Using Arduino / Networking, Protocols, and Devices / Re: Which interface is used for transfering the data internal on Arduino Ethernet? on: May 17, 2013, 02:58:09 pm
Your hint on line one of your code:

Code:
#include <SPI.h>

 smiley-wink
8  Using Arduino / Networking, Protocols, and Devices / Re: Problem installing wifi shield - new to Arduino on: May 17, 2013, 02:56:55 pm
What about MAC address access control settings?

On my router there is "Wireless Card Access List", which is empty and a check box "Turn Access Control On", which is unchecked. So I don't control which MAC address has access to my network. Is your router set up with access control? If yes, it will block anything that is not on its list.
9  Using Arduino / Networking, Protocols, and Devices / Re: Problem installing wifi shield - new to Arduino on: May 17, 2013, 02:28:38 pm
Frit,

I was asking whether the wifi portion of the router can handle 16 clients at the same time. I thought that number is somewhat less than 250-ish. If possible, can you disconnect a few devices from this router to see if arduino connects to it?
10  Using Arduino / Networking, Protocols, and Devices / Re: Thumbs way down for Arduino WiFi shield. Read before you buy on: May 17, 2013, 12:20:28 pm
Thanks Matt,

I have thought about making an MCU web server might be a difficult project but with my background using MCU and C++ I took on it and think I did it with acceptable results. The server will serve only .htm, .js, and .csv files. It translates .js files according to a rule I implemented so that the static web page gets dynamic contents through running the .js file smiley I implemented all possible buffer overrun guards (so the server is easy to anger and spits out 404). Soon after I switched to the original R3 (no firmware upgrade) and kind of original library (I have no idea of the version, dated january 2013), the server has been running well for 3 straight days, serving static htm pages with .js files for dynamic content. I can even access it from external network using the router's external IP address. All is well (but the same can't be said with the "latest" firmware + library). I think by adding UDP service in the latest thing they created some issues in the firmware or library. Please take a look at this post, where I "solved" the problem of latest stuff won't work with iOS by reverting to original R3 and lib:

http://forum.arduino.cc/index.php?topic=166592.msg1241413#msg1241413

BTW, I am using MEGA 2560 (8K SRAM) and could slap on a QuadRAM for up to 512KB SRAM. I didn't. I have about 4.7K free ram at the moment, which can further increase after I auto-gen some code with strcmp_P to compare strings with ones in PROGMEM instead of SRAM smiley

For you to see if the 90-byte limit exists, just do a long string like:
Code:
          client.println("HTTP/1.1 200 OK"\r\nContent-Type: text/html"\r\nConnnection: close\r\n\r\n<html>Just a test to see if wifi shield can send a message longer than 90 bytes.</html>");

The above message is about 160 bytes long. You would expect this will not work. According to member pylon, who looked at the firmware, there is a 100 byte buffer on the wifi MCU and it refuses to send if the message becomes longer than 90 (plus overhead will exceed 100).

BTW, the reason I use HTTP is the existing browsers in every mobile device. I don't have to write a GUI, just need to draft a web page. I think it eventually pays off, if I can make the server into a nice finite state machine.
11  Using Arduino / Networking, Protocols, and Devices / Re: Problem installing wifi shield - new to Arduino on: May 17, 2013, 11:29:12 am
Just a thought, will the router have enough capability to support all the devices. I know mine can do (probably) 16 devices simultaneously connected to the router. Make sure you can see the shield according to Matt first though.
12  Using Arduino / Storage / Re: First read OK, after that reads distorted on: May 17, 2013, 11:26:38 am
mekuni,

Thanks for sharing! I wish Arduino team will read this post and make some changes to their code smiley I'm sure this will help the OP +karma for you
13  Using Arduino / Programming Questions / Re: Difficulty understanding Arduino programming language on: May 17, 2013, 12:22:17 am
I know of several types of sonic rangers and they don't communicate the same way. If you have one, post where you bought it. We can tell you what code works.
14  Using Arduino / Programming Questions / Re: How to save 9600 port to text file on: May 17, 2013, 12:19:36 am
Download some free serial client program, lots of them can log data.
15  Using Arduino / Programming Questions / Re: Very strange OBDuino power issue. on: May 17, 2013, 12:18:45 am
Your wiring will damage your board duino for sure. Unless there is sufficient current limiting resistor not drawn, the pin 9 directly connected to anode of back light will die. I also don't like controlling contrast with PWM pin. Tried myself and got flickering results. What is your excuse of not using a simple potentiometer instead?
Pages: [1] 2 3 ... 407