Add Wifi To A 3D Printer - SKR 1.4 - ESP8266 - ESP3D - Chris's Basement
HTML-код
- Опубликовано: 21 июл 2024
- We install Wifi on our BTT SKR 1.4 board and a BTT TFT touch screen. We configure ESP3D software to make it all work on an ESP8266.
00:00 Intro
00:38 SKR 1.4 board with WIFI module and Software Overview
3:02 Writer and ESP Setup
05:29 VS code install
32:26 Touchscreen setup
34:30 Conclusion
Old wifi video(I use an Uno to program in this one):
• Add WiFi To Your 3D Pr...
8266 Module, Link to Ali Express:
geni.us/l6b6
Writer, link to Ali Express:
geni.us/Rs5k7fW
SKR 1.4 board, Link to Ali Express:
geni.us/OvZpX
TFT screen, Link to Ali Express:
geni.us/rmNs
ESP3D software:
github.com/luc-github/ESP3D
BigtreeTech writter doc:
github.com/bigtreetech/BTT-WR...
VScode software:
code.visualstudio.com/download
Flash download tool:
www.espressif.com/en/support/...
PlatformIO ESP8266 documentation:
docs.platformio.org/en/latest...
CH340 driver:
sparks.gogo.co.nz/ch340.html
Chris Warkocki's video:
• SKR V1.4 ESP-01S Wifi ...
Angry IP scanner:
angryip.org/
Bonjour:
support.apple.com/kb/dl999?lo...
SUPPORT THE CHANNEL BY CLICKING THESE LINKS!
OpenBuilds - Great CNC and 3D Printer Parts (aff)
openbuildspartstore.com/?ref=...
Slice Engineering - Mosquito Hotends (aff)
www.sliceengineering.com/?p=r...
Wham Bam Systems Flexible Beds (aff)
bit.ly/2HoS1cV
Amazon (aff) [US DE GB CA IT ES FR JP]:
www.amazon.com/?tag=chrisbase...
Banggood(aff) ban.ggood.vip/7vm3
Aliexpress(aff) s.click.aliexpress.com/e/UrRbCm8
Buy me a coffee to keep me going!
buymeacoff.ee/Wc0DouFbl
You can support my work on Patreon
/ brotherchris
One Time Tips, You Can PayPal Me:
www.paypal.me/ChrisRiley3D
----------------------------------------------
Find Me Over On Twitter!
----------------------------------------------
Twitter : / chrisriley3d
FTC Disclaimer: A percentage of sales is made through Affiliate links
As an Amazon Associate I earn from qualifying purchases. Наука
I have both the wifi board and programmer. I also was considering Octoprint. You have convinced me that the good old Octoprint is the way to go. As usual, you have provided the right info at the right time!
Thanks David, yeah Octoprint is just awesome, that's all there is to it.
@@ChrisRiley So with running Octoprint on a 4B its pointless putting WIFI on the SKR 1.4T?
@@lookin4ward1 Pretty much, it is not substitute for Octoprint.
Chris Riley aka "THE ONE" (who makes not just a tutorial, but slaughters every single question with incredible detail. From A to Z.)
So good, thank you alot.
A funny thing: no errors while doing the "upload filesystem" step
LOL, thanks! Others have said that, I think maybe the programmer I have might not be 100%.
Hi Chris! More than a year has passed already, still this video renders tremendously helpful. Thank you very much for the excellent content you produce and share.
Glad it was helpful! Thank you!
I just used this video to help me setup my new BTT E3 RRF board with built in ESP3D. I created firmware via your instructions, but needed to place it on an SD card and renamed it "ESP3D.bin" per BTT instructions. (The WiFi chip is soldered to the motherboard and cannot be removed to use a USB flashing tool.) I power cycled with the SD card in to load the firmware. Then I was able to connect to the ESP3D access point via your instructions. It told me the "index.html.gz" file was missing and to upload it. It had a screen in which to do this (I used the top option) and it allowed me to upload all three files (I did them one at a time.) Once uploaded, I restarted the printer and then was able to continue with the printer setup. Thank you again for this information, and for also explaining the serial ports options in Marlin. I has emailed BTT and they said I had to use serial port=3 in Marlin for WiFi, but then I lost my BTT TFT screen in touch mode--no printer connected (Marlin mode always works). Your information went over the different serial ports, their options, and what they connect to. I have a BTT E3 RRF motherboard and a BTT-TFT35-E3-V3.0 touch screen on my CR-10S. It is my understanding that I will not be able to have all three items (TFT screen in Touch Screen mode, USB port on motherboard, and ESP3D WiFi module) all working at the same time because of Marlin only currently supporting 2 serial ports. P.S. I did not see the same warning that you did, and when I tried to add the "board_build.ldscript" option, my builds would fail. I put it back to the default, and it built fine.
Hey Chuck, glad you were able to work through it. Yes, a lot of these boards put everything on the same serial bus so things collide. I have never been able to make Marlin work with the USB serial connection, Wifi and TFT all at once. Good to know board_build, that means the marlin team has corrected somethings. That will make it easier.
Thanks for the very detailed video. I have an ESP01 on my SKR 1.4 turbo but didn't have USB, TFT35 and WiFi all working at the same time. I'll follow your instructions and see how it goes.
You're welcome, give it a try, good luck!
Excellent Video Chris! I especially like being able to program the ESP using VSCode. The SKR-PRO is a little different. The HardwareSerial.h file is totally different and requires no changes. I had to set the serial port to 6 and add the Configuration_Secure.h (configuration_adv.h) file to make mine work. When I have hardware issues I always look for your channel first and am never disappointed.
Thanks Charles and thanks for the extra info!
Thank you Chris for this comprehensive tutorial. I used a different FTDI adapter and in my case the System file image uploaded without error message. Actually a haven't changed anything in the platformio.ini file, except for the "build_flags = -Wl,-Teagle.flash.1m256.ld". Everything went smoothly.
Thanks! That's good to hear, hopefully it is just the BTT writer causing me problems.
i am using an FTDI aswell but i do not have the file system image upload option at all...
Great vid Chris! I have a wifi module that now this will help me install. Thanks!
Thanks Travis!
And again Chris solved a problem i had. Great explanation with the Framework! Thanks. You are amazing!
Great to hear, happy to help!
Chris is the best. His videos are worth watching all minutes, not any single second is wasted.
Hi, Chris, I rly love a bunch of your videos including the one we have here.
As I was giving that process a try, I noticed that video is actually outdated, as the framework changed drastically in that section (they actually fixed that issue).
It is actually easier now but quite different.
hope I helped bringing it to your attention!
Thanks for sharing!
Another hint that helped me if youre having upload connection problems (especially with the eBay stacked version of CH40) unplug usb and replug after each read/write.
Always a great tip.
Great video Chris, thanks! Would you consider doing another video on getting the RepRap software running on the SKR board too?
Thanks, Yes, I plan on doing a video on this.
This helped me so much! After correcting my Misconception it works fine. Thanks!
Great to hear!
yeah!! Thanks Chris, I spent fkin hours trying to get this to work with that janky upload tool, your tutorial went smooth as silk
👍
like always lots of info great job
Thanks Jerry!
Awesome video as usual. Binary transfer protocol is being worked on and file uploads will be much faster. You can also connect an M5ESPCam and it will embed the video right into ESP3D. When binary transfer is done, Octoprint Is no longer needed.
Thanks! Great to hear! I really like the software.
i just wanna say. I had tried getting my Wifi module to work properly and failed until used the methods provided in this video. i was able to get it up and running no issues at all.
Good to hear, thanks!
Its more important and interesting vibeo. Great work♥️
Thank you so much 😀
SUPER HELPFUL!!!! Thank you, I bought these wifi modules a month ago and could not get them working. But I do have a question: If you have a a 1.4 Turbo, Is there any (speed) reason to use octoprint with it? I thought octoprint was mainly used to help off load the computational workload?
Thanks! No, Octoprint just serves serial data, just like an SD card would. No help on the compute side. If you want a setup like that you would have to run something like Klipper firmware.
Thanks for a nice video. At 4:25 green wire is connected to RTS - ready to send and blue to DTR - data transmit ready.
I might have mixed that up a bit.
Chris, that helped a lot. Thank you so much.
You're welcome! Thanks for watching
The SD write speed issues is resolved if you go with the Panucatt wifi backpack module since he partnered with Luc of ESP3D on that functionality and designed the circuitry accordingly.
Hey Eric, I am going to give that one another try with the newest ESP3D version.
@@ChrisRiley I think Luc has some specific closed source code for Panucatt to work with direct SD access. So loading the latest open source version might break the high speed SD access. Maybe double check with him first.
@@eclsnowman Thanks, will do!
Great video!
Thanks!
Its amazing. Thank you!!
Thanks for watching!
OH MY GOD! Wasted several hours trying to make this thing work. Checked and tryed everything dozen times. And gues what? Swaped RX and TX wires and everything worked fine. RX -> TX, TX -> RX. They named wrong maybe or it is bugged chip itself, I am not sure. Hope it will be helpfull for someone, do it if nothing else helps.
And thank you for good video. Enjoing the progress.
Thanks for the comment Alex.
Great tutorial as always! Wifi modual works flawlessly, however, I have an issue after new firmware that my TFT24 screen does not want to connect.. is there any way to fix this?
Since there are only 2 serials you can talk to, you are going to have to pick with two you want to use. serial 0 serial 2 3 is wifi module and screen. serial -1 and serial 2 3 is USB connection and wifi module.
Thx, now it works! Nice work!
Glad it helped, thanks
Fantastic video - question : Marlin Thermal Settings in Configuration.h. I have never had a thermistor read 100K, 60- 80K yes, 100k no. Does it make a difference? How can you tell what you have? Most themistors have no markings.
Thanks! It's really hard to tell, they read 100k at 22c I think. To be able to tell what thermistor you have you would have to plot it out with a thermal couple.
what's best, if you replace the 23S80 flash on the ESP01S by a 25Q32 you have enough space on the filesystem. Requires some soldering skills 4 sure, perhaps simply adding a mini D1 ESP 8266 board would have worked aswell ... but I was unsure about that.
Nice, yes, there are a lot more of these boards supporting other wifi modules now. Great to see.
In the recent version of Marlin PIO folders it looks like there's some else/if logic that requires you to assign the pin using a variable or something instead of directly editing the pin3 definitions here.
I haven't seen that yet, I'll take a look.
Hi Chris, thank you for your videos, they helped me from the very base to understand and be able to compile my Marlin2 for Both LGT V1 (OEM for LK4 pro) and SKR 1.4Turbo i bought newly. Due to i've the TFT24 i had to work out a serial connection more to be able to use the screen in touch mode rather than Marlin that is unlike to me. To do it I ( #define serial_port_3 0 )right under the first 2 you suggest during the video. I really didin't know if this could work but Marlin2 got copiling w/o errors and flashing doing it good as well.
Thank you man again!
Great to hear, the Marlin team has changed somethings up for us to make this a little easier.
Apparently you can connect these cheap WIFI boards up to the TFT connector that is available on pretty much all of the Bigtreetech boards (most don't have a WIFI connector). Anychance you could make a video on that? Thanks.
I have done one, but they are mainly just to use REPRAP firmware. ruclips.net/video/wpZq2_nD0Ho/видео.html
Nice video Chris! In the BTT way of flashing have you tried unziping the index.html.gz and then upload that?
Thanks! I did, I still can't get it to upload, it throw a can't connect error.
I replace the one Meg module with a 4 mag module you can get it on AliExpresswork like a charm just have to do a little soldering you get way better Wi-Fi firmware
Cool idea.
I use a Toshiba Flashair to upload the files and then start the print job via ESP3D- wifi GUI. That works fine.
Awesome, great combo, I might have to try it.
You Rock DUD !!!
I have been fighting whit getting this wifi stuff to work and whit limited success got it to work via skr screen but not with out touchscreen enabled and not stabil over time. so thank you - thank you - thank you.... :-)
By the way I have a BTT SKR 1.4 Turbo board that works for now via Octoprint,
but will not read from SD or take marlin up date via sd slot no error code no warnings when trying to use the sd slot.
I did update marlin to ver 2.0.5.4 ca 14 days ago via sd and have not used the sd slot more than once after install of last update and that time every ting worked fine.
One day it just decided to not work have seen several comment online about this problem but no fix other than send it back to BTT and get a new one...
And to date not any luck when contacting Btt or Aliexpress other than the usual run a round whit excuses. And i am to cheap to buy a new card when there is a remote chance to fix it, so i`m trying all options i can think of.
Have done all the simple things like trying other sd cards checked connections (solder points onboard) and checked marlin firmware that was up loaded and compared the old ver. stock ver. to my ver. and no difference except the things i enabled like blt/tcm 2209/sensor less home and that good stuff, and sd card is enabled so i am real stuck here if you can find it in you heart to give this problem some att.
Regards from Helge from NORWAY.
Thanks! You have already done all the things I would do. I have heard a lot of others with this same issue. I am not sure what causes it I am afraid.
@@ChrisRiley thanks any way al hope is not lost yet will keep on bugging every one until i get told to get lost or something . :-)
Great! Thank you!
You are welcome!
Jeez, talk about complicated, thx, Chris, wouldn’t have even guessed half the stuff you explained in this vid.. I’m sorry I ordered it after seeing how little it can do, but as you said, just a few bucks.
Yeah, it was a fun little side project at least.
Thank you SO much! I was trying the BigTreeTech route, but I couldn't get the uploader to work with their firmware at all. Using VSCode, I got the ESP-01S to respond, but for some reason, I didn't get the option to upload the web server files. Fortunately, I COULD use the ESP3D setup wizard to upload the web files. SUCCESS! And because I'm going through my BTT TFT35 instead of going directly to the motherboard, I don't even have to recompile Marlin!
Now I just have to work out how to bypass my VPN when connecting to the printer... 😅
Awesome, glad this video was helpful.
Terrific,Thanks do you think I could use this with my Prusa mini?
Yes, you can use the module, but the Prusa is not there with the firmware yet. You will have to wait on that part.
Does esp-01 really need the rst pin? I've got the FTDI from DF Robot and the CP2102 usb adapters.
No, you shouldn't need to use it.
@@ChrisRiley Thanks! I have a couple of clones from aliexpress.
This is so funny. I Just did this today to my SKR 1.3. The 1,3 doesnt have the port, but has AUX1 with the Rx and Tx ports. works the same
Cool, yep, I use to have one on my RAMPS.
Thank you very much. My ESP01S module is running in my TFT on the SKR Pro 1.2.. I have ESP3D installed and can control the 'printer' via WebUI. So far so good. Now I want to get rid of the USB connection completely, but my software (cnc.js running under Windows) needs me to specify a COM port to connect to, and there is none to choose. Is it possible to have ESP3D to 'emulate' a COM Port that I can choose like if the printer is connected via USB? Please please help me out here 😅
I don't know of a way to do that. With apps like pronterface you can type an IP address over the com port.www.pronterface.com/
Hello Mr's Chris, I wont to ask something. Why I don't have "Upload file system image" - option in VS Code, when I try compile ESP3D according to your guide?
The moved them into their on ENV, check out the ones below, they are labeled esp-01.
Great video! I do have one question. I want to add a camera... I see on Amazon that a ESP32 chip with a camera is available. Can I use the ESP32 with ESP3D?? does ESP3D supports a camera?
Thanks! I know for sure it does support the ESP32, I am not sure about the camera. I thought someone said there was something you could do to get one to work, but I am not sure how.
@@ChrisRiley there is a git branch for 3sp3d for camera.. no idea how far it is.
hi, Thanks for the help. Yesterday i reinstall all the things again. But my wifi is not working like in the previous installation. I also try to add files in the arduino core value. The hardware serial file is now little bit different. Can you please check.
I am not sure what to check, did they release a new version?
Guess I need to update the firmware on my Hypercube Evo. But this looks pretty slick.
It's kind of a fun project.
I don't know if you can run octoprint with this? Or do you need an arduino to use octoprint?
Octoprint needs python, so using something that runs linux is your best bet.
Hi Chris, I love that printer. Have you talked about it in any of your videos?. I've seeked in your videos with no luck. Thanks.
I haven't really talked much about building it. It's a copy of Tom's Dolly build. He has a lot of videos on his.
Great videos Chris. Like this one, there are always great tips to point me in the right direction. I just did a mod on my old Kossel Linear, extending the frame width, adding the SKR 1.4v Turbo, and the ESP3D wifi mod. The ESP 0s1 had me stumped, after doing the firmware. I'm using Marlin 2.1.1 and 2.1.2 of the ESP3D, with Sensorless Homing.
I'd done the Flash tool method, but I could never get the setup window. the same happened with the vscode compile. But I realized that when asked to upload, you have to upload the ...index.html.gz, the 404.htm, and the faviicon.ico.... files. If all 3 aren't uploaded, the setup window never loads. Also, looks like the latest Marlin has the serial code updated to except the wifi via port 3. I defintely prefer compiling, since I can get updates without waiting.
Cool, thanks for your insight!
have u got any videos of how to setup dual z endstops please as im struggeling with it
I don't currently, but I might run through it in the future.
Nice video. Quick Windows 10 tip: Right click on Start. Go straight to Device Manager.
Thanks, that's funny, I know that tip and I always still do control pannel out of habit I guess.
Hi Chris, is it possible to add the WiFi module to Artillery SW X1 v4, I believe they use MKS Gen L Board, and how? As I intended to buy it and add the ABL and Wifi with the presence of RGB
I'm not sure, but I will be looking at a new GEN L board sometime soon.
It would be great if you could do a video for The Wi-Fi install on a Prusa mk3s
Yeah, the best install for the MK3 is Octoprint.
it´s very funny to follow you step by step chris. i will try to use the esp01 on a tft35 e3. i struggled with building the system itself which gave me a lot of errors due to not existing folders, but on uploading the file system image i got a success first time around. strange....
I'm glad it worked!
I have skr 1.4 and TFT 24. I have install the esp on skr 1.4 . Wifi is working good. but lcd scree printer not connected error. I move to marlin mode. How i use the touch screen.
If you don't need to use the serial cable (USB), set your second serial to 0.
Is there a way to add ethernet to octopus board instead of wi-fi? Probably a ethernet breakout board with UART or SPI interface. Looking to connect my RPi remote server to 3d printer.
No ethernet yet that I know of.
@@ChrisRiley seems like marlin does support teensy 4.1 ethernet
trying to get this working on a mks robin nano (and older mks sbase) the robin nano has a port for mks wifi module (based on esp8266) got the esp3d firmware on a nodemcu8266 ok no problems and can access the web gui. having problems with connecting, using the assigned tx/rx pins and gnd on robin nano board, this board uses stmf3 chip tried a few different serial ports in marlin but still no comms! cant find the framework environment files to check serial H, anybody have any ideas??
I can't get serial to work on those chips at all. I am not sure why really.
In order to get the index.html.gz file to upload, I found that I have to download only the language(s) you want from the "Languages" folder. I'm not sure how many languages can be stored, I only tried English. The one on the default page contains ALL the languages they support, and file won't fit on many ESP8266 or ESP32 variants.
Hope this helps someone!
Ah, great info, that makes since.
I have a problem the wifi chip works while it is connected to a usb hub but as soon as i connect it to my skr 1.4(non turbo) it wont connect to wi-fi and my hardware serial.h is not the same it has a lot of if arguments and i dont know where to check witch is active.
There might be a problem with the voltage regulator on the board. Does it check out with your multimeter?
I got to the part where you Upload File System image and it did complete successfully and gave me the green SUCCESS message, so maybe they fixed this in the code between when you did it and today 8.16.2020?
We'll count as a win! I'm glad it worked out.
This may be a bit off-topic, but it seems like something you would know about. I'm a total newbie to the cnc world but I managed to build a CNC table to move my plasma cutting torch (see link for video of it in operation). The problem with plasma cutting and computers that send the file to the control board is that they are subject to interfereance from the plasma arc - so much so that if you don't have sheilded wires and a computer MB inside a metal case away from the plasma machine and use a parallel pot rather than a USB connection, your g-code can (and often does) stop mid-job. However, if I send the g-code file from the SD card on the control board (MKS DLC32 V2.1) by using MSK Laser app there is no computer involved, and so it runs without stopping. This is great, but the trouble with the offline controller (MKS Laser) that I use wirelessly to launch the g-code off the card lacks a Z-axis control. My control board (MKS DLC32 V2.1) seems like a nice card and I love the offline capability, but no Z-axis control (probably because lasers don't need them?) sucks. Sometimes I wan't to adjust the Z-axis a little before starting the job and to do that I need to conect my laptop to Open Builds Control first and then switch over (a pain in the arse). Any advice on how to reedy this situation? Are there any other apps I can use with my card beside the MKS Laser app? Thanks! Subscribed. ruclips.net/video/97f_Xnl6_V8/видео.htmlsi=6sDtdeg53bGgq2Rt
Awesome setup! I don't know what app they use. I would guess there is something you could use. How do you control it while offline, with a screen of some sort?
@@ChrisRiley I use the MKSLaser app on my phone to launch the cut from the internal card file. But maybe this isn't really "offline" since there is the connection to my phone via wifi during the cut (still more reliable than the laptop connection). And I have experienced the machine going wonky when I approached the table with my phone in hand to observe the cutting process. This usually results in me quickly finding the cord to unplug everything. LOL Since the table is just resting above the work if it takes off in some direction it can get moved around - both good and bad I suppose. So far nothing major happened before I got to the plug. I'm going to buy some faraday fabrick and make a sleve for the plasma lead. I'm also waiting for the delivery of some sheilded twisted pair wire. I'm then going to see if Grbl Controller app can connect to the board since it has z-axis control. Just have to wait for the OTG to C-type adapter to arrive. Peace.
Hi Chris, Great video, thanks! I got a problem, I did everything you did more than 5 times but the esp8266 can't connect with the printer on the esp3d website, I also changed the serial port but nothing different happened, I'm trying to solve this problem for days, could you please help me with that?
For some reason, our channel got a bunch of comments recently that are over a year old. I hope you got your issue solved. We didn't purposely ignore you. Thanks for watching!
Chris, thank you for these excellent instructions. I loaded the latest code, but when it came time to 'load file system image' I could not see as an option. Clean has replaced "Erase Flash'. Any ideas? thanks again.
There should be a ENV:ESP01 in there now to load the file system.
@@ChrisRiley -thanks, does this replace the [env:esp8266]?
No, just for writing the file system, not for code flashing.
@@ChrisRiley - So where would I need to add this ENV:ESP01?
Could you do something with thr tft 3.5 screen printer not attached thanks
What could we do with no printer?
I'm going to try this with my Neptune 2. esp32 dev board already has Usb for upload. Jump some wires and it should work.
Good luck with your project!
Fun Fact: if you swap VCC and GND, the power light will still light up, but it will refuse to program.
Also, it's a lot easier to program on one of the programming jigs, that has the 8 pin socket on it. I forgot I had one, and tried with a FTDI first. Then I messed around trying to figure out why it wouldn't program, until I just tried another module. :)
🙂 I'm glad you got it going. Thanks for watching
@@ChrisRiley do i have to use a sd card to do that. Because i broke my usb input. And sd card input is getting worse too
@@ChrisRiley can this work without a sd card?
I would need to know how to connect esp8266 to STM32 from geetech. There is a straight 8-pin input and there is no indication of what these pins are.
If they don't have a pinout, use your multimeter to find the voltage pin.
@@ChrisRiley how will it help me to control the board with WiFi?
Chris could you make a video on flashing firmware to an skr1.4 either via octoprint or one of these esp modules?
I can check it out, not sure how it works yet.
@@ChrisRiley Me neither. Been banging my head against a brick wall with it. But other than processing power there's not a lot of reason the pi shouldn't be able to run platformio to flash the board via serial. Even building the firmware on something more powerful like a home pc and sending it to the pi over ssh to then flash.
Anyhoo, I love the content bud keep it up :)
i have no 'upload file system image' feature but everything else works. Idk whats wrong
Check under env:esp01s.
@@ChrisRileygot the same proble, what you mean with it?
@@Thermal488 There is an option in the menu for the ESP01, you can upload from there.
I am having problem finding the ESP3D board in the UK is there an different product
The 8266 board you mean?
Hey i hope someone can help me here. Im trying ot get at SKR V2 with an ESP32 to work. i flashed the ESP32 got the WebUI running and got the serial sorted to a point at wich i can read consol output from marlin in the WebUI but for somereason that only works one way... not the other. So, when restarting the Printer it reads the "sdcard ok" and version massages but when i type in M115 nothnig happens ia there a setting in Marlin where i need to tell it to listen spezificly to Serial_3 ? or should it just take Serial comands from any port ?
Wow, not sure on that, if the serial was setup wrong I would think it wouldn't work at all. There are some jumper setting on that board, maybe check over those again.
@@ChrisRiley I got it working later the day I still don't know why ... I changed no settings at all but went from the uart pins on the wifi place to the TFT pins and it just worked
Was wondering if it can support smart wifi switches so u can send a command to auto shutdown
That's a good question, I am not sure how that would work.
I doubt it, but Octoprint does!
i have everythign working apart from it connecting to the printer the baudrate is set but still does not connect to the printer
Try a few different serial ports, they may be different on your board.
Hey Chris... that was very helpful... i was about to buy one.......
as this way it's pretty much useless.....
would you make a video SKR + Octo-pi
...
As well would love your review on SKR mini UPS and Auto-OFF Relay...
Thanks! I need to find a good auto off module, I would like to try that setup.
SKR+Raspie == just use klipper ?
Hi. I only have an Arduino UNO. I need to know where to connect the IO1 (ESP8266) to the Arduino UNO. THX
Hi. Use the connections from the previous video. Thank you very much
Yes, the first video should help you.
Mine fell down at 11.45 'Path to shell executable "c:\Users\Ben\Documents\Arduino\ESP3D-2.1.1\platformio.exe" does not exist.' Any ideas?
It looks like it didn't get the library installed. I would try to reinstall the platformio extension and see if that helps. Also, you might try running a clean from the build menu.
Yo! I just watched your tutorial and it helped me a lot figuring out the ESP-01s module working with my SKR 1.4 Turbo board. The good news is the latest Arduino framework core for the LPC1769 already contains the definition for UART3 on both P4_28 (the one you've been modifying) and P0_25 (don't know what this one is for yet).
The way I use it is I do this in my Configuration.h:
/**
* Select a secondary serial port on the board to use for communication with the host.
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 3
#define LPC_PINCFG_UART3_P4_28
It limits the number of changes I need to do because I do need to enable SERIAL_PORT_2 anyways so there's no point in messing with the previous serial port.
Anyways - thank you very much for the video!
Awesome, great to hear they updated it, I am going to try it out.
@@ChrisRiley padcom13.blogspot.com/2020/09/esp3d-on-skr-1414-turbo-with-esp01s.html - I've put together what I needed to do to get it to work. Hope it helps
Hi, perfect for me but, my TFT24-v1.1, don´t work. If you put its #define SERIAL_PORT 0
all is correct, TFT and WIFI ok.
I´m in MARLIN 2.0.6.1
#define SERIAL_PORT 0
// Port for REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER (TFT 24 V1.1)
/**
* Select a secondary serial port on the board to use for communication with the host.
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 3
// Port for WIFI ESP3d esp8266-01
#define LPC_PINCFG_UART3_P4_28
Important!! on the ESP8266 you have to solder a wire between 3.3v and CH-PD , the pins on the SKR board are "not used"
Chris, good video and very clear, Now I am subscribed and you have my Like...
Mathias THANK YOU for your idea, I have been changing options a week before.
Greetings from Spain...
@@javsen2121 Thanks for the notes, this will help others.
@chris everything went good and uploaded the firmware. In my list there is no upload file system to click on its just not there.. Any help om this I thank you for in advance
I had exactly the same issue. I solved this problem with this:
1. Update the Espressif 8266 Platform to 2.6.2 (PIO HOME) --> search for "8266" / click the Version (right Corner) / update to 2.6.2 / restart VS Code
2. open the project and edit the "platformio.ini". Add line " board_build.filesystem = littlefs ; SPIFFS ; " in the [env:esp8266] segment . Alternativly copy and paste :
[env:esp8266]
;esp8266 core 2.5.2
platform = espressif8266@2.6.2
platform_packages = toolchain-xtensa@2.40802.200502
board = esp01_1m
board_build.filesystem = littlefs ; SPIFFS ;
framework = arduino
monitor_speed = 115200
; set frequency to 160MHz
board_build.f_cpu = 8000000L
; set frequency to 40MHz
board_build.f_flash = 40000000L
board_build.flash_mode = dio
upload_resetmethod = nodemcu
board_build.ldscript= eagle.flash.1m256.ld
build_flags =
; -Wl,-T
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DNONOSDK221=1
-DNDEBUG
-DVTABLES_IN_FLASH
upload_speed = 115200
lib_ignore =
AsyncTCP
ESP32NetBIOS
ESP32SSPD
3. "Build All and/or UPload All " under the Project Tasks / General. NO separate Donwloading for Ffilesystem required. After that, The ESP3 Accespoint appeared and was able to accept thef iles in the data folder.
4. Continue like Chris suggested
I recently got erros for compiling the code. But I just hit the Build/ Upload button again and everything was fine . Please note the filesystem is not SPIFFS Chris has used. But LittleFS is the one that is preferred for ESP's with limited memory in the future. see :
diyprojects.io/esp8266-upload-data-folder-spiffs-littlefs-platformio/#.X41Ji9AzZEZ
regards TOM
Thanks for the assist!
You welcome
@@tomsakelby9314 If it helps someone else, I had to restart VS Code twice for the settings to show up in order to upload through: Project Tasks->Default->env:esp8266->Platform->Upload Filesystem Image
Hello Chris. I have a question. Can i flash my board (skr 1.4), with the btt writer and wifi module, without sd card inserted on the main board ? ( SKR 1.4 refuse flashing the firmware through the sd card . I have tried almost everything and that thing does not want to corporate. I am just one step before i buy a new board.) Or perhaps i could flashing the main board firmware with writer-wifi setup through the btt tft lcd sd card slot(TFT 35 V3 ) ? Thank you
By all rights, you should be able to, but I have never tried it. Yes, I would give the TFT slot a try as well.
@@ChrisRiley Thank you Chris. I ll give a try.
I've already seen that people have operated the ESP modules with 5 volts. The manufacturer does not specify how long it takes for these to burn out. Maybe hours, days or years?
But the manufacturer states that less than 4 volts should be allowed. A Lipo-FE cell with 3.6 volts is possible without any problems. A normal LIPO with up to 4.2 volts is your risk with a ESP.
RX and TX each need 1k in series to the 5V system. That should already be on the board. Voltage dividers degrade the digital signal because fast 1s and 0s have to be transmitted.
I have no clue how long it would last. There are tons of different types of these out there as well.
To the best of my knowledge, it will smoke immediately. If they were using one of the dev modules (two rows, about 30 pins) they usually have an AMS1117 voltage regulator. It will take the 5v USB, and make it 3.3v for the ESP8266. The AMS1117 can technically go up to 12v, but only for a short time.
The ESP-01 that he's using doesn't have the onboard voltage regulator. It only has the ESP8266EX , T25S80 serial chip, power LED, and a few passive components. These are made to be dirt cheap, and they offload everything, like power management, to the host machine.
Thanks!!!
You bet!
I got around the upload speed issue by using a SD Card with built in wifi
I have seen that workaround before, seems to work pretty well.
hello, i have problems with the esp8266 module, i do configure everythin just fine, and when i connect the module to the usb/serial adapter the esp3d ssid is ok, but when i do connect the module direct to the skr 1.4 board the module do not work, i tested the pin of the skr that goes to the ch_pd pin from and the output is 0V, that must be 3.3v, any help for this??
Those should be active all the time, so there might be something wrong with the board or voltage regulator.
@@ChrisRiley I just buyed two of the same SKR 1.4 boards and both have the same issue, and specifically to use with the esp8266 01, the only difference with the video is that you used the SKR 1.4 TURBO, but seeing the pinout of the WIFI port on skr1.4 and skr1.4 turbo on the board is just the same, THANKS for the response!!! I will try to solve this from the hardware side make a litle piece of board to make a short between 3.3v pin and CH_PD. Your videos are really helpfull and usefull. Keep going man!!! my best regard from Paraguay SOUTH-AMERICA
platformio says it cannot connect to the board i have looked for help online to no avail, is there anything simple i may have missed?
If you ahve a 1.4 you might need the ch340 driver installed on your computer. Check device manager to see if the board is there in com ports.
I followed all the steps but the webpage would not load after configuring it as a client. Only worked with the original build flag "-Wl,-Teagle.flash.1m256.ld"
If someone have this issue just configure the flash size and skip the board_build.ldscript... part
Thanks for the info!
is there away to change the ip address. i have a conflict with my router it is the same login ip address
I did a search in the code and can't find where that is set. Jump over to their discord, they should be able to help you.
I would like 10 times if I could. Thanks!!!
Wow, thanks!
I have ordered the ESP8266 module from BTT store on Aliexpres and it came pre-flashed, I would like to be able to build (i sucesfully can build thx to Chris) my own firmware and then flash it, but the module doesnt communicate with me when connected with the BTT writer, i believe something has to be done to the module to be able to write to it again - like reset command or something, but if i connect everything up as Chris shown here, i simply cant, the module always times out. Ah, the module surely does work, i can sucesfully use it on the printer with the embended FW, but you know, i wanna be able to run my own :) It is not possible to upgrade over the webui, as there isnt enought space in the memmory to upload the .bin file i build myself, so i gotta write it to the module over the programmer, but again, the module doesnt let itself be written to. both the VScode and the ESPflashtool just times out (the COM port and drivers are all fine, connections tripple checked), can anyone advice me, how to make the module communicate with me using the BTT writer? my only conclusion right now is that it boots into the pre-flashed firmware and doesnt let me tx/rx into it without some kind of "magic" that has to be done (like pulling the reset pin to ground or something, but thats beyond me, what rly needs to be done and how) - if anyone can spare some time and help me out here i would be rly grateful :)
I have one form BTT as well and I was able to write to it. The IO0 is the pin that makes it writable. ESPflashtool should work for you. Make sure you have the TX and RX pins flipped.
@@ChrisRiley thx Chris for the video and for taking time to respond, i will try another PC then, maybe some problem with the COM communication alltogether, i have even (after checking it muuuuultipletimes) tried to purposely switch tx/rx and that didnt help either, so i dont think its connection problem, i will follow up when i have time to test with other machine, so maybe other users in the future will have a reference how to fix such issue :)
All data communication is handled via TTL serial. The display, the ESP8266 and the USB port is nothing more than a modern serial port.
If the ESP module can be plugged in at the display, the firmware on the printer board probably does not need to be changed.
Correct, it will just be a serial bridge at that point. The SKR 1.4 has a virtual to allow the USB port to work.
I don't have the Upload File System option. Thoughts?
Same here :(
The library may have changed. You can try using the web tool ESP3D software gives you or try running a clean from the build menu to reload the libraries.
@@ChrisRiley used web ui to upload data files. Works like a charm. Thanks for your videos!
17:45 (Reset not working...) You wired the ESP01's Reset to the USB Writer's RTS (Request To Send) pin. According to docs.platformio.org/en/latest/platforms/espressif8266.html, for that wiring you need to set upload_resetmethod to ck, not nodemcu. This presumably tells platofrmio's programming code that when it wants to perform a reset of the serial-connected device, it should twiddle the serial-over-usb port's ReadyToSend bit.
I worked on this for hours trying to figure out why it wouldn't reset. It's something in the ESPtool.py scripts. All the other tools worked just fine with the ck setting, but not the esptool. If you leave it set to ck it does a soft reset before the flash and a hard reset after. That wasn't enough to get the writer to work. I set it to nodemcu to issue a default reset before the flash. That seemed to do the trick. Again, all other tools worked fin with the ck option. Not really sure what part was wrong, the tool options or my writer wasn't working correctly.
@@ChrisRiley Diligent as usual! I just attempted to look at the trail from the "Upload file system image" task menu item through to twiddling of the RTS line, and there are so many places where something could be amiss. And it's very easy for this to turn into a multi-hour rabbit chase, as you note. Because platformio makes things so simple :-). Not the least problem is that all the software libraries along the way have to understand which polarity of the RTS line means what, and when it can and should be changed. Does setRTS(True) mean set it low, or set it high? So all participants, from the CH340 (or FTDI) chip, Writer board designer, CH340 driver, Windows serial port API, PySerial and esptool.py have to agree on how this is supposed to work. Not to mention drivers for other platforms. I now see there's a long history of rampant mess in this area, judging by github.com/pyserial/pyserial/issues/124. On top of some models of ESP apparently misbehaving if the reset line is held on too long, or not long enough, or.... OK, I think for now I'm just going to offer sympathy :-).
@@Graham_Wideman LOL, sympathy is very welcome! Not sure if the RTS gets toggled high or low, that might be a good test to see what happens.
I can't get my printer to connect running Marlin 2.1.2. I can connect to ESP, but the ESP isn't talking to the SKR 1.4 board. Any ideas?
Make sure serial 0 is set to -1 serial 2 needs to be 2 I think, by try a couple of different numbers. Also, if you have a touch screen, that might be interfering.
@@ChrisRiley I do have a touch screen (TFT35). How would that be interfering?
@@ADBBuild They run on the same bus, so you might be bit bashing, the serial info collides. Try one or the other to rule it out.
chris am getting error in mac and windows this one "Assembler messages:
Fatal error: can't create .pioenvs/esp8266/src/espcom.cpp.o: No such file or directory
*** [.pioenvs/esp8266/src/espcom.cpp.o] Error 1
Hmm, that doesn't even look like the right file extension. I would delete your ESP3d folder and start over with a fresh unzip.
@@ChrisRiley i finally did it but i couldn't find the ESP3D wifi on my network , how can i connect to it ?
Ótimo tutorial, tentei instalar pelo arduino IDE e só deu erro, mas só foi pelo VSCODE sem erros, agora ligar na minha COREXY, Obrigado!!!!
Awesome, great to hear you were able to make it work.
i have a CH341A programmer that I program Bios with it. does that work on this chip?
Yes, that should work, you just have to cable it up correctly.
@@ChrisRiley ye , I’m working on that, there are no documentation on these chips. I don’t want fry the new WiFi lol.
@11:46 - the error mentioned here does not appear in release 2.1.1, can anyone confirm this is OK? (I'm assuming it is, I'm just paranoid...)
also, @17:01, I dont have the "Upload File System" button.....
Check the ESP01 env, it should be there.
@@ChrisRiley So, the files are in esp3d/data (had more time to actually comb through everything). It appears as though you can still interface with the it through the web, you just need to manually upload the index.html.gz there. A button up top will say "switch to ESP3d Interface" or something similar, that will initiate the wizard.
Great Vid, and Thanks for the help!!
I just keep getting this no matter what I do? Have driver installed, can see green light flashing on board....
Uploading .pioenvs\esp8266\firmware.bin
esptool.py v2.8
Serial port COM5
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP8266: Timed out waiting for packet header
*** [upload] Error 2
Did you try changing up the reset method?
help - upload file system image is not there with latest builds of marlin / platformio
You might just have the wrong folder added, make sure you add the one with the Marlin folder in it.
@@ChrisRiley the correct folder was there and in the correct place... PlatformIO has had a recent update.... I got around it by calling the function from the command line .... "pio run -t uploadfs"
@@TheBpgoa This worked for me. Thank you. For anyone trying in the future, click on the Ant PlatformIO logo on the left in VSCode, then under Miscellaneous there is an option PlatformIO Core CLI. Click that, enter in "pio run -t uploadfs" and it should upload the files just fine!!!!!
Can any slicers (such as Simplify3D or CURA) talk to this module via WiFi?
I think they can, port 8888 I want to say.
@@ChrisRiley I know I have asked a lot of you in the last few days, but could you also make a video on this when you get some extra time? I'm sure a lot of people could use this information. lol Thanks again!