ESP8266 Hack #2: Web Enabled LED - WiFi Internet-of-Things IoT

แชร์
ฝัง

ความคิดเห็น • 170

  • @bigclivedotcom
    @bigclivedotcom 9 ปีที่แล้ว +13

    Quirky, but I'm sure the software and firmware will evolve quickly. It's just astonishing (and very pleasing) to have a full standalone computer like that.

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว +7

      bigclivedotcom Astonishing that it costs just £2

    • @bigclivedotcom
      @bigclivedotcom 9 ปีที่แล้ว +7

      Julian Ilett It's ridiculous. At that price it's worth buying just to have. If only there was more time to play with these toys.

  • @dl8cy
    @dl8cy 9 ปีที่แล้ว +3

    incredible when you consider that the 2 eneloop batteries are the most expensive components of the installation. I think we'll have lots of fun with such devices the next few years. Thank you Julian Ilett for your fabulous post - you do a great job for the growing comunity - understanding and playing with such things is what drives the world in a way :-)

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว

      Mike Herbst Cheers Mike - much appreciated

  • @josephtannenbaum8696
    @josephtannenbaum8696 4 ปีที่แล้ว

    Julian, it's 2019 now and people are still learning to use the ESP8266-01. It would be great if this were updated. Took some fiddling, but this works.

  • @Fahnder99
    @Fahnder99 8 ปีที่แล้ว

    This tutorial is really glossy. Probably the best I have ever seen - so far. Thx a lot for your effort !

  • @Dvir1300
    @Dvir1300 9 ปีที่แล้ว

    A question please: When you've deleted (commented out) the wifi init 2 lines in the 'long code', you still had the IP address from the manual lua code you've benn running before. But how did it get an IP address again after disconnecting from the power source and plugging in the batteries? Thanks.

  • @richbuilds_com
    @richbuilds_com 5 ปีที่แล้ว

    What's the name of the little green pin bridge doodad you used? Do they do longer versions (to connect multiple pins together)?
    Thanks in advance.

  • @chrisleech1565
    @chrisleech1565 8 ปีที่แล้ว

    Just wanted to thank you very much for this series. I had so much trouble with my type 01 board it just wore me out and I put it away. Turns out that I had a faulty bread board. Too bad you couldn't do another series on using the ESP,

  • @whitehoose
    @whitehoose 6 ปีที่แล้ว

    When I flashed my esp8266 it was part of a dps30v5a hack which ironically needs a seperate 3.3v to feed the esp, so I had a buck converter already connected to the power. To guarantee my connections I used that to supply the 3.3v and just used the FTDI for data (commoned all the grounds). Seemed to work OK so now I always use a separate data and power configuration.
    PCs seem to sustain more damage when they drop power - data is usually recoverable - I use the same principle.
    The Buck should boost that 2.4v battery supply to somewhere round 3.3v, a little more in line with the spec.
    In the past - just for giggles - I've used a booster with a single aaa to supply a 5m length of 5050 LEDs ... not for long ... but quite bright while it lasted.
    I use a nice little adjustable (1-5v in for 1-12v out) one for most projects now.

  • @leswilk1601
    @leswilk1601 7 ปีที่แล้ว

    On a ESP8266 bought in 2017, when I try to update firmware, it does not propose to update FLASH, IROM, DEFAULT & BLANK as in this video, it proposes to updarte INTERNAL//NODEMCU only.
    I have tried this, although the interpreter comes up, it doesnt follow the test proposed to check success a =5 print(a)
    I am sure it hasnt been fully updated all teh binaries, but I am not sure how to resolve this

  • @ThingsWhichArentWork
    @ThingsWhichArentWork 9 ปีที่แล้ว

    What an excellent how-to - Thanks Julian. I'll have to order myself some of those modules. Cheers!!

  • @danilopizzolo2112
    @danilopizzolo2112 9 ปีที่แล้ว

    Very interesting!!! I'm trying to do a similar thing and I have a question: how long is the batteries life with this setting(1.5v x2, right?)?

  • @shashitejag9204
    @shashitejag9204 7 ปีที่แล้ว

    while using coolterm there was no RX blinking and I couldn't give any At command, what do you think the problem is?

  • @jfredricks2394
    @jfredricks2394 7 ปีที่แล้ว

    Julian help!! I can flash the esp (at least it looks like it did) but it does not seem to transmit (reply back) - I opened lua uploader and clicked restart esp & tried the ip code and it only says sent but theres no echo back (reply) from the esp?!? I've checked it a dozen times and I can't find the problem. I reset and made sure the jumper was removed - so I'm sure it's not in flash mode...

  • @airplanejack
    @airplanejack 7 ปีที่แล้ว

    Hi, after flashing my unit and connecting to it using CoolTerm, I get the error "Serial framing error 104" The pins are connected correctly. Why is this?

  • @dinozzle3358
    @dinozzle3358 8 ปีที่แล้ว

    I need help.
    Why I can't flash firmware on my esp2886? When I hit flash it doesnt do anything.
    Please answer!

  • @billparker9295
    @billparker9295 7 ปีที่แล้ว

    Hi Julian im using windows xp 32bit and in Nodemcu when I look in my config I only have the top line with anything in it and that line says INTERNAL//NODEMCU do you know why I'm only getting this please ??

  • @min2oly
    @min2oly 9 ปีที่แล้ว +2

    That’s it I’m on a mission now. I have an idea to let web surfers control one of my machines from a 24/7 live webcam. Thanks for sharing. This is a good deal of detailed information.

  • @Slider2732
    @Slider2732 9 ปีที่แล้ว +1

    Superb 'How To' !
    Next, to replicate, then Port 4 outputs to an H-bridge and we take over the world haha. Well, at least get a motor spinning. But yes indeed, a marvellous view into the future.
    I used to run webcams where folks could play little games like spinning a wheel to line up marks, running from the parallel port of a PC. Can't wait to get into this IoT and Lua. That is, as long as Linux is supported (?) :)

  • @chrisleech1565
    @chrisleech1565 8 ปีที่แล้ว

    Really need the 10K ohm res across Vcc and CH_PD? I am setting this up now and to confuse things the *.bin files are completely different :-O!!

  • @Polite_Cat
    @Polite_Cat 9 ปีที่แล้ว

    This is really interesting and informative. I wonder, can you solder on a length of wire to the antenna to make it more reliable perhaps?

  • @olemiddelboe7295
    @olemiddelboe7295 7 ปีที่แล้ว

    Very useful :)
    Does the 2 batteries have enough volts? ESP8266 wants 3.3V,

  • @TheXidanny95ix
    @TheXidanny95ix 8 ปีที่แล้ว

    Hi Julian, these videos have been a great help getting me up and running and i now have 3 controlling different lamps thoughout my house and was wanting to increase the complexity. Could you point me in the direction of somewhere i can find how to use the different Lua commands so i can make the server page more complex and allow me to toggle GPIO0 and do pwm.
    Thanks,
    Danny

  • @SproutyPottedPlant
    @SproutyPottedPlant 9 ปีที่แล้ว

    @Eqvaliser I want flaaaaames 😁 where's my ammah or is PhotonicInduction not the toolman you were referring to?

  • @semphony100
    @semphony100 9 ปีที่แล้ว +2

    can this project be modified to be powered by AC using a small converter then replace the LED with a relay and pack the whole project in the size of a bulb base------> you have a smart bulb base were you can fit any bulb and control it via your smart phone
    In fact such project can be more generalized and made to fit pretty much any device thus making home automation so easy and user friendly plug and play process

  • @bngjo
    @bngjo 8 ปีที่แล้ว

    Hi Julian,
    I saw your video, thank you for all the ESP8266 hints. May be you can help with an issue I'm struggeling with. Using nodemcu and typing =print(8/10) the answer is 1, expected was 0.8! It looks like Lua on nodemcu can not count with floatingpoint / real numbers. Can you check this and give me a hint?
    Thank you

  • @ketanpatil6119
    @ketanpatil6119 8 ปีที่แล้ว

    when ever i am trying to flash the esp8266 module i am getting a "Error:Set ESP8266 Address timeout."
    can you please explain what seems to be the problem

  • @HariWiguna
    @HariWiguna 9 ปีที่แล้ว +13

    Julian Ilett , have you measured the voltage of the two Eneloops powering the ESP8266? In theory they're 1.2V each right? so that's only 2.4V, not quite the 3.3V needed by the ESP. That might explain why your ESP sometimes refuses to cooperate?

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว +2

      Hari Wiguna That's interesting. There's a parameter in the specification sheet VDDIO (symbol Vio) which is minimum 1.7v, maximum 3.6v. I interpreted this as the supply voltage range, but now I'm not so sure.

    • @Shadi2
      @Shadi2 9 ปีที่แล้ว

      Julian Ilett do you mind putting a voltmeter when it's running and posting the result?

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว

      Shadi2 It's moving around a bit, but between 2.44v and 2.47v

    • @ghwizz
      @ghwizz 9 ปีที่แล้ว

      Julian Ilett It's pretty hard to follow the brief data sheet but it doesn't seem to mention VDDIO again. It sounds like maybe a portion of the chip can run lower voltage perhaps? Looking at the power pins I see some marked VDD3P3 - and the power on the schematic p7 is labeled VDD33. I think the flash memory might be more sensitive to undervoltage than the esp8266. But it was a shame you had so many problems - I suspect power supply issues too. Keep up the good work!

    • @Shadi2
      @Shadi2 9 ปีที่แล้ว

      Julian Ilett Thanks. Let us know if the tablet starts working with it after you give it a good 3.3v supply.

  • @MoJoM0J01
    @MoJoM0J01 9 ปีที่แล้ว

    Julian, You are awesome. Thank you for this video, My green LED shines so brightly ;).

  • @PatnaikUC
    @PatnaikUC 9 ปีที่แล้ว

    Excellent presentation in detailing the web enabled LED. Thanks a lot. I was trying the same exactly since months but I never reached the LED stage though I did reach very near. Now I know the mistakes I was making. Thanks again

  • @stewl
    @stewl 9 ปีที่แล้ว

    Downloaded the latest flasher 4/12/15. Started it with nothing hooked up (the x64 version, on my laptop) and there is only one item it wants to upload (INTERNAL//NODEMCU at 0000), not the 4 you show in the video. If I hunt through all the files in the flasher download, I see the names of the files that are uploading in your video, but they don't show up in the flasher??? I tried flashing, and I do see the two MAC addresses and the fancy bar-code, but the files you had don't get flashed??? Any ideas?

    • @mattshepherd100
      @mattshepherd100 8 ปีที่แล้ว

      +stewl i have them same problem. did you fix it mate?

  • @bluetop77
    @bluetop77 9 ปีที่แล้ว

    Great stuff, quite exciting seeing the possibilities of these ESP8266. Maybe it was my imagination, but the wireless looked more responsive when the LED was off?

  • @byroboy
    @byroboy 9 ปีที่แล้ว

    This seems like the perfect module for me to create some traffic lights to tell me when the next tram will arrive. Any chance you plan to retrieve data from a website using this?

  • @novalkurniawan7850
    @novalkurniawan7850 8 ปีที่แล้ว

    hy, my web only can use 3-4 times, after that my web is not available.
    can you help me for this problem?

  • @jaytech7514
    @jaytech7514 7 ปีที่แล้ว

    +Julian Ilett can i use an Arduino Uno r3 instead of an FTDI USb to Serial Converter?

    • @SolarWebsite
      @SolarWebsite 7 ปีที่แล้ว

      Eustacio Raga Yes. connect the Arduino's Reset to ground (and leave it connected). Connect the 8266 to the Arduino's pins 1&2 (RX&TX). Now connect the Arduino to a PC and use the IDE's serial monitor to send AT commands etc. Mind the baud rate.

  • @ozgemmo3445
    @ozgemmo3445 9 ปีที่แล้ว

    Hi Julian,
    I have reproduced your hardware and successfully installed the Lua etc program and communicated with the ESP8266 (initially using the original firmware and got correct responses from AT commands and then after changing the firmware I have the blink program running using Lua Uploader1.0.2.4) - I am doing all of this from my laptop which is operating via wifi to my desktop PC - However, when I endeavour to get the ESP8266 IP address I do not get any even after entering my Router "SSID" & "Password"??? What I don't know is "should I be able to get the ESP 8266 IP address while wirelessly connected to my laptop or will I only get this address if I am physically connected to my PC? Routers, IP addresses and LANS / modems etc are not my forte' but I do have a rudimentary understanding! Please advise. Cheers, Ian (DownUnder)

  • @kekecjan
    @kekecjan 9 ปีที่แล้ว

    Hey, I'm working access point with ESP8266 to have internet with phone and computer but i have mode=3 AT+STA ,and i connect ESP8266 with computer and i get yellow triangle, what is wrong? please help!.

  • @buzsikantal5332
    @buzsikantal5332 9 ปีที่แล้ว

    My ESP-01 module works great with NodeMCU, currently sending temperature data from a Dallas temp sensor to Thingspeak in every 5 minutes. I found that the module's alignment probably matters quite a lot when the AP is not in the same level (in my case higher) than the module. The ceramic antenna on the ESP-03 module is probably better than this one (haven't tried yet).

  •  7 ปีที่แล้ว

    have you got all the links used please?

  • @mrfrog8502
    @mrfrog8502 9 ปีที่แล้ว

    You may need to pull GPIO 0 to 3.3v as well to stop it from drifting. Maybe that's why module doesn't respond to http requests sometimes. I've notices this on my board when I was using AT commands.

  •  9 ปีที่แล้ว +1

    If there is a 3V3/5V switch then both VCC and the signal level should be 3.3V when you set the switch to 3V3 position. You can also test the signal level of CH340 by connecting TX and RX together and read the voltage between this connection and ground with a voltmeter to be sure. ;)

  • @tayaaron1921
    @tayaaron1921 9 ปีที่แล้ว

    Hi Julian, how do I make the LED connected to the GPIO light up if I connect the ESP to Arduino Uno? How do i write the code? Hope you can help me out please.

  • @JerryEricsson
    @JerryEricsson 9 ปีที่แล้ว

    it blinks a built in small red LED on my circuit board

  • @luisespinoza4678
    @luisespinoza4678 8 ปีที่แล้ว +1

    hi julian your video is excelent but i have a problem when i want to save the webap_toggle_pin.lua into my esp8266 module what can i do? please help me

  • @fakeapplestore4710
    @fakeapplestore4710 7 ปีที่แล้ว

    do I need a microcontroller?

  • @bakupcpu
    @bakupcpu 9 ปีที่แล้ว

    Very interesting little device would work well to see temperature from another room or even outside. Would you happen to have the link where you bought those close by any chance ;) Thanks for sharing!

  • @maxisadog9484
    @maxisadog9484 9 ปีที่แล้ว

    Great Video as usual. I suspect the Tx/Rx is 3.3 volts if set that way but if you find out that the Tx/Rx is higher in check out this clip: Alarm System Hack - Part 2 - Add WiFi (ESP8266) and Send Text. He uses a Nano and with 5v on the Tx line from the nano the ESP is flaky. Once he lowers the volts on the Tx line the ESP is stable.

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว

      Maxis Adog When I get a chance, I'll check the voltage levels on a scope

  • @Ogma3bandcamp
    @Ogma3bandcamp 9 ปีที่แล้ว

    Julian, please could you link to your workbench mat. I'm after something similar but having no joy on ebay. Thanks.

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว

      ***** It's just a cheap A4 cutting mat

    • @Ogma3bandcamp
      @Ogma3bandcamp 9 ปีที่แล้ว

      Thanks Julian. I asked John Ward also, who has a similar mat. The keyword when searching seems to be 'crafting' mat. I'd already found plenty of ESD mats and other assorted mats but this is what I'm after. Speaking to my mum - who's a crafter - these mats are known as 'self healing mats' but they don't remain self healing forever apparently. Anyway I found an A2 one for £7.15, free delivery. Bargain! :-) Yeah, the A4 ones are £1.95. Cheers.

  • @gpetters
    @gpetters 9 ปีที่แล้ว +5

    Thanks for excellent video, Julian! I am eager to get the Lua Interpreter working on my ESP8266/Esp-01. I downloaded from Github the NodeMcu, but in the Resources/Binaries folder, the eagle.app.v6.flash.bin and the eagle.app.v6.irom0text.bin were missing. See your video at 4:17. I can start the ESP8266Flasher.exe (win32). It starts fine, but in Config tab, I do not get the 4 green lines you display in video 5:06: INTERNAL://FLASH, INTERNAL://IROM, INTERNAL://DEFAULT, INTERNAL:BLANK. I do only get: INTERNAL://NODEMCU. When I hit the Flash (F) button, nothing seems to happen. Kindly let me know what I am missing out to get Lua Interpreter downloaded and running on my ESP8266!

    • @emilioizzo6738
      @emilioizzo6738 6 ปีที่แล้ว

      you have to switch the rx with the tx. I have the same problem, and i cant have a connection with the CoolTerm

  • @alexellis2
    @alexellis2 9 ปีที่แล้ว

    Very good tutorial Julian and super-clear. I've been doing similar things with my Raspberry PI/arduino - which feels overpowered in comparison to this little unit. Are there other interpreted languages that it can be flashed with? Is there any faster/quicker language available?

  • @matthewlemon
    @matthewlemon 7 ปีที่แล้ว

    +JulianIlett Great video, a nice project that I can think of all sorts of IoT things to make. I'll be very busy :) I know this is an old video so if you haven't already, please get some software to record the pc screen directly instead of filming it.... Thanks for taking the time to make it.

  • @Slider2732
    @Slider2732 9 ปีที่แล้ว

    Odd problem here. Have got 1 LED running in a similar way (Linux though, using ESPlorer). Subsequent uploads of init.lua to other modules are throwing up errors. At 18:21 you can see

    • @Slider2732
      @Slider2732 9 ปีที่แล้ว

      slider2732 The update - it was the Firmware on the module ! By uploading the latest Nodemcu firmware (in same directory as 0.95) all is working fine.

  • @malgailany
    @malgailany 9 ปีที่แล้ว

    Thank you for the clear, informative video.

  • @rondlh20
    @rondlh20 7 ปีที่แล้ว

    The tantalum capacitor is useless if you use battery power, it actually can cause problems when it fails

  • @rayh3796
    @rayh3796 9 ปีที่แล้ว

    why do you need a capacitor across the battery ?

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว

      ray hery You don't really. I put it there to help when powering it from the CH340

  • @SabretoothBarnacle
    @SabretoothBarnacle 9 ปีที่แล้ว

    Have you measured the power consumption of this device (minus the LED of course), it would be interesting to see watt is draws ;)

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว

      Sabretooth Barnacle No, but the AAA eneloops only run it for about 36 hours.

    • @adlerweb
      @adlerweb 9 ปีที่แล้ว

      I measures ~150mA @ 3.3V when connected to WiFi - for sensors or other projects not requiring to stay always online it should be possible to use a sleep mode to get this figure to a more reasonable level for a battey-powered use.

  • @amitksh44
    @amitksh44 9 ปีที่แล้ว

    Awesome work Julian. Got it working on my ESPs.

  • @khalilmadieh6167
    @khalilmadieh6167 8 ปีที่แล้ว

    You are really the best one ever, thank you a lot for this kind of videos.
    You should really be awarded

  • @spokehedz
    @spokehedz 9 ปีที่แล้ว

    Do these things have mesh network controls yet? If not, then I don't really think these are going to be good enough for the IoT, if they can't deal with just a little bit of interference from a LCD monitor.
    I'm also guessing that the crappy trace antenna isn't helping things at all either.

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว +2

      I wanted to show some of the problems I had getting this to work (or half work). It would be unfair to represent this very new technology as working without flaws. I don't know whether these are hardware or software issues (probably a bit of both). This is frontier stuff!

    • @spokehedz
      @spokehedz 9 ปีที่แล้ว

      Oh no, I realize that the hardware is very new. That is what I am commenting on, not your presentation. I'm very happy with your presentation and documentation of all the resources that you found everything at.
      I just bought the NodeMCU 'devkit' on EBay since it plugs nice into a breadboard and I don't have any of those other bits laying around like the USB-to-serial converter. For $15 USD it was a fairly sound investment, I think. Enough to twiddle around with, at any rate.

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว

      ***** Interesting colour scheme and choice of font on that devkit PCB (particularly on the back - www.seeedstudio.com/blog/2015/01/14/new-product-we-are-running-lua-on-esp8266-nodemcu/). Reminds me of another popular development platform. I thought about getting one, but was tempted by all the bells and whistles on this: www.ebay.co.uk/itm/301475108343

    • @spokehedz
      @spokehedz 9 ปีที่แล้ว

      Yeah, I noticed that too. That old double edged sword of being open source... Easily improved, easily copied. It's even available before the official website has it. Ha!
      Yeah, that one IS quite loaded with a bunch of crazy stuff. Same price too. I don't need two devkits...

    • @flyguy8791
      @flyguy8791 9 ปีที่แล้ว

      Julian Ilett That second one you posted is pretty interesting, lots of bells and whistles for sure!

  • @craig5832
    @craig5832 9 ปีที่แล้ว +1

    Hi Julian.
    How come at around 15 minutes in the video after you restarted the ESP you didn't need to reconnect to the WiFi?
    Cheers

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว

      That seems to be handled by NodeMcu. You only need to provide the WiFi SSID and password once. I guess these details are stored in flash memory in the ESP8266. But I am guessing here - I've got lots more reading to do!

    •  9 ปีที่แล้ว

      Julian Ilett Actually, I think it's handled by the Espressif C SDK below the nodemcu. I played with it a bit, and it seemed to save the password as well. By the way it also seemed to be more stable than nodemcu. But I only tried some very basic stuff.

    •  9 ปีที่แล้ว

      András Bíró I take it back. It was very stable with esp-httpd a couple of days ago, now it just doesn't want to work reliable with any software. I don't understand.

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว +2

      András Bíró Me neither. The web-enabled LED is working perfectly this evening. Baffling!

    •  9 ปีที่แล้ว

      Julian Ilett It is very likely that my problem was caused by a bad quality (ebay of course) usb cable...

  • @Quarryck
    @Quarryck 9 ปีที่แล้ว

    Hi Julian, please tell how you get ip address?

  • @Anupkulkarni23
    @Anupkulkarni23 9 ปีที่แล้ว

    excellent video . followed step by step by and it worked :)

  • @bobdickweed
    @bobdickweed 9 ปีที่แล้ว

    thanks for sharing ...i learned a lot on your channel ,,,i try to learn something new every day

  • @gregg9564
    @gregg9564 9 ปีที่แล้ว

    Julian - thanks so much for the great video. I have been able to duplicate everything you showed. Concerning the ESP acting as a webserver: the first two lines in the canned webserver you demo'd. If you don't comment these out... the SOFTAP causes the ESP to set up its own AP at 192.168.4.1. This works fine to control the LED but since the IP address is not on the same subnet as your home AP, it doesn't connect to the internet and thus you cannot control the ESP from the internet via your router even if you set up routing. However if you change the SOFTAP to STATIONAP, the webserver will appear on both 192.168.4.1 and also you can access it at the assigned IP you get when it joins your home AP... thus you can then actually control something connected to the ESP via the internet if you setup your home router to allow traffic to the ESP's assigned IP address. Powering the ESP with a 3.3 V supply, it works flawlessly.

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว

      Greg G Hi Greg. I'm doing a follow up to my ESP8266 hack, probably tomorrow. I've got the SOFTAP to work - although it did take a while to find the IP address of the webserver - the IP given to my tablet (192.168.4.2) was a clue. I've not tried STATIONAP - I'll give that a try tomorrow. Cheers.

  • @EDToasty
    @EDToasty 9 ปีที่แล้ว +2

    livestream the led constantly and setup a port on your router? :D so we can access the led. XD

  • @fork04
    @fork04 9 ปีที่แล้ว

    Fantastic job.

  • @louigi6001
    @louigi6001 9 ปีที่แล้ว

    The password thing is that WEP or WPA or will it support both ?

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว

      louigi600 The spec sheet doesn't mention WEP but WPA, WPA2 PSK and WPS are supported

  • @SenkusJulius
    @SenkusJulius 9 ปีที่แล้ว

    put button to pull down or up when out need to get in into flashing mode, pressing it on boot would make it boot to flashing mode, just thing for comfort :)

  • @chetannain4867
    @chetannain4867 8 ปีที่แล้ว

    Sir a Sincere Thanks....
    Sir the Problem that I am facing is that the chip is working perfectly with devices connected to the same WIFI but is not connecting if we try and access it from a different WIFI connection(say my neighbors)...
    Can you suggest any help....??

    • @ismzaxxon
      @ismzaxxon 8 ปีที่แล้ว +1

      That is because you are on a different network. LAN means local area network, which is your network. The people next door have a different network which is WAN, a wide area network.

    • @nigeljames6017
      @nigeljames6017 8 ปีที่แล้ว

      +Terry Peake This is the problem I've been having with all descriptions on how to use the Esp8266. If they use Lua, or the AT command set, nobody seems to have published any code / description on how to control say an LED from a remote location (i.e. the Internet).
      I've managed to control LED's, got input from switches and the like, but it's limited to the I.P. address on my router, and I can't break free from it.Have you managed to find a method to control the damn thing from the other side of the world ? (lol)

    • @ismzaxxon
      @ismzaxxon 8 ปีที่แล้ว +1

      +Nigel James To access from out side of your network, I just port forwarded that address. If you are not sure what port forwarding is, just google it.

    • @chetannain4867
      @chetannain4867 8 ปีที่แล้ว

      Thankyou Sir...

  • @BahneAuras
    @BahneAuras 9 ปีที่แล้ว

    Found something interesting (don´t know if anyone had tried this before). Paused the video at 6:13, convienently the barcode is visible very good. Gave it a quick scan with my smartphone...guess what? It contains the two MAC adresses shown in the flasher program.. I think thats quite neat.

  • @VideosOmp
    @VideosOmp 9 ปีที่แล้ว

    Very helpful!

  • @sergecalmettes2712
    @sergecalmettes2712 9 ปีที่แล้ว

    Great video! Thanks

  • @nicnl255
    @nicnl255 9 ปีที่แล้ว

    Well... The simple web server isn't sending HTTP headers to your web browser, and that may be the reason why it's not working on your Android tablet.
    Just try to send "HTTP/1.0 200 OK" & "Content-Type: text/html" (both ending with CRLF) just before the HTML code and everything should work normally.

    • @daveholloway185
      @daveholloway185 9 ปีที่แล้ว

      Nicnl Julian Ilett It may well be the headers, but Webkit is clever and should be able to deal with this. I have a suspicion that it's the bit. I would suggest trying instead.

  • @JohnGodwin777
    @JohnGodwin777 9 ปีที่แล้ว

    fantastic video

  • @pranjalbhagat667
    @pranjalbhagat667 6 ปีที่แล้ว

    Bcz of you my dream of making IoT project come true

  • @slvg-xt4ck
    @slvg-xt4ck 8 ปีที่แล้ว

    I am brand new on NET job so I am able to follow your very nice tutorial up to receiving IP from WIFI (192.168.2.44). Configuring ESP8266 as SIMPLE HTTP SERVER I am not able to have the message on my laptop connected with the same WIFI:
    Can you, please suggest what i have to do on my laptop to make the connection with ESP

    • @slvg-xt4ck
      @slvg-xt4ck 8 ปีที่แล้ว +1

      +slvg1942
      Ok problem solved It is necessary to connect ESP to the WIFI or no one know you

  • @ProjetosEletronicos
    @ProjetosEletronicos 8 ปีที่แล้ว

    very clear and well explained, perfect

  • @louigi6001
    @louigi6001 9 ปีที่แล้ว

    Well thanks a million ... that's a really cool tutorial.

  • @GiorgioAresu
    @GiorgioAresu 9 ปีที่แล้ว

    Amazing, thank you for this guide

  • @BestYoutubeChannelInTheWorld
    @BestYoutubeChannelInTheWorld 9 ปีที่แล้ว

    super video, as always.

  • @ThatGuy-nv2wo
    @ThatGuy-nv2wo 7 ปีที่แล้ว

    5:18 tut tut tut, Julian!

  • @SatyajitRoy2048
    @SatyajitRoy2048 9 ปีที่แล้ว +1

    Awesome

  • @ChawatWor
    @ChawatWor 9 ปีที่แล้ว

    Thank you for video :)

  • @realredfox
    @realredfox 9 ปีที่แล้ว

    You just need to change the two top lines to:
    wifi.setmode(wifi.STATION)
    wifi.sta.config('SSID','password')
    To make it work as intended.

  • @Elfnetdesigns
    @Elfnetdesigns 9 ปีที่แล้ว

    Wrong and bad practice!
    Not all of those USB converters are good for powering those wifi modules even for firmware flashing as they only provide about 20mA. newer wifi modules can draw up to 50mA while flashing or doing serial comms. I have some esp version 3's, 7's, 12's and 13's and flashing fails if they are drawing 3.3v from the usb converter. I have to use a breadboard power supply set to 3.3v to flash them.

  • @PatnaikUC
    @PatnaikUC 9 ปีที่แล้ว

    Thanks a lot again. My stuff works brilliant on my wifi network. Now the next step is, how to operate from a website? ie anywhere from the world.

    • @PatnaikUC
      @PatnaikUC 9 ปีที่แล้ว

      That's called following port forwarding as I understand and that is dangerous as any one can enter your network if he knows the IP address.

    • @MrOpenGL
      @MrOpenGL 9 ปีที่แล้ว

      +Dan Bc Every hacker has an extremely strong desire to DoS a poor ESP8266 toggling a LED, or to steal the very secret and extremely confidential Lua source code
      :-)

  • @sonogenio
    @sonogenio 9 ปีที่แล้ว

    Bravo!!! ottimo!

  • @holtzda
    @holtzda 9 ปีที่แล้ว

    Amazingly brilliant!

  • @capiberra4118
    @capiberra4118 7 ปีที่แล้ว

    Interesting stuff, thanks.

  • @jorgeromeromoran8611
    @jorgeromeromoran8611 9 ปีที่แล้ว

    Exelente saludos desde Argentina

  • @VaupellGaming
    @VaupellGaming 9 ปีที่แล้ว

    Like the toolman used to say... More power.. :D
    Belive once it is on, it's lacking the power to turn off, i know it sounds silly. but...

  • @sweeannteo592
    @sweeannteo592 9 ปีที่แล้ว +1

    the ceramic version is just horrible. better to stick to ESP-01's antenna.

  • @mit4601
    @mit4601 7 ปีที่แล้ว

    thank u julian sir.... Ite been a while but I did it :)

  • @JerryEricsson
    @JerryEricsson 9 ปีที่แล้ว

    here is flash for the unit I have, not sure if it will work with your led or not:
    -- Blink using timer alarm --
    timerId = 0 -- we have seven timers! 0..6
    dly = 500 -- milliseconds
    ledPin = 4 -- 4=GPIO2 github.com/nodemcu/nodemcu-firmware/wiki/nodemcu_api_en#gpio-new-table--build-20141219-and-later
    gpio.mode(ledPin,gpio.OUTPUT)
    ledState = 0
    tmr.alarm( timerId, dly, 1, function()
    ledState = 1 - ledState;
    gpio.write(ledPin, ledState)
    end)

  • @dandronemoan4041
    @dandronemoan4041 9 ปีที่แล้ว

    SOFTAP should set-up its own Access Point. Perhaps you can run again and you should be able to connect another device to SSID test with the password set. I think it has its own DHCP server running too.

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว

      Dan Cuddeford I just tried that and it works pretty well. But it did take quite a bit of searching to find the IP address of the web page - it's 192.168.4.1 - my tablet was given 192.168.4.2

    • @dandronemoan4041
      @dandronemoan4041 9 ปีที่แล้ว

      Julian Ilett I can't wait to give this a try myself. Do you think there's an iptables or customizable DHCP server? Somewhere it's throwing out 192.168.4.1 as the router address etc.

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว

      Dan Cuddeford I guess there must be a DHCP server in there - and I'm sure I've read about it somewhere. I just can't remember where.

    • @dandronemoan4041
      @dandronemoan4041 9 ปีที่แล้ว

      I have zero hardware experience but I'll try follow your videos and see what I can find out digging around from the software/network side

    • @dandronemoan4041
      @dandronemoan4041 9 ปีที่แล้ว

      Dan Cuddeford To answer my own question, I found it github.com/nodemcu/nodemcu-firmware/blob/cdd13b1af36dfbe51f3876efab7eccf445232682/app/lwip/app/dhcpserver.c for my use-case I was able to modify the DNS server here and compile my own firmware

  • @pranjalbhagat667
    @pranjalbhagat667 6 ปีที่แล้ว

    Thank you so much

  • @deangreenhough3479
    @deangreenhough3479 9 ปีที่แล้ว

    Some mentioned hooking up a temp/humidity sensor, found this and still scratching my head, but some nice chap has written some code to do this.
    github.com/fasmide/esp_dht22
    Anyone else had a go at this

  • @jpalm32
    @jpalm32 9 ปีที่แล้ว

    Post something! I'm snowed in!

  • @andreasheij
    @andreasheij 9 ปีที่แล้ว

    Does it do IPv6?

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว

      andreas heijdendael No mention of IPv6 in the spec sheet

    • @adlerweb
      @adlerweb 9 ปีที่แล้ว

      No, according to the ICs datasheet IP is implemented in hardware and only supports v4. Not sure if a custom firmware/bootcode could add this later on.

    • @andreasheij
      @andreasheij 9 ปีที่แล้ว

      Because, well... We're kinda running out of IPv4 afteral :)

  •  9 ปีที่แล้ว

    Nice reason to familiarize myself with Lua.

    • @JulianIlett
      @JulianIlett  9 ปีที่แล้ว +1

      Learning Lua will make a refreshing change from all my battles with C

  •  9 ปีที่แล้ว +1

    Here is the code I use to wait for the module to get an IP and then launch mini lua webserver or whatever lua file you want.
    print("")
    print("Welcome to ESP8266")
    print("")
    -- Connection Settings
    ST_SSID = "SSID"
    ST_PASS = "password"
    -- Configuring Wi-Fi Network
    print("Saving Wi-Fi Configuration...")
    wifi.setmode(wifi.STATION)
    wifi.sta.config(ST_SSID, ST_PASS)
    print("> Complete")
    print("")
    -- Wait for Wi-Fi Connection
    print("Waiting Wi-Fi Connection...")
    tmr.alarm(1, 1000, 1,
    function()
    if wifi.sta.status() == 5 then
    tmr.stop(1)
    print("Connected")
    print("")
    print("Wi-Fi SSID: " .. ST_SSID)
    print("IP Address: " .. wifi.sta.getip())
    print("")
    print("Starting WebServer")
    dofile("webserver.lua")
    print("> Done")
    print("")
    print("Free Memory: " .. node.heap())
    print("")
    end
    end
    )

    • @musimumu459
      @musimumu459 9 ปีที่แล้ว

      Is not working error message unexpected symbol near '?'
      Please help