by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 04 09:34
    luc-github commented #239
  • Aug 04 07:00
    luc-github edited #454
  • Aug 03 20:57
    ithinkido commented #239
  • Aug 03 20:57
    ithinkido commented #239
  • Aug 02 06:50
    luc-github edited #492
  • Aug 02 06:50
    luc-github labeled #492
  • Aug 02 06:50
    luc-github labeled #492
  • Aug 02 06:50
    luc-github labeled #492
  • Aug 02 06:50
    luc-github opened #492
  • Aug 02 05:28
    luc-github commented #356
  • Aug 02 04:59
    edilcurvelo commented #356
  • Aug 01 05:28
    luc-github commented #487
  • Aug 01 04:37
    luc-github commented #265
  • Aug 01 03:56
    MasterCATZ commented #209
  • Aug 01 03:54
    luc-github commented #487
  • Aug 01 03:49
    MasterCATZ commented #265
  • Jul 31 23:31
    marciot commented #487
  • Jul 31 08:50
    luc-github commented #487
  • Jul 31 08:47
    luc-github commented #454
  • Jul 31 08:47
    luc-github commented #454
jthomeo
@jthomeo
Did anyone got this problem? Just downloaded the last version. Version 1.0 works.
Luc
@luc-github
check installation section of readme
libraries are in libraries directory
jthomeo
@jthomeo
Tks for the light. Iĺl check there.
jthomeo
@jthomeo
Hi. I've checked there, I 've read the readme file, checked the libraries folder and found that the library there is the same as the one from Links2004, but I still can't find the file "WebSocketsServer.h". Sorry to bother. I'm no coder. I'm just trying to make this work. This ".h" file, shouldn't be at esp3d folder, where the other ".h" files are?
jthomeo
@jthomeo

This is the line of "syncwebserver.h" where it stops when compiling:

include <WebSocketsServer.h>

exit status 1
WebSocketsServer.h: No such file or directory

jthomeo
@jthomeo
Found the problem. Didn't know that needed to copy that folder to Arduino library folder. Found a topic of this and solved. Tks.
ffnull
@ffnull
Hello here! What do you think about using esp32 in spi mode like in duet 2 wifi for fast file transfer?
and i see that esp3d can be run on esp32cam. does camera works?
Luc
@luc-github
duet use special spi drivers to discuss with esp8266, such drivers does not exists in marlin / repetier/smoothieware
pimchest
@pimchest
Hello everyone, maybe my questions will seem strange, but please treat me with understanding ...
I am trying to compile in. Arduino IDE .bin and upload it to my ESP01s. I open . \ ESP3D-2.1 \ ESP3D-2.1 \ esp3d \ esp3d.ino and make "Export binary file", and i have error "pgmspace.h: No such file or directory"
What else needs to be done in order to compile the firmware file?
Luc
@luc-github
you should not have such error - it compile fine - you did some change ? or use some settings that are not usual ?
Thomas Schiex
@tschiex
Hello Luc. Hello everybody. I have a setup where I have flashed a SonOff with ESP3D 2.1 (worked fine immediately, amazing job) connected to Smoothieware. The SonOff powers the 3D printer. My idea was to allow Smoothieware to power off the printer at the end of a job by sending [ESP201]P12 V0 but none of the Smoothieware config I could write did the job. I'm starting to wonder if 1) ESP3D listen to the strings that comes out of the 3D printer UART to execute them 2) how to make Smoothieware write on the UART if 1) is Ok. If someone did the job, I would be happy to learn how :-)
Thomas Schiex
@tschiex
Side note: turning the 3D printer ON/OFF from the web interface using the ESP commdnd works fine.
Luc
@luc-github
on smoothieware the command is echo
so you must add echo [ESP201]P12 V0
I did PR some time ago to smoothieware
I hope it is still working I did not test de for a while
Luc
@luc-github
I did it for notifications originally https://github.com/luc-github/ESP3D/wiki/Notifications
Thomas Schiex
@tschiex
Thanks Luc, it does work. With this I can have a Custom Menu item that does the poweroff.
Luc
@luc-github
Cool ^_^
Thomas Schiex
@tschiex
I failed however to turn M80/M81 gcodes into working gcodes. I thought I could use the "switch" module of Smoothieware like this:
switch.psu.enable true switch.psu.input_on_command M80 switch.psu.input_off_command M81 switch.psu.output_on_command echo_[ESP201]P12_V1 switch.psu.output_off_command echo_[ESP201]P12_V0
But this does not seem to do anything. It's more a smoothieware question, but if anyone has a hint, I will happily take it. And ask #smoothieware else :-)
Luc
@luc-github
do you mean M80 / M81 are not working when send from serial to smoothieware?
Thomas Schiex
@tschiex
Sorry Luc. Im' not clear. M80/M81 are expected to turn the printer On and Off. But you have to setup your hardware so that they work. In Smoothieware, the switch module allows to link these gcodes to a hardware pin that, e.g., controls a relay. In my case, the Smoothieboard microcontroller has no pin to control. It should instead send a message to ESP3D telling it [ESP201]P12 V0 /1. the switch module as both input commands tha triger the switch ON/OFF and outputcommands (that triger when the swith is triggered ON/OFF). I hopes that putting echo[ESP201]P12_V0 as an output_command would do the trick, but I imagine it never reaches the proper command analyzer, only a gcode analyzer. I don't think that ESP3D is "improvable" here, it's a smoothieware limitation I'm afraid.
Luc
@luc-github
hmm sorry to ask, but why ask smoothieware to send gcode to ask esp to change pin state when smoothieware can directly change his pin state with switch module, I used it to control laser on one of my system before
Thomas Schiex
@tschiex
Smoothieware cannot control the pin state of the ESP8266 :-)
Luc
@luc-github
what is power OFF / POWER On ? it is a relay not ESP8266 no ?
ESP8266 change the pin state, so you could connect the smoothieware pin to the pin that command this relay directly
Thomas Schiex
@tschiex

