Hallo Zusammen,
ich habe schone einige Arduinos am laufen und wollte jetzt für mein Photovoltaik-Projekt den ESP8266 nutzen. Also habe ich mir 5 NodeMCU Lua Amica V2 ESP8266 ESP12F Modul CP2102 von AZ Delivery gekauft. Da ich das Programm in der Arduino IDE erstellen will hab ich den Boardverwalter
"https://arduino.esp8266.com/stable/package_esp8266com_index.json"
verlinkt, dann das Board NodeMCU 1.0 (ESP-12E Module) ausgewählt und wollte zum testen den
Blink-Sketch aus den Beispielen hochladen.
Der Sketch:
/*
ESP8266 Blink by Simon Peter
Blink the blue LED on the ESP-01 module
This example code is in the public domain
The blue LED on the ESP-01 module is connected to GPIO1
(which is also the TXD pin; so we cannot use Serial.print() at the same time)
Note that this sketch uses LED_BUILTIN to find the pin with the internal LED
*/
void setup() {
pinMode(LED_BUILTIN, OUTPUT); // Initialize the LED_BUILTIN pin as an output
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, LOW); // Turn the LED on (Note that LOW is the voltage level
// but actually the LED is on; this is because
// it is active low on the ESP-01)
delay(1000); // Wait for a second
digitalWrite(LED_BUILTIN, HIGH); // Turn the LED off by making the voltage HIGH
delay(2000); // Wait for two seconds (to demonstrate the active low LED)
}
Dabei hagelt es Fehlermeldungen:
Arduino: 1.8.19 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Executable segment sizes:
ICACHE : 32768 - flash instruction cache
IROM : 231724 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 26793 / 32768 - code in IRAM (IRAM_ATTR, ISRs...)
DATA : 1496 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 876 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 25608 ) - zeroed variables (global, static) in RAM/HEAP
Der Sketch verwendet 260889 Bytes (24%) des Programmspeicherplatzes. Das Maximum sind 1044464 Bytes.
Globale Variablen verwenden 27980 Bytes (34%) des dynamischen Speichers, 53940 Bytes für lokale Variablen verbleiben. Das Maximum sind 81920 Bytes.
esptool.py v3.0
Serial port COM6
Connecting....
Traceback (most recent call last):
File "C:\Users\Rainer Walter\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py", line 66, in
esptool.main(cmdline)
File "C:/Users/Rainer Walter/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 3565, in main
print("Chip is %s" % (esp.get_chip_description()))
File "C:/Users/Rainer Walter/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 1134, in get_chip_description
efuses = self.get_efuses()
File "C:/Users/Rainer Walter/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 1127, in get_efuses
result = self.read_reg(0x3ff0005c) << 96
File "C:/Users/Rainer Walter/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 562, in read_reg
val, data = self.command(self.ESP_READ_REG, struct.pack('<I', addr))
File "C:/Users/Rainer Walter/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 386, in command
p = self.read()
File "C:/Users/Rainer Walter/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 331, in read
return next(self._slip_reader)
File "C:/Users/Rainer Walter/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 2648, in slip_reader
raise FatalError('Invalid head of packet (0x%s)' % hexify(b))
esptool.FatalError: Invalid head of packet (0x0A)
esptool.FatalError: Invalid head of packet (0x0A)
Könnt Ihr mir da helfen?
Grüße
Rainer