Go Down

Topic: Arduino uno programming over OTA with ESP8266 (Read 2551 times) previous topic - next topic

Itsch


Juraj

Still the same problem
so. Blink works, WiFi Scan works, WebClient example works, WiFiAccessPoint example works, AdvancedWebServer example works, but WiFiLink firmware doesn't work?
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.


Juraj

so if you start the WiFiAccessPoint example you can find the AP in WiFi networks?

did you try to access the WiFiLink firmware web panel with the IP address printed by the WebClient example? it should get the same IP over DHCP

try the FSBrowser example with SPIFFS

You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Itsch

yes the WiFiAcessPoint example works i have the AP and connection to the ip adress

the WebClient example is for a shild with Ethernet not with wifi ? i only can use the WiFi Client ?


what can i do with the FSBrowser eample ? i dont get a AP from this

Juraj

yes the WiFiAcessPoint example works i have the AP and connection to the ip adress

the WebClient example is for a shild with Ethernet not with wifi ? i only can use the WiFi Client ?


what can i do with the FSBrowser eample ? i dont get a AP from this
yes WiFiClient or any other esp8266 example that prints the IP address assigned by the DHCP

make the FSBrowser example work.
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Itsch

I need the DHCP for FSBrowser ?

FSBrowser dosent work

Juraj

#52
Jan 24, 2019, 10:11 am Last Edit: Jan 24, 2019, 10:16 am by Juraj
I need the DHCP for FSBrowser ?

FSBrowser dosent work
did you upload SPIFFS data with the IDE plugin?

DHCP assigns IP addresses to devices. and the esp8266 should get the same IP address no matter what sketch it is running, (if the sketch doesn't use static IP address). so if you run one example with success and it prints the IP address, you will know it for the WiFiLink firmware (which doesn't print it)

the FSBrowser example should check if you can upload SPIFFS
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Itsch

Yes I Upload with SPIFFS but it don't work

That means SPIFFS Upload don't work ?

Itsch

I donĀ“t use an FTDI Adapter to connect with the ESP8266 i use the Arduino uno is this maybe a problem ?

Esp8266 Sketch Data Upload works, it runs to the 100%

but the sketches don,t work ?

Itsch

or i need really v1.6 from the Arduino IDE ?

Juraj

or i need really v1.6 from the Arduino IDE ?
I never used IDE older then 1.8

so you have some problem with SPIFFS. WiFiLink can work without SPIFFS only you can't use Web Panel to set it up.  then you should add  WiFi.begin(SSID, PASSWORD); into examples of WiFiLink

when you try the WiFi Link library examples, did you reconfigure the Uno/esp8266 connection to SoftwareSerial with RX to TX wiring?
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Itsch

#57
Feb 02, 2019, 12:55 pm Last Edit: Feb 02, 2019, 01:07 pm by Itsch
i dont have a WiFi.begin example, yes i use 6,7 and upload to the uno ?

Juraj

#58
Feb 02, 2019, 01:33 pm Last Edit: Feb 02, 2019, 01:34 pm by Juraj
i dont have a WiFi.begin example, yes i use 6,7 and upload to the uno ?
Code: [Select]

char ssid[] = "xyz";            // your network SSID (name)
char pass[] = "abcd1234";        // your network password
int status = WL_IDLE_STATUS;     // the Wifi radio's status

void setup() {
  // initialize serial for debugging
  Serial.begin(115200);
  // initialize serial for ESP module
  Serial1.begin(9600);
  // initialize ESP module
  WiFi.init(&Serial1);

  // check for the presence of the shield
  if (WiFi.status() == WL_NO_SHIELD) {
    Serial.println("WiFi shield not present");
    // don't continue
    while (true);
  }

  // attempt to connect to WiFi network
  while ( status != WL_CONNECTED) {
    Serial.print("Attempting to connect to WPA SSID: ");
    Serial.println(ssid);
    // Connect to WPA/WPA2 network
    status = WiFi.begin(ssid, pass);
  }

  // you're connected now, so print out the data
  Serial.println("You're connected to the network");
 
  printWifiStatus();
}
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Itsch


Go Up