I have the ardunio uno. In the wifi library, I cannot find a sketch/code for connecting to a wifi network that requires both a username and password. Can someone please help me with this situation and give me the sketch/code that includes this?
The WiFi protocol doesn't use usernames. Do you mean an open WiFi access point that forces a webpage where you have to enter username and password? If so, that would be done like any other web form.
I need to make the wifi shield (attached to the arduino uno) communicate with my PC. I want to write messages to the arduino and have the arduino respond back. Can you please explain how to do this and tell me step by step how to do this? Do you have any example pieces of code?
Basically, I need my PC to communicate with my arduino wifi shield (connected to the Arduino Uno). I want to able to send simple messages back and forth between the arduino uno board and the PC through wifi, such as "Hello". I could not find any code in the libraries relevant to do this task.
shan786:
Basically, I need my PC to communicate with my arduino wifi shield (connected to the Arduino Uno). I want to able to send simple messages back and forth between the arduino uno board and the PC through wifi, such as "Hello". I could not find any code in the libraries relevant to do this task.
I'd start with File->Examples->WiFi->WiFiChatServer
Just take out the line " server.write(thisChar);" and it will just echo to Serial each character it receives. If you want to do something with the characters other than echo them to Serial, put that in place of the line " Serial.write(thisChar);".