No video

Add Wifi To A 3D Printer - SKR 1.4 - ESP8266 - ESP3D - Chris's Basement

  Рет қаралды 90,139

Chris Riley

Chris Riley

Күн бұрын

Пікірлер: 356
@chuckmccollim
@chuckmccollim 3 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 3 жыл бұрын
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.
@goddamnmaddog2024
@goddamnmaddog2024 4 жыл бұрын
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
@ChrisRiley
@ChrisRiley 4 жыл бұрын
LOL, thanks! Others have said that, I think maybe the programmer I have might not be 100%.
@davidlockwood4545
@davidlockwood4545 4 жыл бұрын
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!
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks David, yeah Octoprint is just awesome, that's all there is to it.
@lookin4ward1
@lookin4ward1 3 жыл бұрын
@@ChrisRiley So with running Octoprint on a 4B its pointless putting WIFI on the SKR 1.4T?
@ChrisRiley
@ChrisRiley 3 жыл бұрын
@@lookin4ward1 Pretty much, it is not substitute for Octoprint.
@okolepuka808
@okolepuka808 4 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Always a great tip.
@_funkytorino_
@_funkytorino_ 3 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Glad it was helpful! Thank you!
@Masso1973
@Masso1973 4 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Yeah, it was a fun little side project at least.
@KixMan28
@KixMan28 4 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks! That's good to hear, hopefully it is just the BTT writer causing me problems.
@manitoulinmakers849
@manitoulinmakers849 Ай бұрын
i am using an FTDI aswell but i do not have the file system image upload option at all...
@Doktor_Calamari
@Doktor_Calamari 3 ай бұрын
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... 😅
@ChrisRiley
@ChrisRiley 3 ай бұрын
Awesome, glad this video was helpful.
@shaxperiment
@shaxperiment 4 жыл бұрын
And again Chris solved a problem i had. Great explanation with the Framework! Thanks. You are amazing!
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Great to hear, happy to help!
@olavodias
@olavodias 3 жыл бұрын
Chris is the best. His videos are worth watching all minutes, not any single second is wasted.
@modmike4406
@modmike4406 4 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks! Great to hear! I really like the software.
@eclsnowman
@eclsnowman 4 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Hey Eric, I am going to give that one another try with the newest ESP3D version.
@eclsnowman
@eclsnowman 4 жыл бұрын
@@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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
@@eclsnowman Thanks, will do!
@rods87175
@rods87175 4 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
You're welcome, give it a try, good luck!
@ivanholubec
@ivanholubec 4 жыл бұрын
Thanks for a nice video. At 4:25 green wire is connected to RTS - ready to send and blue to DTR - data transmit ready.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
I might have mixed that up a bit.
@alexkayman8483
@alexkayman8483 4 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks for the comment Alex.
@orto-xm3ve
@orto-xm3ve 4 жыл бұрын
I use a Toshiba Flashair to upload the files and then start the print job via ESP3D- wifi GUI. That works fine.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Awesome, great combo, I might have to try it.
@pedrohenriqueboscofi
@pedrohenriqueboscofi 3 жыл бұрын
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!
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Thanks for sharing!
@charlescarey5874
@charlescarey5874 4 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks Charles and thanks for the extra info!
@RicardoArredondo
@RicardoArredondo Жыл бұрын
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.
@ChrisRiley
@ChrisRiley Жыл бұрын
Good to hear, thanks!
@FSAirsoftUK
@FSAirsoftUK 3 жыл бұрын
i have no 'upload file system image' feature but everything else works. Idk whats wrong
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Check under env:esp01s.
@Thermal488
@Thermal488 3 жыл бұрын
@@ChrisRileygot the same proble, what you mean with it?
@ChrisRiley
@ChrisRiley 3 жыл бұрын
@@Thermal488 There is an option in the menu for the ESP01, you can upload from there.
@stefanb1602
@stefanb1602 3 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Nice, yes, there are a lot more of these boards supporting other wifi modules now. Great to see.
@KryzOrlinski
@KryzOrlinski 4 жыл бұрын
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
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Cool, yep, I use to have one on my RAMPS.
@MauiRedMan
@MauiRedMan 4 жыл бұрын
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
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Cool idea.
@roberthosking7524
@roberthosking7524 3 ай бұрын
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. kzfaq.info/get/bejne/b52Wkruf0ZzDhmw.htmlsi=6sDtdeg53bGgq2Rt
@ChrisRiley
@ChrisRiley 3 ай бұрын
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?
@Hollywood4Fun
@Hollywood4Fun 3 ай бұрын
@@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.
@TravisStamper
@TravisStamper 4 жыл бұрын
Great vid Chris! I have a wifi module that now this will help me install. Thanks!
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks Travis!
@smithktff
@smithktff 4 жыл бұрын
Nice video. Quick Windows 10 tip: Right click on Start. Go straight to Device Manager.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks, that's funny, I know that tip and I always still do control pannel out of habit I guess.
@richardlukofnak1034
@richardlukofnak1034 3 жыл бұрын
I don't have the Upload File System option. Thoughts?
@KonstantinRudoy
@KonstantinRudoy 3 жыл бұрын
Same here :(
@ChrisRiley
@ChrisRiley 3 жыл бұрын
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.
@KonstantinRudoy
@KonstantinRudoy 3 жыл бұрын
@@ChrisRiley used web ui to upload data files. Works like a charm. Thanks for your videos!
@JoJo-wq6zl
@JoJo-wq6zl 4 жыл бұрын
This helped me so much! After correcting my Misconception it works fine. Thanks!
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Great to hear!
@djand77
@djand77 4 жыл бұрын
Great video Chris, thanks! Would you consider doing another video on getting the RepRap software running on the SKR board too?
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks, Yes, I plan on doing a video on this.
@okolepuka808
@okolepuka808 4 жыл бұрын
yeah!! Thanks Chris, I spent fkin hours trying to get this to work with that janky upload tool, your tutorial went smooth as silk
@ChrisRiley
@ChrisRiley 4 жыл бұрын
👍
@BLBlackDragon
@BLBlackDragon 4 жыл бұрын
Guess I need to update the firmware on my Hypercube Evo. But this looks pretty slick.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
It's kind of a fun project.
@davideiacolino
@davideiacolino 3 жыл бұрын
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!
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Great to hear, the Marlin team has changed somethings up for us to make this a little easier.
@jerrykey8092
@jerrykey8092 4 жыл бұрын
like always lots of info great job
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks Jerry!
@jensschroder8214
@jensschroder8214 Жыл бұрын
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.
@ChrisRiley
@ChrisRiley Жыл бұрын
I have no clue how long it would last. There are tons of different types of these out there as well.
@JWSmythe
@JWSmythe Жыл бұрын
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.
@helge1104
@helge1104 4 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
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.
@helge1104
@helge1104 4 жыл бұрын
@@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 . :-)
@sek295
@sek295 5 ай бұрын
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 😅
@ChrisRiley
@ChrisRiley 4 ай бұрын
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/
@padcom
@padcom 3 жыл бұрын
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!
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Awesome, great to hear they updated it, I am going to try it out.
@padcom
@padcom 3 жыл бұрын
@@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
@javsen2121
@javsen2121 3 жыл бұрын
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...
@ChrisRiley
@ChrisRiley 3 жыл бұрын
@@javsen2121 Thanks for the notes, this will help others.
@greisofaulim7471
@greisofaulim7471 Ай бұрын
Ótimo tutorial, tentei instalar pelo arduino IDE e só deu erro, mas só foi pelo VSCODE sem erros, agora ligar na minha COREXY, Obrigado!!!!
@ChrisRiley
@ChrisRiley Ай бұрын
Awesome, great to hear you were able to make it work.
@pruthuvinavod7035
@pruthuvinavod7035 4 жыл бұрын
Its more important and interesting vibeo. Great work♥️
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thank you so much 😀
@maciejonych5245
@maciejonych5245 3 жыл бұрын
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?
@ChrisRiley
@ChrisRiley 3 жыл бұрын
The moved them into their on ENV, check out the ones below, they are labeled esp-01.
@JWSmythe
@JWSmythe Жыл бұрын
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. :)
@ChrisRiley
@ChrisRiley Жыл бұрын
🙂 I'm glad you got it going. Thanks for watching
@topitop6217
@topitop6217 11 ай бұрын
@@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
@topitop6217
@topitop6217 11 ай бұрын
@@ChrisRiley can this work without a sd card?
@finlaymorgan1405
@finlaymorgan1405 4 ай бұрын
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?
@ChrisRiley
@ChrisRiley 4 ай бұрын
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.
@Nathan0A
@Nathan0A 3 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 3 жыл бұрын
I haven't seen that yet, I'll take a look.
@Tukumnieks98
@Tukumnieks98 3 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 3 жыл бұрын
There might be a problem with the voltage regulator on the board. Does it check out with your multimeter?
@richardcrook2208
@richardcrook2208 3 жыл бұрын
@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
@tomsakelby9314
@tomsakelby9314 3 жыл бұрын
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
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Thanks for the assist!
@tomsakelby9314
@tomsakelby9314 3 жыл бұрын
You welcome
@nicholasfranks6630
@nicholasfranks6630 3 жыл бұрын
@@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
@thediscoman2001
@thediscoman2001 3 жыл бұрын
i have everythign working apart from it connecting to the printer the baudrate is set but still does not connect to the printer
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Try a few different serial ports, they may be different on your board.
@Rob_TheOne
@Rob_TheOne 3 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 2 жыл бұрын
Good luck with your project!
@BigDaddysChannel
@BigDaddysChannel 4 жыл бұрын
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?
@ChrisRiley
@ChrisRiley 4 жыл бұрын
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.
@daanvolvo5719
@daanvolvo5719 3 жыл бұрын
I don't know if you can run octoprint with this? Or do you need an arduino to use octoprint?
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Octoprint needs python, so using something that runs linux is your best bet.
@hopewellmedicalacupuncture1049
@hopewellmedicalacupuncture1049 3 жыл бұрын
It would be great if you could do a video for The Wi-Fi install on a Prusa mk3s
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Yeah, the best install for the MK3 is Octoprint.
@andyspoo2
@andyspoo2 Жыл бұрын
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.
@ChrisRiley
@ChrisRiley Жыл бұрын
I have done one, but they are mainly just to use REPRAP firmware. kzfaq.info/get/bejne/rdaKpJWQ06qUeKM.html
@DartvenOp
@DartvenOp 2 жыл бұрын
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?
@ChrisRiley
@ChrisRiley 2 жыл бұрын
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!
@jcornellier76
@jcornellier76 4 жыл бұрын
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
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Did you try changing up the reset method?
@raptorkoko
@raptorkoko 3 жыл бұрын
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
@ChrisRiley
@ChrisRiley 3 жыл бұрын
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.
@niceguy6182
@niceguy6182 3 жыл бұрын
@@ChrisRiley Thank you Chris. I ll give a try.
@robo909
@robo909 4 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
If you don't need to use the serial cable (USB), set your second serial to 0.
@MrKhay82
@MrKhay82 4 жыл бұрын
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....
@ChrisRiley
@ChrisRiley 4 жыл бұрын
I'm glad it worked!
@guillermothanatosenju8623
@guillermothanatosenju8623 3 жыл бұрын
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??
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Those should be active all the time, so there might be something wrong with the board or voltage regulator.
@guillermothanatosenju8623
@guillermothanatosenju8623 3 жыл бұрын
​@@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
@jensschroder8214
@jensschroder8214 Жыл бұрын
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.
@ChrisRiley
@ChrisRiley Жыл бұрын
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.
@zipdigital
@zipdigital 3 жыл бұрын
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!
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Ah, great info, that makes since.
@ADBBuild
@ADBBuild 9 ай бұрын
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?
@ChrisRiley
@ChrisRiley 8 ай бұрын
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.
@ADBBuild
@ADBBuild 8 ай бұрын
@@ChrisRiley I do have a touch screen (TFT35). How would that be interfering?
@ChrisRiley
@ChrisRiley 8 ай бұрын
@@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.
@alfredanil
@alfredanil 3 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 3 жыл бұрын
No ethernet yet that I know of.
@alfredanil
@alfredanil 3 жыл бұрын
@@ChrisRiley seems like marlin does support teensy 4.1 ethernet
@sharadjadhav7234
@sharadjadhav7234 4 жыл бұрын
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...
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks! I need to find a good auto off module, I would like to try that setup.
@Nathan0A
@Nathan0A 3 жыл бұрын
SKR+Raspie == just use klipper ?
@FernandoCastillo555
@FernandoCastillo555 3 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 3 жыл бұрын
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.
@webslinger2011
@webslinger2011 4 жыл бұрын
Does esp-01 really need the rst pin? I've got the FTDI from DF Robot and the CP2102 usb adapters.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
No, you shouldn't need to use it.
@webslinger2011
@webslinger2011 4 жыл бұрын
@@ChrisRiley Thanks! I have a couple of clones from aliexpress.
@CorruptName1
@CorruptName1 3 жыл бұрын
I just did this and now you need to add this line to Configuration.h: #define LPC_PINCFG_UART3_P4_28 And SKIP editing the framework. I added it just above "#define SERIAL_PORT 3" so that i remember later.
@CorruptName1
@CorruptName1 3 жыл бұрын
I figured this out because when I opened the framework HardwareSerial.h it had the changes already made but said "#if defined(LPC_PINCFG_UART3_P4_28)" and I couldn't find a define for it anywhere. But once I added it my esp8266 would then connect to the printer. Without, it would not.
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Cool, thanks!
@svenbe9381
@svenbe9381 4 жыл бұрын
Chris, that helped a lot. Thank you so much.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
You're welcome! Thanks for watching
@mondy-chan
@mondy-chan 4 жыл бұрын
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 :)
@ChrisRiley
@ChrisRiley 4 жыл бұрын
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.
@mondychan
@mondychan 4 жыл бұрын
@@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 :)
@allanpenston7359
@allanpenston7359 3 жыл бұрын
I am having problem finding the ESP3D board in the UK is there an different product
@ChrisRiley
@ChrisRiley 3 жыл бұрын
The 8266 board you mean?
@NamacilHDx
@NamacilHDx 3 жыл бұрын
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 ?
@ChrisRiley
@ChrisRiley 3 жыл бұрын
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.
@NamacilHDx
@NamacilHDx 3 жыл бұрын
@@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
@dieselhead24
@dieselhead24 3 жыл бұрын
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?
@ChrisRiley
@ChrisRiley 3 жыл бұрын
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.
@TripodsGarage
@TripodsGarage 4 жыл бұрын
Great video!
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks!
@milanmilus1
@milanmilus1 4 жыл бұрын
Its amazing. Thank you!!
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks for watching!
@johndavid7840
@johndavid7840 3 жыл бұрын
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
@ChrisRiley
@ChrisRiley 3 жыл бұрын
I'm not sure, but I will be looking at a new GEN L board sometime soon.
@thediscoman2001
@thediscoman2001 3 жыл бұрын
right chris iv come back to this one as i want to add wifi iv come across a problem i have wired everything as is comiled with vscode but when i try to upload all iyt keeps saying is Connecting........_____....._____....._____....._____....._____....._____....._____
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Everyone of those boards is a bit different. What ESP and what writer are you using?
@thediscoman2001
@thediscoman2001 3 жыл бұрын
@@ChrisRiley the writer is the sAME O9N IN THE ARTICLE V1.0
@thediscoman2001
@thediscoman2001 3 жыл бұрын
have u got any videos of how to setup dual z endstops please as im struggeling with it
@ChrisRiley
@ChrisRiley 3 жыл бұрын
I don't currently, but I might run through it in the future.
@bobaloo682
@bobaloo682 4 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
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.
@MikeY-js6mw
@MikeY-js6mw 4 жыл бұрын
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??
@ChrisRiley
@ChrisRiley 4 жыл бұрын
I can't get serial to work on those chips at all. I am not sure why really.
@EnergySeeker
@EnergySeeker 4 жыл бұрын
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
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Hmm, that doesn't even look like the right file extension. I would delete your ESP3d folder and start over with a fresh unzip.
@EnergySeeker
@EnergySeeker 4 жыл бұрын
@@ChrisRiley i finally did it but i couldn't find the ESP3D wifi on my network , how can i connect to it ?
@ayourk1
@ayourk1 4 жыл бұрын
5:28 = start of VS Code install
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks for the link! They indexes are always helpful.
@robo909
@robo909 4 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
I am not sure what to check, did they release a new version?
@user-jo2cd7qy9v
@user-jo2cd7qy9v 3 жыл бұрын
Could you do something with thr tft 3.5 screen printer not attached thanks
@ChrisRiley
@ChrisRiley 3 жыл бұрын
What could we do with no printer?
@SAM58SAM58
@SAM58SAM58 3 жыл бұрын
I would like 10 times if I could. Thanks!!!
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Wow, thanks!
@bobbylarson80
@bobbylarson80 Жыл бұрын
is there away to change the ip address. i have a conflict with my router it is the same login ip address
@ChrisRiley
@ChrisRiley Жыл бұрын
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.
@jress6778
@jress6778 3 жыл бұрын
Chris, good day.Your videos are very clear.I have a set:SKR 1.4 Turbo+TFT 35V3+ESP8266+3DTach+power off module(MW350 power supply)?Marlin 2.0.6; I connected everything according to your lessons-everything works out, thank you.But questions remain-please help.WiFi only works on the display.On the Board, according to your lessons, it is not possible to start(activate) - in Marlin2.0.6 contacts (28 and 29) in the UART3 port are registered but it still has pins (P0_25 and 26) and the module does not respond.((((Please help me figure out how to connect to Repetier-Host (I don't have a stable connection) and send files to the SD card of the Board?Files in their entirety are not they are sent, although it shows that the file is being written.I'm from Saint-Petersburg, please forgive the translation difficulties.Thank you for your work.Stability and good luck!!!
@ChrisRiley
@ChrisRiley 3 жыл бұрын
You will not be able to use the screen and the wifi connected to the board the serial gets confused. That's why it works on the screen, the screen is utilizing one of the serial ports. It's unfortunate, but you will have to pick and chose with serial devices you have.
@jress6778
@jress6778 3 жыл бұрын
@@ChrisRiley Chris, good day.I watch your videos many times .You have shown the solution path in Marlin 2.05,I use 2.06, and in the file (HardwareSerial) uart3 looks like this - (( } else if (UARTx == LPC_UART3) { // Initialize UART3 pin connect PinCfg.OpenDrain = 0; PinCfg.Pinmode = 0; #if defined(LPC_PINCFG_UART3_P4_28) PinCfg.Funcnum = 3; PinCfg.Portnum = 4; PinCfg.Pinnum = 28; PINSEL_ConfigPin(&PinCfg); PinCfg.Pinnum = 29; PINSEL_ConfigPin(&PinCfg); #elif defined(LPC_PINCFG_UART3_P0_25) PinCfg.Funcnum = 3; PinCfg.Portnum = 0; PinCfg.Pinnum = 25; PINSEL_ConfigPin(&PinCfg); PinCfg.Pinnum = 26; PINSEL_ConfigPin(&PinCfg); #else PinCfg.Funcnum = 2; PinCfg.Portnum = 0; PinCfg.Pinnum = 0; PINSEL_ConfigPin(&PinCfg); PinCfg.Pinnum = 1; PINSEL_ConfigPin(&PinCfg); #endif )) I Can't connect WiFi on the Board(TFT is disabled).Help if you can.Thanks.Stability and good luck!
@ChrisRiley
@ChrisRiley 3 жыл бұрын
@@jress6778 Is the module powering up?
@jress6778
@jress6778 3 жыл бұрын
@@ChrisRiley Yes, the module works clearly on the screen.If I put it on a Board without TFT, it is not determined by the Board.The port is registered 3 and 0. the code in Marlin is not clearly spelled out;in the letter above.Thanks.Good luck!
@eklypa
@eklypa 3 жыл бұрын
Same problem
@daniel57985
@daniel57985 4 жыл бұрын
Great! Thank you!
@ChrisRiley
@ChrisRiley 4 жыл бұрын
You are welcome!
@surferlebt
@surferlebt 3 жыл бұрын
Thx, now it works! Nice work!
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Glad it helped, thanks
@martinTintin476
@martinTintin476 Жыл бұрын
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.
@ChrisRiley
@ChrisRiley Жыл бұрын
If they don't have a pinout, use your multimeter to find the voltage pin.
@martinTintin476
@martinTintin476 Жыл бұрын
@@ChrisRiley how will it help me to control the board with WiFi?
@cobra_vinicius
@cobra_vinicius 4 жыл бұрын
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
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks for the info!
@kevintech5869
@kevintech5869 4 жыл бұрын
I got around the upload speed issue by using a SD Card with built in wifi
@ChrisRiley
@ChrisRiley 4 жыл бұрын
I have seen that workaround before, seems to work pretty well.
@emaildofaustino
@emaildofaustino 4 жыл бұрын
Nice video Chris! In the BTT way of flashing have you tried unziping the index.html.gz and then upload that?
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Thanks! I did, I still can't get it to upload, it throw a can't connect error.
@adriantobiasreite9345
@adriantobiasreite9345 4 жыл бұрын
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?
@ChrisRiley
@ChrisRiley 4 жыл бұрын
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.
@Graham_Wideman
@Graham_Wideman 4 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 4 жыл бұрын
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.
@Graham_Wideman
@Graham_Wideman 4 жыл бұрын
@@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 :-).
@ChrisRiley
@ChrisRiley 4 жыл бұрын
@@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.
@fernandoeberger
@fernandoeberger 4 жыл бұрын
Hi. I only have an Arduino UNO. I need to know where to connect the IO1 (ESP8266) to the Arduino UNO. THX
@fernandoeberger
@fernandoeberger 4 жыл бұрын
Hi. Use the connections from the previous video. Thank you very much
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Yes, the first video should help you.
@wangouthangout
@wangouthangout 3 жыл бұрын
Chris could you make a video on flashing firmware to an skr1.4 either via octoprint or one of these esp modules?
@ChrisRiley
@ChrisRiley 3 жыл бұрын
I can check it out, not sure how it works yet.
@wangouthangout
@wangouthangout 3 жыл бұрын
@@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 :)
@3dmjp
@3dmjp Жыл бұрын
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.
@ChrisRiley
@ChrisRiley Жыл бұрын
Cool, thanks for your insight!
@Deringer81
@Deringer81 3 жыл бұрын
@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...)
@Deringer81
@Deringer81 3 жыл бұрын
also, @17:01, I dont have the "Upload File System" button.....
@ChrisRiley
@ChrisRiley 3 жыл бұрын
Check the ESP01 env, it should be there.
@Deringer81
@Deringer81 3 жыл бұрын
@@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!!
@shrine010
@shrine010 3 жыл бұрын
I have no erase flash option
@ChrisRiley
@ChrisRiley 3 жыл бұрын
In VScode? Do you have the other options.
@Rfhdvcgf
@Rfhdvcgf 4 жыл бұрын
Was wondering if it can support smart wifi switches so u can send a command to auto shutdown
@ChrisRiley
@ChrisRiley 4 жыл бұрын
That's a good question, I am not sure how that would work.
@Splinterx182
@Splinterx182 4 жыл бұрын
I doubt it, but Octoprint does!
@MarinusMakesStuff
@MarinusMakesStuff 4 жыл бұрын
I have done this on a Mac OS machine without using the software supplied by BTT. If enough people want to know exactly how I can do a video on it.
@ReadyToFish_TG
@ReadyToFish_TG 4 жыл бұрын
pleaseee, im having issues and can't get it right, can I get in connection with you somehow? Thanks
@ChrisRiley
@ChrisRiley 4 жыл бұрын
Cool, looks like others would like a video.
@MrEvanmartinez
@MrEvanmartinez 6 ай бұрын
Has anyone had success getting this working with RRF?
@ChrisRiley
@ChrisRiley 6 ай бұрын
Not on the 1.4, but I have had on the SKR2. kzfaq.info/get/bejne/rdaKpJWQ06qUeKM.html Not sure that 1.4 will support RRF.
@rickeymh
@rickeymh 3 жыл бұрын
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.
@ChrisRiley
@ChrisRiley 3 жыл бұрын
There should be a ENV:ESP01 in there now to load the file system.
@rickeymh
@rickeymh 3 жыл бұрын
@@ChrisRiley -thanks, does this replace the [env:esp8266]?
@ChrisRiley
@ChrisRiley 3 жыл бұрын
No, just for writing the file system, not for code flashing.
@rickeymh
@rickeymh 3 жыл бұрын
@@ChrisRiley - So where would I need to add this ENV:ESP01?
Add wifi to your Bigtreetech mainboard/touchscreen - ESP-01S guide
16:16
SD Card + ESP8266 = OctoPrint Alternative?
16:28
Made with Layers (Thomas Sanladerer)
Рет қаралды 259 М.
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 15 МЛН
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 45 МЛН
Кадр сыртындағы қызықтар | Келінжан
00:16
The coolest robot I've ever built!
19:40
Thomas Burns
Рет қаралды 4,6 МЛН
NVIDIA Needs to STOP - RTX 3050 & Misleading Branding
11:35
Linus Tech Tips
Рет қаралды 1,4 МЛН
The 10 Upgrades I Install on EVERY Klipper 3D Printer
17:00
The Next Layer
Рет қаралды 103 М.
Cheap Remote Monitoring for ANY 3D Printer! #3dprinting
13:56
Nero3D the Canuck Creator
Рет қаралды 53 М.
Porting Python to a terrible $3 smartwatch
1:11:17
Poking Technology
Рет қаралды 351 М.
Built In CANBUS! Makerbase MKS SKIPR Klipper Board
11:43
ModBot
Рет қаралды 24 М.
First 24 Upgrades for my Ender 3 Pro - Part 1
13:41
Scott Yu-Jan
Рет қаралды 4 МЛН
The Petabyte Pi Project
22:27
Jeff Geerling
Рет қаралды 2,2 МЛН
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 15 МЛН