Arduino Uno Wifi

There is no way i get this running again .
In the past it fired up the router in my network scan but dissepeared after about 10 minutes.
I have restted it by an new , empty sketch. after that several setches uploaded.
The last time i tried this one , because it was the only ever running.
Pls advice ?

/*
File: WebServerBlink.ino
This example creates a simple web server on your Arduino Uno WiFi. It serves a
simple web page with 2 buttons that can be used to switch on and off on-board led 13.
Please type on your browser http:///arduino/webserver/ or http://.local/arduino/webserver/

Note: works only with Arduino Uno WiFi Developer Edition.

http://www.arduino.org/learning/tutorials/boards-tutorials/webserverblink
*/

#include <Wire.h>
#include <UnoWiFiDevEd.h>

void setup() {
pinMode(13,OUTPUT);
Wifi.begin();
Wifi.println(“Web Server is up”);

}
void loop() {

while(Wifi.available()){
process(Wifi);
}
delay(500);
}

void process(WifiData client) {
// read the command
String command = client.readStringUntil(’/’);

// is “digital” command?
if (command == “webserver”) {
WebServer(client);
}

if (command == “digital”) {
digitalCommand(client);
}
}

void WebServer(WifiData client) {

client.println(“HTTP/1.1 200 OK”);
client.println(“Content-Type: text/html”);
client.println();
client.println("");

client.println(" “);
client.print(”");

client.print("Click<input type=button onClick="var w=window.open(’/arduino/digital/13/1’,’_parent’);w.close();"value=‘ON’>pin13 ON
");
client.print("Click<input type=button onClick="var w=window.open(’/arduino/digital/13/0’,’_parent’);w.close();"value=‘OFF’>pin13 OFF
");

client.print("");
client.println("");
client.print(DELIMITER); // very important to end the communication !!!

}

void digitalCommand(WifiData client) {
int pin, value = 0;

// Read pin number
pin = client.parseInt();

// If the next character is a ‘/’ it means we have an URL
// with a value like: “/digital/13/1”
if (client.read() == ‘/’) {
value = client.parseInt();
digitalWrite(pin, value);
}

// Send feedback to client
client.println(“Status: 200 OK\n”);
client.print(F(“Pin D”));
client.print(pin);
client.print(F(" set to "));
client.print(value);
client.print(EOL); //char terminator
}

HarvdL: There is no way i get this running again .

For those who came in late on your conversation with yourself, exactly what are you talking about?

.

What is the question?

For Uno WiFi now you have an alternative to UnoWiFiDevEd library a UnoWiFiDevEdSerial1 library, which makes the on-board esp8266 accessible to any arduino+esp8266 solution.

Lading upper pasted sketch, the arduino should appear in the network scan to establish a connection to my browser and get the on and off buttons. Typing the ip in address in does not connect. I had a different sketch running but only the serial monitor works, not the wifi part.

I looked at more arduino troubleshooting and see that the arduino wifi as being retired. I am retired but the arduino wifi is new !

ieee488: For those who came in late on your conversation with yourself, exactly what are you talking about?

.

The sketch below.

did you start with the tutorial? https://www.arduino.cc/en/Guide/ArduinoUnoWiFi

ieee488: did you start with the tutorial? https://www.arduino.cc/en/Guide/ArduinoUnoWiFi

Yes, i did and i did it again.uld not discover anyhing new.

I am special and only interrested in the wifi function of the UNO Wifi to handle pins / switches.

So to use the webserver sketch and get it controlled on my tablet.

I tried for half a year to get it some "domotics ' from TATCO running on my UNO with Ethernet shield but also the connecion part was hampering after a few times and switched to the UNO WIFI.

thanks for your attention

HarvdL: Yes, i did and i did it again.uld not discover anyhing new.

I am special and only interrested in the wifi function of the UNO Wifi to handle pins / switches.

You are not special. Many are interested in that too.

Oh, well. Too bad the tutorial is useless.

.

Juraj:
What is the question?

For Uno WiFi now you have an alternative to UnoWiFiDevEd library a UnoWiFiDevEdSerial1 library, which makes the on-board esp8266 accessible to any arduino+esp8266 solution.

I downloaded the file “UnoWiFiDevEdSerial1-master-20180430T173950Z-001” , imported it into the Arduino web editor and get this during upload.
error: static void wificlass:: Ini is private !

Attached the error doc from Arduino webeditor!


one more question, :
why are a lot of sketches written to 115200 baud ?

wifierror.txt (16.1 KB)

i do not want to be unpolite but why don,t Arduino sketches run and am i directed to a different “blync” platform ?

  1. use the plastic bottom cover and best do not touch the board at all, because there are sensitive points on the bottom of the board, which when touched/grounded disable the board
  2. get the Uno WiFi Serial1 library from Library Manager
  3. decide how do you want to use your arduino with esp8266 (I recommend WiFi Link)
  4. install chosen firmware - instructions for WiFi Link are in my WiFi Link and Uno WiFi Serial1 GitHub repositories
  5. to access WiFi use the library corresponding to chosen firmware (WiFiEsp with AT firmware or WiFi Link library with WiFi Link firmware)

and ask here a specific question if you get stuck

Uno WiFi Dev Ed was a product of 'rebels' arduino.org. after 'the war' arduino.org vanished and arduino.cc retired the products. arduino.org never finished the software for Uno WiFi. I did it.

Tnx. Go through the procedure tomorrow. Jurai

HarvdL: Tnx. Go through the procedure tomorrow. Jurai

A problem with the ide part! I run Windows 7.

Is there a work around?

I replaced the library but i think there is more to do?

Tnx

what problem with IDE?

Somewhere in the process a get the option to install the tool to modife , upload the tool to get this done. The it shows that it needs Windows 8.1 or higer. I solve this on a different computer of mine. For met on the webpages are lots of information i do not understand. 1 st : i releced the library in my web editor. Did i have to modifi the newer library before replacing ?

I never used the Web Editor, can't you use the normal installed Arduino IDE.

You do not need to modify any library.

Did you successful upload the WiFi Link firmware into esp8266?

HarvdL: Somewhere in the process a get the option to install the tool to modife , upload the tool to get this done. The it shows that it needs Windows 8.1 or higer. I solve this on a different computer of mine. For met on the webpages are lots of information i do not understand. 1 st : i releced the library in my web editor. Did i have to modifi the newer library before replacing ?

The Web Editor is not the IDE.

You should have made that clear in the beginning!

.

Following your advice for Wifi Link

scnd
Install esp8266 packages

  • 3rd
    Installing with Boards Manager
    -4th
    downloaded arduino 1.8.5 . zip
    -5th
    was already installed.
    did not a einstall
  • 6 th
    Downloaded
    arduino-library-wifilink-master
  • 7th
    Open desktop aduino on this laptop
    -8 th
    Unzipped
    -9th
    opened WifilinkBlynk.
    -10 error compiling for board Arduino WiFi
  • 11
    hmm “YourAuthToken”?

error :

Arduino: 1.8.5 (Windows 7), Board: “Arduino Uno WiFi”

C:\Users\Harry\Downloads\arduino-library-wifilink-master\examples\WiFiLinkBlynk\WiFiLinkBlynk.ino:24:33: fatal error: BlynkSimpleWiFiLink.h: No such file or directory

#include <BlynkSimpleWiFiLink.h>

^

compilation terminated.

exit status 1
Error compiling for board Arduino Uno WiFi.

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.

where is the step where you upload the firmware?

why do you choose the Bynk example? It requires to install the Blynk library and register for the service.

Thank you for all your focus and your time Jurai!

I think you point to UnoWifiDevEdserial1-master, being the firmware ?

I did upoad it but had already been installed.
Pls see the bottom part of the picture.

I downloaded Blync because i thought i had to , see the center of the picture.
I deleted the blynk part now as as much as possible.

Being at this stage, I end and stop at the github page I see a lot of possible links to follow.

Could you point oit more specific steps / links for me to follow up?
I like to stick to the as you advised Wifi link procedure.

tnx

Harry