nospig / 3d-print-monitor

OctoPrint monitor for 320x240 TFT displays and a ESP8266 processor.
MIT License
17 stars 4 forks source link

Wiki installation #11

Closed ZeekWorld closed 3 years ago

ZeekWorld commented 3 years ago

Hi, I am really struggling installing this code on a Wemos D1. There is not a step to step installation guide. I am not super familiar with programming but I've achieve to successfully programmed one with this project https://github.com/Qrome/printer-monitor which is similar. Is there any link or document explaining step by step how to build this code on a Wemos D1? Do I need to use Arduino? What is the file I need to open in Arduino? Thanks in advance.

jhopkins213 commented 3 years ago

What issues are you having have you compiled code like this before using the ardiuno software?

ZeekWorld commented 3 years ago

Any help on how to upload the code to the Wemos Mini would be great, thank you. Added libraries to the PIO project, when uploading I get the following...

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html PLATFORM: Espressif 8266 (2.6.2) > WeMos D1 R2 and mini HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash PACKAGES:

Processing d1_mini_ota (platform: espressif8266; board: d1_mini; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html PLATFORM: Espressif 8266 (2.6.2) > WeMos D1 R2 and mini HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash PACKAGES:

Environment Status Duration


nodemcuv2 FAILED 00:00:01.865 nodemcuv2_ota FAILED 00:00:00.829 d1_mini FAILED 00:00:01.796 d1_mini_ota FAILED 00:00:00.830 ============================================== 4 failed, 0 succeeded in 00:00:05.321 ============================================== The terminal process "pio 'run', '--target', 'upload'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Executing task: pio run --target upload <

Processing nodemcuv2 (platform: espressif8266; board: nodemcuv2; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html PLATFORM: Espressif 8266 (2.6.2) > NodeMCU 1.0 (ESP-12E Module) HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash PACKAGES:

Processing nodemcuv2_ota (platform: espressif8266; board: nodemcuv2; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html PLATFORM: Espressif 8266 (2.6.2) > NodeMCU 1.0 (ESP-12E Module) HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash PACKAGES:

Processing d1_mini (platform: espressif8266; board: d1_mini; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html PLATFORM: Espressif 8266 (2.6.2) > WeMos D1 R2 and mini HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash PACKAGES:

Processing d1_mini_ota (platform: espressif8266; board: d1_mini; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html PLATFORM: Espressif 8266 (2.6.2) > WeMos D1 R2 and mini HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash PACKAGES:

Environment Status Duration


nodemcuv2 FAILED 00:00:15.249 nodemcuv2_ota FAILED 00:00:00.841 d1_mini FAILED 00:00:15.401 d1_mini_ota FAILED 00:00:00.856 ============================================== 4 failed, 0 succeeded in 00:00:32.347 ============================================== The terminal process "pio 'run', '--target', 'upload'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

nospig commented 3 years ago

You have to connect your board with USB for the first time, you are trying to do over the air here. In PlatformIO pick the env:d1_mini in Project Tasks and then select Upload.

ZeekWorld commented 3 years ago

I did, board is connected via USB this is the output

Processing d1_mini (platform: espressif8266; board: d1_mini; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html PLATFORM: Espressif 8266 (2.6.2) > WeMos D1 R2 and mini HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash PACKAGES:

nospig commented 3 years ago

Are you on Big Sur?

https://community.platformio.org/t/macos-big-sur-dlsym-rtld-default-kiomasterportdefault-symbol-not-found/17129

ZeekWorld commented 3 years ago

Yes I am, oh man....I'll give it a shot on Windows...

ZeekWorld commented 3 years ago

THANK YOU so much!!! Big Sur issue. Windows all good.