I have an Arduino WIFI-shield. Can i use it in Ad-hoc or WIfi-direct/P2P mode? I want to be able to connect to a PC without going through a Wireless-router.
If not;
I need an WIFI-shield/device with UART or SPI with an embedded Web-server that can be connected via Ad-hoc or WiFI-direct/p2p to a PC.
From the PC, i need to access the WIFI-server via a browser. The browser gets some measurement-values.
I also need to send some info from the browser to the Arduino MEGA via the WIFI (for example via sending HTML-forms ie; hyperlinks, text-input etc)
If the Arduini Wifi-shield cannot be used, Can you suggest another WIFI-product that’ll work for me?
WiFi without a router…
IEEE 802.11’s ad-hoc mode.
Setup SSID, encryption as usual.
Give every node a static IP in the same subnet.
Change WiFi device mode to “ad-hoc”, rather than “infrastructure”. If this choice is missing - complain to vendor that they don’t meet IEEE 802.11 nor WiFi.
A laptop in ad-hoc mode with a static IP on the WiFi interface can connect and view web pages on any ad-hoc mode device that has a web server. Likewise, if a WiFi device has a telnet server or other, same.
Step one is to configure both, the do a ping from the laptop to the embedded device to see that all is setup properly.
There is no Association in ad-hoc mode. No gateway.
You can do two laptops in ad-hoc mode as a tutorial.
Thanks alot stevech…
You answered How to do it, a good answer. I do know how to set it up and what adhoc is, so my question was if you could suggest a wifi-shield that supports adhoc and is compatible wih arduino.
The Arduino Wifi-shield dosn’t support static addresses, so aehoc is out question.
Any alternatives?
Doesn’t support static IP address?
bad product. or misunderstanding.
Maybe one of these modules …
http://www.wiznet.co.kr/Sub_Modules/kr/ … 5&cate2=43
I haven’t read the specs, but have used their 812MJ ethernet modules.
Hi,
it’s true… no static IP-address on the Arduino WIFI-shield… yet.
The Wiznet products seems to be perfect, i’ll try the Wifi-shield from Dfrobot. According to the spec, it should do all the things i need.