Thanks, but now this error? What should i upload with otto blockly? An Example or a special code?
Thanks a lot!
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"
C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\OttoNinja-master\src\Adafruit_GrayOLED.cpp:20:10: fatal error: Adafruit_GrayOLED.h: No such file or directory
Multiple libraries were found for "Servo.h"
20 | #include "Adafruit_GrayOLED.h"
Used: C:\Users\marti\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\Servo
Not used: C:\Program Files (x86)\Arduino\libraries\Servo
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
❓ Question
Arduino Hi! Im totally new in this world... My Ninja doesnt start. I connected all right, so the told me i should reinstall the "App Code Arduino". I made all how the Video and the "Otto Ninja 101" told me, but during upload comes this message: Can you help me please! Thanks and sorry for my english... "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"
Multiple libraries were found for "Servo.h"
In file included from C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\OttoNinja-master\src\Adafruit_GrayOLED.cpp:20:
Used: C:\Users\marti\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\Servo
C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\OttoNinja-master\src\Adafruit_GrayOLED.h:30:10: fatal error: Adafruit_I2CDevice.h: No such file or directory
Not used: C:\Program Files (x86)\Arduino\libraries\Servo
30 | #include <Adafruit_I2CDevice.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
"
Hi! Im totally new in this world... My Ninja doesnt start. I connected all right, so the told me i should reinstall the "App Code Arduino". I made all how the Video and the "Otto Ninja 101" told me, but during upload comes this message: Can you help me please! Thanks and sorry for my english... "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"
Multiple libraries were found for "Servo.h"
In file included from C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\OttoNinja-master\src\Adafruit_GrayOLED.cpp:20:
Used: C:\Users\marti\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\Servo
C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\OttoNinja-master\src\Adafruit_GrayOLED.h:30:10: fatal error: Adafruit_I2CDevice.h: No such file or directory
Not used: C:\Program Files (x86)\Arduino\libraries\Servo
30 | #include <Adafruit_I2CDevice.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
"
Camilo Parra Palacio Otto Creator
Martin Gasser good question I am just checking the github files and it seems the adafruit libraries were conflicting so I just delete them, you can try by deleting everything that says Adafruit in C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\OttoNinja-master\src\
Otto Blockly go to examples "Ninja App"
Otto Blockly go to examples "Ninja App"
Martin Gasser
Seems that the ESP8266 wasnt seen? I connected the ESP8266 only with the original USB. At the ESP8266 is connected nothing(no battery, no servos...)
"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 : 253612 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 28193 / 32768 - code in IRAM (IRAM_ATTR, ISRs...)
DATA : 1540 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 952 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 26288 ) - zeroed variables (global, static) in RAM/HEAP
Sketch uses 284297 bytes (27%) of program storage space. Maximum is 1044464 bytes.
Global variables use 28780 bytes (35%) of dynamic memory, leaving 53140 bytes for local variables. Maximum is 81920 bytes.
esptool.py v3.0
Serial port COM5
Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
File "C:\Users\marti\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py", line 66, in <module>
esptool.main(cmdline)
File "C:/Users/marti/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 3552, in main
esp.connect(args.before, args.connect_attempts)
File "C:/Users/marti/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 529, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
_
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
"
same with the Otto Blockly:
rror: Command failed: arduino-cli.exe upload --port COM5 --fqbn esp8266:esp8266:nodemcuv2 sketch/sketch.ino Traceback (most recent call last): File "C:\OttoBlockly\compilation\arduino\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in esptool.main(cmdline) File "C:/OttoBlockly/compilation/arduino/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2890, in main esp.connect(args.before) File "C:/OttoBlockly/compilation/arduino/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 483, in connect raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error)) esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header Error during Upload: uploading error: uploading error: exit status 1
"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 : 253612 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 28193 / 32768 - code in IRAM (IRAM_ATTR, ISRs...)
DATA : 1540 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 952 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 26288 ) - zeroed variables (global, static) in RAM/HEAP
Sketch uses 284297 bytes (27%) of program storage space. Maximum is 1044464 bytes.
Global variables use 28780 bytes (35%) of dynamic memory, leaving 53140 bytes for local variables. Maximum is 81920 bytes.
esptool.py v3.0
Serial port COM5
Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
File "C:\Users\marti\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py", line 66, in <module>
esptool.main(cmdline)
File "C:/Users/marti/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 3552, in main
esp.connect(args.before, args.connect_attempts)
File "C:/Users/marti/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 529, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
_
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
"
same with the Otto Blockly:
rror: Command failed: arduino-cli.exe upload --port COM5 --fqbn esp8266:esp8266:nodemcuv2 sketch/sketch.ino Traceback (most recent call last): File "C:\OttoBlockly\compilation\arduino\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in esptool.main(cmdline) File "C:/OttoBlockly/compilation/arduino/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2890, in main esp.connect(args.before) File "C:/OttoBlockly/compilation/arduino/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 483, in connect raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error)) esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header Error during Upload: uploading error: uploading error: exit status 1
Martin Gasser
Hi! I cant comunicate with my esp8266: i tried a lot. The error always the same. No idea how i can made it?
Error: Command failed: arduino-cli.exe upload --port COM5 --fqbn esp8266:esp8266:nodemcuv2 sketch/sketch.ino Traceback (most recent call last): File "C:\OttoBlockly\compilation\arduino\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in esptool.main(cmdline) File "C:/OttoBlockly/compilation/arduino/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2890, in main esp.connect(args.before) File "C:/OttoBlockly/compilation/arduino/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 483, in connect raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error)) esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header Error during Upload: uploading error: uploading error: exit status 1
Error: Command failed: arduino-cli.exe upload --port COM5 --fqbn esp8266:esp8266:nodemcuv2 sketch/sketch.ino Traceback (most recent call last): File "C:\OttoBlockly\compilation\arduino\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in esptool.main(cmdline) File "C:/OttoBlockly/compilation/arduino/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2890, in main esp.connect(args.before) File "C:/OttoBlockly/compilation/arduino/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 483, in connect raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error)) esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header Error during Upload: uploading error: uploading error: exit status 1
Camilo Parra Palacio Otto Creator
Martin Gasser are you in Windows?
Try to reinstall the software and make sure these files are present
C:\OttoBlockly\compilation\arduino\packages\esp8266\hardware\esp8266\2.7.4/tools/
The Arduino library is updated you can also try now
https://github.com/OttoDIY/OttoNinja
Try to reinstall the software and make sure these files are present
C:\OttoBlockly\compilation\arduino\packages\esp8266\hardware\esp8266\2.7.4/tools/
The Arduino library is updated you can also try now
https://github.com/OttoDIY/OttoNinja
Camilo Parra Palacio Otto Creator
Martin Gasser if problem persist we can arrange a video call and I will help you to setup
For more content join our community, sign up and become an Otto Builder now!
Welcome to the community, it looks that some libraries are interfering can you delete
these file C:\Users\marti\OneDrive\Dokumente\Arduino\libraries\OttoNinja-master\src\Adafruit_GrayOLED.h
Also try using Otto Blockly that will be more straight forward without libraries to bother