Closed ModMike closed 6 years ago
Depend of version you have - Azteeg X5 Mini has wifi version which allow to access directly to SD Card
Sorry, I should have specified the Azteeg X5 Mini wifi, latest version.
So unlike ESP just connected to serial - Azteeg wifi has also SDCard direct access - so upload to SD card are fast
Also do not use this repository fw on azteeg mini wifi - it is not compatible, you will lose the SD direct access
So which one do I use and is it 2.0?
2.0 is development version - it is available for normal ESP for Azteeg Mini 2.0, is not yet released, and when will be, it will be on panucatt web site, not here.
Understood. I can't find the current Azteeg X5 mini version on the Panucatt site. Do you have a link?
Sorry, didn't realize it was already installed. I am using it with Marlin (I created some pin configs and such to support it). My current board blew up because of a bad driver and another is on the way.
Will the current version that is preinstalled support Marlin? If so do I have to change anything?
Merci beaucoup pour les réponses!
oui ESP3D est preinstalle mais Azteeg X5 mini ce n'est que smoothieware en principe Il y a la version 32bit de marlin mais elle n'est pas encore stable
Je te réponds en anglais pour que tous le monde peut suivre. Et mon français (anglophone quebecois) est horrible.
I am running 32 bit Marlin on it and everything works so far, that it is until I swapped my drivers and shorted the board. If all goes well, I will do a pull request soon and it will be officially supported.
Marlin 2.0.x bug fix already supports the Azteeg X5 GT and Re-arm. I used the Re-Arm with Marlin for over a month with no issues. I even got it to work with the stock CR-10 display.
Ok it is some time I did not tried the 2.0 for LPC1769 - happy to see it is better
So hopefully last question for today, what, if anything, do I need to do to get the Azteeg X5 Mini Wifi to Web UI to work with Marlin? Are the config G codes compatible?
Just choose Marlin as FW target in Web UI
Great, I wasn't sure that was available in the Azteeg Mini Wifi version.
No problem is on it, as well as repetier and smoothieware
I got my replacement Azteeg X5 mini, loaded Marlin and was able to connect through USB with S3D. Everything responds fine from the terminal.
I disconnected from the S3D terminal, set the Web UI to Marlin,rebooted, and tried to send commands through the Web UI terminal but Marlin will not respond.
Do I need to set up a software serial link between the two?
S3D do not allows TCP connection only serial, as far I kown only repetier and pronterface allow tcp connection
To use S3D with Azteeg Wifi - instead of print from host, print from SD - upload generated GCODE file to Azteeg SD ( can be done using web UI) then launch print ( can be done using web UI)
If you really want to stream from S3D, you need to find a drivers or device that do a USB/Serial <-> TCP bridge - I never try so I do not know if it works
Luc,
I was not trying to use TCP via S3D, I was just pointing out that I am able to get a response to M119 to prove Marlin is running on the board and responsive to commands.
Now I need to get commands working through WEB UI. Do I need to do anything to get WEB UI to talk to Marlin on that board or should it just work?
When I connect through WEB UI and issue an M119 command from the WEB UI Send command panel, I get no response.
Sorry my mistake I read too fast. For ESP3D/Marlin communicate you need to be sure : 1 - Marlin Baud rate and ESP3D baud rate are identical 2 - Marlin read the Serial connector of Azteeg , I know Smoothieware do it by default , I do not know if Marlin do it by default or need to be configured ( I cannot try I do not have any Azteeg Wifi)
Thats what I suspected, thanks!
Do you know which serial port is associated with the wifi on Azteeg?
No sorry - you should contact panucatt I think - as said I do not have any Azteeg X5 Wifi so hard to help
Understood, thanks.
You may ask also on Marlin - they should know - I remember last time I tested on Re-ARM I had to change the configuration to use the internal serial instead of usb port and at this time could not use both
here the starting point :https://github.com/MarlinFirmware/Marlin/pull/8004#issuecomment-338695158 I had to use Serial 0 instead of -1
Luc, got it working with the following:
Very close to what you said, just need to be exactly that. Thank you very much.
By the way, is there a way to embed a video stream using the camera function a la Octoprint?
Cool you found out :) Camera tab is enabled if you click on check box close to camera icon on top left
I understand that :-) What I am asking is what is the result? Does it embed a video in the WEB UI a la Octoprint? Also what camera do you recommend?
Also is it ok to wire an arducam directly to the ESP8266? is that the preferred method? How many FPS can you get?
Sort of like this but using the module?
https://www.instructables.com/id/ArduCAM-Mini-ESP8266-Web-Camera/
No, connect an arducam to ESP8266 is bad idea , performance will be bad, I did some tests before (https://github.com/luc-github/ESP3D/issues/82) and for 10$ you got a good wifi cam that won't overload ESP (arducam is not cheap IMHO)- also you won't be able to connect arducam on Azteeg
On another hand ESP32 is good candidate for this - because it has already hardware support for camera and more pins. I have ordered this : https://www.aliexpress.com/item/M5Stack-Official-ESP32-Camera-Module-Development-Board-OV2640-Camera-Type-C-Grove-Port-3D-Wifi-Antenna/32881414545.html?spm=a2g0s.9042311.0.0.498a4c4dq35luy and I need to see how to add such support to ESP3D but I have others projects to finish first so may not be soon but will be in 2.5
So basically getting a self contained IP cam and linking to it's IP is best option?
Yes ^_^
What a genius I am. I have a remarkable grasp of the obvious :-)
From what I gather, the camera you linked to is a fully independent IP camera capable of pictures and streaming, correct? Do you or anyone else have firmware for it?
If so I will order 3 today.
Thanks!
Sorry what Firmware you talk about ? Actually any camera allowing direct web access will fit
Ho you mean m5stack. There is a fw available already.
Firmware for the M5 camera. I was originally looking for a webcam but everything has an SD card and battery and is big. The one you linked too is good but ideally I would like one with a video compressor built in.
The loaded fw is pretty simple. But a new fw is under development as far I know
If can just plug it in and get 10 to 15 FPS I am happy. When I use the camera option, does the video display in your WEB UI?
I have only did few test as by default it is in AP mode:
[0;32mI (28) boot: ESP-IDF v3.1-dev-1101-g1f7b41e2-dirty 2nd stage bootloader[0m
[0;32mI (28) boot: compile time 10:53:23[0m
[0;32mI (29) boot: Enabling RNG early entropy source...[0m
[0;32mI (34) boot: SPI Speed : 40MHz[0m
[0;32mI (38) boot: SPI Mode : DIO[0m
[0;32mI (42) boot: SPI Flash Size : 4MB[0m
[0;32mI (47) boot: Partition Table:[0m
[0;32mI (50) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (57) boot: 0 nvs WiFi data 01 02 00009000 00006000[0m
[0;32mI (65) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (72) boot: 2 factory factory app 00 00 00010000 00100000[0m
[0;32mI (80) boot: End of partition table[0m
[0;32mI (84) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x14250 ( 82512) map[0m
[0;32mI (122) esp_image: segment 1: paddr=0x00024278 vaddr=0x3ffb0000 size=0x037f8 ( 14328) load[0m
[0;32mI (128) esp_image: segment 2: paddr=0x00027a78 vaddr=0x40080000 size=0x00400 ( 1024) load[0m
[0;32mI (129) esp_image: segment 3: paddr=0x00027e80 vaddr=0x40080400 size=0x08190 ( 33168) load[0m
[0;32mI (151) esp_image: segment 4: paddr=0x00030018 vaddr=0x400d0018 size=0x64270 (410224) map[0m
[0;32mI (295) esp_image: segment 5: paddr=0x00094290 vaddr=0x40088590 size=0x07ba8 ( 31656) load[0m
[0;32mI (309) esp_image: segment 6: paddr=0x0009be40 vaddr=0x400c0000 size=0x00000 ( 0) load[0m
[0;32mI (319) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (319) boot: Disabling RNG early entropy source...[0m
[0;32mI (320) cpu_start: Pro cpu up.[0m
[0;32mI (324) cpu_start: Starting app cpu, entry point is 0x40080fdc[0m
[0;32mI (0) cpu_start: App cpu up.[0m
[0;32mI (335) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (341) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM[0m
[0;32mI (347) heap_init: At 3FFB93B0 len 00026C50 (155 KiB): DRAM[0m
[0;32mI (354) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM[0m
[0;32mI (360) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m
[0;32mI (366) heap_init: At 40090138 len 0000FEC8 (63 KiB): IRAM[0m
[0;32mI (372) cpu_start: Pro cpu start user code[0m
[0;32mI (167) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m
[0;32mI (314) camera_demo: Detected OV2640 camera, using JPEG format[0m
[0;32mI (454) camera_demo: ESP_WIFI_MODE_AP[0m
[0;32mI (454) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
[0;32mI (454) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
[0;32mI (544) phy: phy_version: 3900, 1d94202, May 17 2018, 18:20:07, 0, 0[0m
[0;32mI (554) camera_demo: wifi_init_softap finished.SSID:M5Cam password:[0m
[0;32mI (554) camera_demo: Open http://192.168.4.1/jpg for single image/jpg image[0m
[0;32mI (564) camera_demo: Open http://192.168.4.1/jpg_stream for multipart/x-mixed-replace stream of JPEGs[0m
[0;32mI (574) camera_demo: Free heap: 145312[0m
[0;32mI (574) camera_demo: Camera demo ready[0m
here the FW https://github.com/m5stack/esp32-cam-demo I did not checked yet how to setup as STA
When I tested quality was pretty good
I have 3 on the way, will let you know how it goes when I get them in a month or so.
Bonjour Luc,
I just did a Marlin PR for the Azteeg X5 Mini wifi. This PR fully supports every feature of the Mini WiFI. I would like to now migrate to version 2.0 of the Web UI as it seems to offer much improved functionality.
I understand that you said this will be released on their site but I would like to know what needs to be done for this to happen, from the technical to the political.
Merci!
I add to rewrite the 2.0b which was using Async Webserver due to performance issue to be able to use the Sync web server and I never got any feedback until now on 2.0b on esp8266, so I won't release before I got several feedback. The only feedback I had were: 1 - on esp32 2 - on translation on web UI 2.0
2.0c is still under devt and test for both "public version" and "Azteeg version"
So first need feedback on 2.0c with esp866, even public one would be great.
I am currently busy porting 2.0 to Marlin for ESP32 - so every bug I see now are mostly "ESP32 related", they will need to be applied to 2.0, but so far they are small bugs /glitch, unfortunatly I have only 2 hands and I prefer to finish the ESP3D Marlin porting to apply to "standard" and "Azteeg" version instead of handle 3 FW at once and so do mistake.
Testing is important, so far Marlin + Direct SD access with 2 SD readers (one on board + one on screen) was never tested so I am not sure of how ESP3D will behave on some corner cases with SD. I am still waiting for an Azteeg Wifi board to be able to do test, as the prototype I got, fried after few tests in my desk with 2.0, so I cannot even test your configuration.
What you can ask to Roy from panucatt, is to become a tester, if I agree he may send you the beta FW + web UI files.
Also good job for the PR ^_^
Bonjour Luc!
Question stupide, je ne semble pas être capable de charger un fichier, le système me dit toujours qu'il y'a un erreur. Je suit le protocole de 8.3 mais est ce que il y'a qu'elle que chose de special pour la version 1.0 Azteeg?
Est ce que l'extension doit être .gco?
Merci!
la version 1.0 pour azteeg accède directement au lecteur SD et n'utilise pas le serial En principe l'upload sur SD ne devrait pas poser de problème car elle ne passe pas par le FW Marlin ou Smoothieware. Contrairement a la version publique qui utilise le port serie et le FW de l'imprimante
qu'elle est l'erreur ?
il me demande de mettre le fichier en forme 8.3, meme quand il est deja. Maintenant, je ne peut meme pas le sélectionner pour upload. J'ai meme essayer d'écrire le fichier directement sur la carte. WEB Ui le voit, mais il ne peut pas l'imprimer. Quelle est le format et extension? 12345678.GCO?
J'ai oublier de mentioner qu'il montre la carte SD mais vois juste 4gb quand elle et de 16GB. Je l'ai bien formatter en fat 32 avant de l'insérer. Est ce que le système rapporte la grandeur de la carte SD ou la memoire du 8226?
bizarre oui le format est 12345678.gco 8 + 3, Ha ok c'est le formatage qui pose soucis, pour les cartes SD il faut ce soft : https://www.sdcard.org/downloads/formatter_4/
c'est la taille de la carte SD , esp8266 c'est max 4MB de flash et le SPIFFS est 3MB pour Azteeg
What is different about the Azteeg version for X5 mini?