ESP8266 | MicroPython | #ElecrowMaker

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello i think i am live now welcome to image and today's special session on esp we are going to use this board today okay uh so let me first share my screen let's see what all i have for you so this is what i have for you all now we are going to introduce interfacing between esp8266 and our laptop how do we uh interfaces how do we burn the micro python sdk firmware onto this and how do we write a simple python code into this so that it will be useful for us for future projects so today's session will be uh more like a base based project or you can say a base session for our future sessions or for future projects where we'll be developing our uh projects or programs or codes uh on micro python so for that today's session will work as a base so you first must go through this session uh before going to uh or before implementing any other future projects on micro python and esp8266 if you need any if you need any help or need this document and the code that i have inside this you can contact me and you can ask me in the comments window or ask me my facebook whatsapp my facebook group my whatsapp number is there in description of this video so you can go ahead and get it from there okay so without making any further delay let's try to understand how do we program esp8266 for python or micro python okay so whether you have zero knowledge on esp or you are a master of us this section will be absolutely useful and essential for both here i am going to explain each and every aspect of esp starting from zero to develop a hello world program and in this section especially i'm using esp8266 module this is the module that i am going to use and i will teach other esp modules in different sessions when i plan for those in near future so let's set them here we go so before writing any code to esp8266 there are a couple of things that need to be done in at once don't worry about all of those so these are one time activity and we'll all get to know them soon just follow the step-by-step methods and finally you will become a pro esp developer nice to hear this news right so first of all this is the module this is the module it looks like this and installing drivers we use micro usb data cable to connect it to our laptop to power it on and for programming purpose of course the needed usb drivers must be installed in our laptop so before using esp there are a couple of softwares there are a couple of tools that need to be downloaded these are the prerequisites for that so that those will be helpful for us to develop or to interface to make any transfer of files between my laptop and the esp so these are the prerequisites that we are going through now you can easily get transmittable drivers from internet as per your operating system just do the google search on that since i am using 64-bit windows stand home edition so these are the drivers that i need my laptop to recognize this usb esp module these are the two drivers that i need so you need to first install that let me show you in my system where i have those drivers so inside this i have them drivers so these are the two drivers that i need to install so you will go to this and just install this using this setup so this is the one first driver and the other one is this one so using this installer you can install it so i'm not going to install it because those are already installed on the machine and this will be pretty straightforward approach to install any uh like any other drivers that you install on your operating system so once you have installed this make sure that your esp8266 is being recognized by your pc so for that you will connect this to your usb so i am connecting this is the 8266 and i have connected to the micro usb and the usb portion of that i'm going to connect this to my laptop so i'll be connecting this to my laptop okay so i have connected this now you have to make sure that this esp is being recognized so for that you will go to the device manager so you will open up the device manager and inside this device manager you should see the available port that has been assigned to your esp so this is the com4 port that you see it has been recognized so my esp is being recognized by my laptop so this is the basic step that we need to do before going ahead next step will be installing python and other tools i am not going to explain here how to install python because this is the basic step and it may vary from operating system to operating system you can uh you can see internet this information in the internet how to install python on your operating system you can search for any blog for that but make sure that you have installed python and you know where it has been installed and you have to set the path environment variable for your python path okay so let me just show you where i have installed python i'll quickly show you e installations inside this i have python38 so this is the location where i have installed python okay and again if i'll show you my environment variable let me show you my environment variable path variable it will go here you check the path and you can see i have given the python 38 install path in my path variable path environment variable okay so once you have done that you should be able to see your python working so just the easiest step to see if your python is working or not or your path variable that you have set up it's correctly set use python and you will use the version command then you should show the python version over here so it means my python has been installed correctly so this was the first step next we will use for python so how do we install it so is a utility using which we can install some libraries tools that will be required for us in this uh project so we will install pip so how to install pip we'll go to this location don't worry about this whole url i can provide you this document if you need ask me for the for this document i will give you i will go another browser i will show you this is the file uh content so you have to save this file with get quick dot pipe name inside your system so i will show you where i have uh installed this or downloaded this let me go to here inside this i have it here so this is the location where i have downloaded gap dot y once you have downloaded get fit dot y you will use you will do to install open the command form go to the downloaded directory and run below command so you have to go to this location i will copy this location first i will do cd to that location cd and i will go to that location where i have downloaded get fit dot y and then i will simply execute this command python get quick got right so i will uh execute this command so if you have already installed pip then it will try to uninstall that and it will reinstall it so i already had it so it uninstalled this and it's trying to successfully it has successfully uninstalled it now it will install this it will not take much time to install pip just let's wait for that couple of minutes once it is done so my pip is installed and then next you have to install mp so this is empire adafruit m5 so this is one of the important tool to interrupt micro python in esp from your windows if you want to interact between your windows machine or your mac machine and esp so empi tool is very important tool we can use this tool to copy files from windows to esp we can explore esp directories read files so this will be the command to install m5 so i will go to the command prompt i will clear the screen and i will simply give this command here clip install adafruit entry since i have already installed this so it is not going to reinstall it again so it is but in your case it will successfully install your m-file and once you have installed mpi next step will be installing esp tool so this is another important tool esp tool using this tool usually you erase the flash of your esp or you will uh burn the new firmware into your esp so these are uh so this is one of the important tool esp tool is one of the important tool for your esp working so this is the command to install this so you will go here and you will simply give this command in the command prompt with install esp2 since this is already installed in my system it is not going to install it but for your case it should properly install and you should know where it had installed the path the location you should know in my case it has installed esp tool at this location so you have to copy this location because this app will be used in our future commands that we will be soon going to use so let me just show you where my esp tool is been installed so inside e there is installations and inside this i have python settings i have lib i have slide packages and here you can see esp2 right so you will just copy this location because this location will be useful for me i'll copy this location for esp2 so this esp tool will be useful for me okay i have just written down the esp tool dot pi location once you have done that note during installation it will show you the path where it is going to install esp2 you must need to know that part as it will be used in future commands so our esp to location was this and i have moved it down now another important tool that we are going to install is open ssl but this will be used to change amazon aws certificate and private key into their format so since in future projects we are going to interact with amazon aws uh and firebase database and all sort of stuff and we'll be sending our sensor data to aws or firebase so that time if this open ssl will be useful but we are going to install it now so how do we install it it may differ from your operating system to operating system for me it's windows so this is the location from where i can get the latest open ssn for you if you are using something some other operating system just try to google it and try to find uh where can you get open ssl and you can install it so this is the location where i can get if you'll scroll down so here is the executable for for me for windows for 64-bit open ssl i will download it when you will click it it will download it here and i'm not going to download it i'm going to cancel it because i'm already having it and i already installed it installing is pretty much straightforward you will just follow the installation vijar so i am not going to explain it into further detail because this is related to your operating system and how do we install any other software it should be the same installation steps okay but make sure that you have properly installed open ssl and and just let me show you where it has installed for me inside e installation i have open sl installed over here in this location and another thing you have to give the bin path of your open ssl in your path variable so if i will show you my environment variable path variable inside that so this is the path variable and you will see i have already set open ssl in my path variable okay so once you have the this then you need to make make sure that open ssl is working as expected and this command is working expected so let me try to this command so which is only the open ssl version that has been installed in your system so if it is working this open access command is working means your installation is done perfectly fine so far i have only installed the things which is required and pretty much uh you can say compatible to your operating system and it may vary from my uh windows to your mac or linux next thing that we have to install web ripple web repl so web repl is an experimental feature available in esp port so this is one of the useful tool to interact with esp from a web browser so if you don't want to use uh any uh terminal window like tera term or any other terminal software to instruct your esp you can use web browser also means you can open a web portal and from there you can transfer files inside your esp you can retrieve files from your esp using this web browser so uh so how do we do that for that we have this web rpl functionality to install it just download the zip file from here and then unzip it and then you simply open the folder inside this folder you can you can see a file and you can just browse that file so first let me show you how do we do that so this is the github github location from where you will download the zip file you will go there and from here you can simply download the zip so once you will download the zip and unzip it i'm not going to download it because i'm already having it i will just show you after unzipping it so let me show you how we look like after unzipping so i had unzipped it and when when i unzip i get this folder web repl dash master and inside this master you will see couple of javascripts files and html and python files so this is one of the browser file that i was talking about webrtpl.html so you need to open this file in your web browser and it will connect to your esp and then from there onwards you can interact with your esp how do we do that we'll see in just a minute but before that let's finish up some mandatory tools that we are going to install so once you have uh installed web repl the last part will be installing carat app so caratum is the terminal emulator for windows for your mac and other operating system you may have some other different serial terminal softwares uh using which you can interact with your pc or you can interact with your esp it supports serial support like you are uh teratomy is another terminal software using that you can use uh serial uh code you can use telnet in that you can use ssd connections we'll use teratom to connect to our communication so if you don't want to be or if you don't want web rep and to connect or to communicate with your esp you can use tera term for that so how do we install it you need to just download it from there and just follow the standard installation steps or you can just follow the installation wizard for that so this is quite straightforward there is nothing much to explain so far so good and we are good to go and we have already installed all the activities we have done all the activities that are required uh for esp8266 to work in our laptop if you have not done all the steps so far please go ahead and do that first before moving ahead so now is the time and then we'll burn firmware into esp8266 once we are done installing basic tools it is time to burn micro python firmware into our esp8266 there are two basic firmwares one is the 80 firmware another is micro python firmware so but in this session we are using micro python firmware and in future sessions we will also try it from here so i'm in future also i will i'm planning to make some live classes live sessions where i will cover 80 firmware but here i am focusing on micro python firmware so first and foremost let's get the latest micro bicycle firmware we need the bin file dot bin file for esp8266 remember we will be having esp32 module also but you have to download the firmware for esp82 especially this is the official link so it will go to this link let me show you the link okay so this will be the link where you will see all available firmware here you will just search for esp8206 and i am looking for 2021 the latest one so if you will search for this esp8266 2021 you will see couple of uh latest firmware so you should download the latest one so this is the one which i am seeing the latest one for d21 june 18 version 1.16 and we need the binary file you just just click it and as soon as you will click it it will uh download it here right so once you have downloaded it i will show you where i have it in my system so if i go to that and from here this is the location where i had downloaded it already i already have it in 2021 june 18th this is the latest firmware i have downloaded now let's go the next step once you have downloaded the firmware now our aim now connect your esp so here till this point we are done so now connect your esp8266 to a laptop and note the comp okay so now is the time i will take this out again usb port i have taken the usb out for my esp and i will connect it again so i'm connecting it okay so i have connected it and then get the com port me see the comfort for that from device manager this is the device manager and inside device manager under code i have got com4 so comfort is is my port for esp so but for you it may be different and if you are working on linux or some other operating system you may be having a usb port for your esp something like slash device usb 01 or something something like that note that down and first now open the command prompt and cd to the directory where you have downloaded the firmware so my firmware location is this so i will copy this location and open the command prompt and i will cd to that location first we'll go to that location and i'm in description let me make it a little bit lengthier so that all the commands should be seen in a single line okay i'm inside that now i'm inside firmware micro python where i have the latest firmware downloaded now use below command to erase the flash first so before before burning a new uh firmware on your esp first let's let's uh erase all the data that you have already in your in your module this will be the command for that let me just first copy this command i am copying this command first so here you need to make sure that this will be the your esp tool dot pi location that we had already copied if you remember we had copied our esp tool dot file location we had saved it here so this location this should be your esp by location esp2 pi location and make sure that you are using your com port so in my case it is com 4 so i will give com 4 so this will erase my esp so let's give this command it is trying to erase it so it is erasing the flash before uh before burning any firmware uh first of all it is always good idea to uh first erase everything so my this process is completed chip it is completed successfully now so once it is done congratulations we have uh successfully erased uh the factory data or whatever settings or whatever data was there in this uh module now will be use below command to burn the latest from there so as i already mentioned that esp tool you should give your esp2 location here again we use esp tool dot py to install our or to burn our firmware to our esp here you should use your com port and if you are using unix so your com port will be slashed to device usb 01. so that will go here and this will be the file of this will be the firmware file that we have just downloaded okay so i assume that you are already inside the location where you had downloaded your firmware so you should be good to execute this command but remember this command should go in one line it should not be there should not be two lines so first always it's a good idea to copy and paste in the notepad or any any editor and try to make sure that everything is in one line so for me it's everything is in one line i will copy this and paste it here let me copy this and i will paste it here make sure this is a complete one line and uh you use your com port and i will change from three to four and you should use your esp tool location okay so i think this command is okay for me and this last line this last file this is the firmware that i'm going to burn to this uh esp so let's try to do that so it is writing it so many times uh what happens uh due to some issues writing issues uh our firmware could not get written properly to our esp modes this could happen because of your supply issue or this could happen because of your corrupted esp it could happen because of you have corrupt version of your firmware there could be any reason so because of such reasons the firmware could not get written properly here so how do we identify it uh you have written your software if you have written firmware in your esp and if you are oh my ah written process is completed okay so i was talking about how do we know that firmware is not written properly the same case has right here see if you will be seeing your esp the blue screen the blue led the blue led keep on blinking so this is the sign that my firmware has not been burned properly so it has gone into a loop my esp has gone into a loop and it is keep on clicking this blue so i have to reinstall the firmware so if it means like esp tool that we used to burn our firmware it did not write properly this time i will be using some different tool to burn that i'll be using a gui tool and i will show you how to do that but before that let's try to erase it so remember our erase command so using erase flash i will erase it and you will see now there is no blinking of uh no building happening of our blue led because now it is already erasing the flash so it is process is done so now we will use the ui tool to to re-burn the firmware so now i have mentioned that gui tool in this document also and if you need this tool this burning tool firmware bunny tool you can ask me i can provide you this as well so i will show you how to do that so first let me open so this is the tool esp8266 flasher flash style chinese developer tool so you just open this tool but before that before using this tool you need to make sure one thing very uh carefully like you should first you should take out your esp from the laptop there should not it should not be connected okay now uh when you use this tool you have to you will see if you will see there are two buttons so one of this is the flash button here and another one is the this boot button right the reset button so this is the reset button and this is the flash button so before using your gui tool you need to keep pressing this flash button so i'm pressing this flash button so while keeping this flash button you need to plug your usb into your laptop so once your usb is plugged in then you release the flash button so this is the process of using this gui tool so i am again repeating how do we do that first you keep pressing this flash button of your esp okay and then you plug your usb cable inside your laptop and then you release the flash button now uh it means so when you do this process it means now your esp is ready uh in the burning washer in the burning mode you can see and now your external ui tool the tool that i have node mcu firmware programmer tool so now this tool can write or can burn firmware into your esp okay so the tool is in front of you inside config tab you will go here and select the firmware that you want to build that you want to burn so this is the latest firmware june 18th i want to burn this open it and make sure the memory location you have given hexadecimal and five times zero one two three four five times zero hexadecimal and under operation tab select the com port and just click flash so as soon as you will click flash your tool should start writing into your esp board and if you will observe during this right process if you will see carefully this blue led is blinking so this means that right is in process okay so right from where writing is happening and now again once this firmware process is burned is written into the csp then and this blue led should not be keep on blinking if still it is keep on blinking then there is one more tool that you can try so first you can try esp first we tried esp dot pi to burn it and then i am trying this another geo one one g one of the gui tool and there is one more gui tool that you can try and i have explained about uh that ui tool in this document also but if from that tool also you are unable to burn the firmware it means that there is some problem in your esp and it is the time to consider changing your esp money okay so i am just trying me for this tool uh whether it writes uh or burns my firmware properly or not and i hope uh pretty much sure i'm pretty much sure that it will be writing it i i actually used this esp tool when i was burning uh firmware for version 2019 i think now that version was properly built and properly burned uh using esp tool uh but i i was not succeeded any of the 2021 version uh firmwares uh using esp2 i don't know what was the region and i always using this gui tool and this gui works like a charm and it almost uh work for all the firmwares that i started that i weren't using so you can directly using this uh this tool you can burn your firmware into esp so okay let's just wait couple of more seconds and then it will be should be done and yes it says it is ready okay so you can close this now and if you will observe there is no blue light pinky blinking on node in your esp right that means our esp has been properly burnt with the latest firmware cool so now it i have esp8266 with micro python in it so what are the next step let's go ahead checking whether the installation went okay so till now we have uh installed uh all the required softwares in our laptop we have burned micro python firmware to our esp board so so far we have done this much so now we will check whether the installation went okay after burning the necessary firmware into esp8266 now is the time to inspect whether the installation went ok or not so for that we will use below command so again but here you will be using your com port so you will copy this command and clear the screen and here i will write this command but with form 4. so as soon as you will write this command and press enter okay so before that uh you should see since now we just burnt our esp and we had uh press the flash button but we did not take after burning uh from where we did not take out this usb so first of first and foremost we have to take out this usb from the system and then put it again now our esp is in normal mode earlier we had we had inserted usb while pressing the flash mode it means we were preparing our board for installation for firmware burning but if you don't press the flash button means you are now this esp board will be entering into the normal mode so once it is done now try to use your command and by command yes so as soon as you will use this command you will see a file slash boot.i if you see this file means your firmware has been burnt successfully as shown above you must get boo dot wi-fi this is default file that comes up with the micro python firmware congratulations now transferring basic default files to esp8266 so it means so far we have successfully uh burned our firmware micro python firmware into esp and it is already responding from our machine from our operating system from our windows machine now what we will do next step is we will transfer some of the basic default files to esp8266 so how do we do that let's see there now we will create and transfer two important files dot pi and main dot phi two esp8206 after every restart micro python executes boot dot pi and then main dot file located in the built-in flash file system the boot of pi file usually should have the code that only needs to run once a boot so what happens when esp8266 will boot so up during boot it runs this file boot.5 and then if main dot pi is also there it will execute that in our case if you will see i when i listed all the available files i could see only boot dot by there is no main dot pi available so it means uh in my esp82 there is only one boot dot pi currently available inside that so what we'll do now we will create one file boot.pi and another file main.5 with contents as mentioned in this document and then we will transfer these two files to our esp okay so so we'll create a boot.pipe in your laptop so i like i have created a file inside this location note the location and when you i will let me show you what are the contents inside boot.pipe so these are the contents inside boot.com and i have mentioned what it should go so this is the content for boot.by just copy and paste and prepare a boot dot file okay so this is the boot dot pi file i have created and one more main dot file so in main.buys i have simply written some print statements okay so once you have created two files boot.5 and main dot pi inside your laptop so see you will see like these two files inside my laptop under this location now our aim is to transfer these two files to our esp okay now open command prompt and cd to the location where these files are stored so first let me copy the location where i have these files and i will open the command form and i will ct to the location where i have these two files main dot pi and google. so i have moved to that location so next step will be now make sure that esp8266 is connected to a laptop yes i am connected and com port is for my case it is four and now we will run below commands to transfer these two files into esp8206 so let me run this command but here remember you will use your com port and i will use my so you will go to this and you will simply mp com 4 dot 5 so this command will simply return nothing it means it will silently do tasks what this is actually doing it is putting the boot.pipe which is inside this location it is transferring this file to my uh esp a2 6 to the root location okay now let's transfer main dot pi also same this so let's let me copy this form four so now this time i am transferring main dot phi so i have transferred two files boot dot pi and main dot byte from my computer to the root location of esp8266 again if you want to see so you will use you can double check using the same command which i had used up here the ls command but you will be using your compost make sure that you get two files root inside root we have good dot phi and inside root main. so these two files are now inside our esp8266 and remember we had some uh python commands written inside these two files which i had shown you so this was the boot dot pi there are some contents written some uh python code written inside this and this will be the program which will execute when your esp will boot and immediately after that it will execute ring.5 so it will just print these two lines also okay so and these two programs i have already transferred to your yes okay voila awesome now you i have start getting hold on esp8266 so this is uh these are the steps that we have taken so far we have installed all the prerequisites all the tools that are required we have burnt our micro python firmware in your esp we created two files boot dot pi main dot pi and we had written some python uh codes inside that commands inside that and we have transferred these two pi inside our uh esp module so this is what we have done so far so now let's talk about okay so now if you want to see what's happening now you want to see whether it is really working or not so you'll see just just wait for a couple of minutes i will show you when i will restart this then you will see how good file being executed and where you can see those output uh which you were which you had written inside main and both right so if you will see inside main you had written some print statement so where it will print when it will print we'll see in just a minute now web repl to connect to esp8266 so i hope you are following me and have performed all the previous steps so far yes absolutely we have done all the steps that are mentioned up to this point if you notice the code of your previous default boot.pipe so let me just show you boot.pipe what i am talking about in this we are starting web ripple with password one six one zero eight so if you will see this line this line is actually starting web repl as i already mentioned web repl it is a kind of gui tool that will allow you to interrupt your esp over a web browser okay so in this boot dot pi i am starting by ripple with a password 16108 okay this line inside boot.by it will actually start the web browser interactive prompt over websocket after esp8266 boot to use this let's follow below step so let's see how webripple can be used and we can interact with esp using this web report okay so what we'll do connect esp8266 over laptop yes it is already connected and get the com port yes mine is com4 now open terra term for serial communication at com3 okay so now is the time when i will be using serial communication uh tool okay so my serial communication tool is terra term that i am using so let me open teratom so this is the terminal and here i will use see the ilu serial port and you will use the com port that is required and you will do ok and inside that let's follow the document so once you have connected to the serial port you need to set the baud rate from setup and serial port from setup and serial port you will just go and set the baud rate as eleven five two double zero okay so let's do that let's go to setup let's go to the serial port inside that for com4 let me use the baud rate as this one and we'll click new settings so as soon as you will do this now now this terra term is ready for the serial communication to our esp at the baud rate of eleven five two double zero okay cool finally press reset button on esp to restart it either you can press three step you can press the reset button remember there were two buttons flash and reset flash button was there and reset button is this side so you can press the reset button so let me just press the reset button and let's see what happens so when i press this the reset button you just observe the turret on screen so you will see character screen is showing us something looks like yes so now my terror term screen is uh showing you some information gone screen is buffer displayed let me press restart is again so here it is so when you will reset your micro python or your esp board so you will see couple of information coming out as a result of your boot dot pi and main.5 but if you clearly see here welcome magicians regards iot meeting hub right so if you will see let me show you the main dot pi which had written so welcome magicians so this is the print statement these are the printed statements that were inside main.pipe and when we used our tera term to see the output here so it means whenever esp booted it printed these two lines and apart from that it printed couple of more ah output here and one of the output is web ripple started and with passport one six one zero eight this is also showing here okay so now let's follow the document our esp8266 has been entered into micro python command prompt right now so if you will see there are term let me just make it bigger so if you see my data term has been entered into a python mode so here now you can write any python code actually this is now you are writing inside your esp board so these all think these things you are doing inside your esp8266 so if i write print i will print the high so this is the micro python command prompt inside your esp8266 let's try to write something some micro python code yes it works so micro python is properly working inside esp8266 from our boot message that you saw that web ripple password was one six one zero eight since our esp8266 is not connected to the wi-fi yet if you remember we have not connected our esp to our home wi-fi so far right so we cannot use web ripple portal page also makes sense so first thing first let's connect to our home wifi so now we can want to connect our esp to our home wi-fi so that we could use web repo for this enter below commands one by one in the character python command prompt so these are the steps or these are the commands that we will use to connect esp with our home wi-fi okay so let's try to insert these command one by one to our term window so first command is import network it is done next command is station network dot wlan done so don't worry about all these commands you just ask me about this whole document you just follow this document step by step process and complete this with the screenshots we easily easily able to do this without any error so station active so now this line this line will actually connect to our wi-fi home wi-fi so here in this case inside first single quotes we have to pass our network ssid so let me pass my ssid and in the second argument it is our wi-fi password so let me let me give my wi-fi password it is done so now last statement copy and i will paste it hey this voila so i have got a an ip address so if you see like my esp so this is the ip address of the esp my esp8266 has got the site with this from my home router home router now using this ip address i can now connect to the web repo how do we do that we'll see note down the ipfs as output by the last command okay so i have noted down the ip address 192 168 1.19 this is the ip address assigned to our esp it could be anything it would be something different for you now open webripple.html remember our web ripple file we had downloaded from github and downloaded the zip version from github and we had unzipped it and we had got this master folder and inside this we had this web depot file so we will use open this web ripple file inside any browser so let me open into this browser so when you will open this in a browser it will look like this so first of all we will connect what are the next step you will give this url to connect to your esp so you will copy this but here you will use your ip so this is the scheme ws ip address of your esp colon 826 like ours is 192.168.1.19 colon 8266 in our case it should be 19 here okay so you will copy this whole url or you can directly go to this browser here already it is written so you just try to replace 192.168.1.19 so this is my uh this is my ip address of esp and i will do a connect so it is asking for the password remember our password one six one zero eight and you will enter it so now it is connected to the graphical and you will see that you have been entered into python so means from this web ui now uh you are inter interacting with your esp so let's try to write some python command print let's say six plus six let's see what yes it is working so this command window actually is right is firing the commands inside this esp board so using this web web repl tool we can interface or interact to our esp board so if you want to send any file so here if you will see this this side this portion of this web ui send a file you can choose a file from your local system suppose i will choose a file from any location and then once you have chosen it you will just uh send to a device you will just send to device so that file will be transferred into esp to good root location okay similarly if you want to get any file suppose that i want to get main dot pi so get means you are going to get main dot pi from the root folder from your esp and when you will do get from device so it will automatically download that so it is saying that it is harm you can keep it or discard it whatever you want you can discard also or you can keep also do that that way you can uh download the files from your esp so this is one of the important tool to interact with your esp we will frequently use this during our projects thank you so much for people you are helpful okay so that's all i had for you in this session where we we are successful implementing our micro python in this esp board now we will use this micro python to interact our aws and our firebase and so many other projects so we will make all those projects in our future releases future versions so do keep in touch and before implementing any future projects just go to this main basic project where you will we should have an idea how do we prepare our esp for our future projects we really got many things from the session now we can easily build interface between our laptop and esp another accolade in our pocket enjoy many more wonderful things are on your esp will just keep going and keep growing best of luck so that's all that's all i have for you so far and thank you take care of yourself and soon i'll be coming with a new project uh using esp8266 micro python and aws firebase all the whole stuff thank you so much thank you and ask me if you need this document need any help you can ask me in my whatsapp and number is in my description of this video or you can connect me to my facebook page you can give comments to this video whatever way is okay for you thank you thank you so much
Info
Channel: IMH Videos
Views: 55
Rating: undefined out of 5
Keywords: IOT, Raspberry Pi, IOT Course, Online IOT projects, Online IOT session, Amazon AWS IOT, MQTT IOT, Wireless IOT, XBEE, Home Automation, Learn IOT Online, firebase, Realtime database, ESP, ESP8266, ESP32, Micropython
Id: KMZYSxYrr3I
Channel Id: undefined
Length: 55min 44sec (3344 seconds)
Published: Fri Jul 02 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.