I think I have still not been clear. The pin I want to control from Smoothieware is the pin 12 of the ESP. And I wanted to control it from the standard M80/M81 gcodes.

Anyway, I got it working with some help from Wolfmanjm (smoothieware). Just added 2 lines in the communication module of Smoothieware, in the GcodeDispatch.cpp file, in the "Mcodes" management section: (if it can be useful to others):
case 80: THEKERNEL->streams->printf("[ESP201]P12 V1\r\n"); break; case 81: THEKERNEL->streams->printf("[ESP201]P12 V0\r\n"); break;

Sorry for the time it may have swallowed on your side. Merci !
Luc
@luc-github
I know the pin 12 is the one you command on ESP - but this pin is connected to the relay or switch - and according pin state HIGH or LOW the relay or switch will power ON or OFF
So you can just bypass the ESP and connect your smoothie pin to this esp12 - just put the ESP pin 12 low - so when your smoothie pin is high it won;'t affect ESP but affect the relay - it just need a relay and be sure you share same GND
I am not electronician but it should work - or you do not have access the pin connected to ESP pin 12 ?
No worry - it is interresting situation - find / or learn a solution is always useful ^_^
I have added in ESP3D 3.0 the support of Lua script to fit such situation Smoothie ware change pin state - ESP3D connected to this pin see the change and do something accordingly
Luc
@luc-github
I remember someone already had such request because same situation that is why I did this, ESP3D has already kind of feature - it is the reset pin - if you put one pin low at start it reset all settings
So in your case if pin 13 of ESPis low (or high) change ESP pin 12 accordingly - in all case you need an additional wire
Anyway glad to see you got this working I have learned something from smoothieware thank you ^_^
headly617
@headly617
Hello. Does anyone know of good way to connect ESP-01S to BTT SKR Mini E3 v1.2 with TFT24 display. I see the TFT 35 has connector for wifi but not the 24. If I remove TFT cable and hook rx and tx to tht header on board ESP3D works fine but lose functionality of display. Did risky thing and stuck jumpers from ESP-01S rx/tx into back of plug of tft cable and connected to board but then neither ESP3D or LCD function fully. I am not aware of any other rx/tx pins on board or processor. Already spent better part of day googling for solution. Any help greatly appreciated thank.
bryan065
@bryan065
Hey guys, can anyone help me with how to wire up an esp8266 (esp-01s) to program with a usb ttl adapter?
ModMike
@ModMike
@headly617 I had the same issue with Fusetc Cheetah 1.1b. They have a nice header in the front but the minute you use it you lose USB port. I built a bootloader with SD firmware update and ended up using that. Check if you have a CH340 chip, you can solder on ton2 puns for RX and TX. I will look at the board schematics tomorrow and update you.
Luc
@luc-github
@bryan065 what about the wiki ? https://github.com/luc-github/ESP3D/wiki/ESP8266-01
safaribaer
@safaribaer
Hi, would somebody please give me a hint how to connect an ESP module to an skr mini 3 on an ender 5 with the standard lcd module? t seems to be possible but i do not know where to connect on skr board.
Luc
@luc-github
you can use tft connector for esp if you use standard lcd
sawyersteven
@sawyersteven
I'm a bit new to cnc building. Do I understand correctly that esp3d can't be used to control steppers but is rather an interface to send commands to something that can? Is there a grbl-like bit of software for the 8266 so I can use this board to directly control my stepper drivers?
Luc
@luc-github
no, esp8266 does not have enough pins, but esp32 can: grbl_esp32
sawyersteven
@sawyersteven
Again, forgive my ignorance, but but my wemos d1 has a pinout identical to a arduino uno, which is able to handle a 3axis
Luc
@luc-github
no it allow to connect because same headers but not all pins are connected to esp8266
esp32 has also this form factor and allow just the grbl shield