drmpf:
78400 is an option on the Arduino IDE monitor.
Try adding a
Serial.begin(78400);
in your setup and then select 78400 from the drop down at the bottom right of the IDE monitor.
Upload speed is nothing to do with Serial baud rate for the IDE monitor.
Suggest you leave the upload speed at the default value.
Try a simple blink example to check your upload is working and then try your code.
Hi! Thanks for your reply.
drmpf:
78400 is an option on the Arduino IDE monitor.
Try adding a
Serial.begin(78400);
in your setup and then select 78400 from the drop down at the bottom right of the IDE monitor.
Upload speed is nothing to do with Serial baud rate for the IDE monitor.
Suggest you leave the upload speed at the default value.
Try a simple blink example to check your upload is working and then try your code.
Hi, thanks for your reply. I have tried it via below sketch WIFI. Still strange value. I don't have the option of 78400 in the pull down of the IDE monitor, but 74880. I tried also with this value in the sketch/IDE monitor.
I tested your other suggestion, please see Sketch (2), with a simple blink example. With this sketch i have normal and expected values in the IDE montor. So this works well. I use here 9600. I tried that value also in the WIFI sketch.
So the sketch WIFI doesnt work and Sketch 2 works well. I'am lost. I think next area to discover is the serial driver. I use Big Sur, maybe there is something wrong.
SKETCH WIFI - Fails => Strange value in IDE Monitor
#include <ESP8266WiFi.h>
// Network SSID
const char* ssid = "";
const char* password = "";
void setup() {
// Connect WiFi
Serial.begin(78400);
WiFi.hostname("Name");
WiFi.begin(ssid, password);
}
void loop() {
}
SKETCH 2: - Works well, normal output in the IDE monitor
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;
// the setup routine runs once when you press reset:
void setup() {
Serial.begin(9600);
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
Serial.print("bleee Start");
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(2000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
Serial.println(" Wacht");
}