While this is a very cool chip for hobbyists, it is quite hard to do real TLS with this chip making it basically useless for commercial applications. It CAN do TLS but it leaves very little left over if you have any kind of real business logic.
ESP8266: A $5 microcontroller with wi-fi that runs Python
31–40 of 81 posts
Re: ESP8266: A $5 microcontroller with wi-fi that runs Python
#32"with Wi-Fi"-onna-chip always has me wonder: can it handle wireless security (WEP, WPA, WPA2, ..)? because having to dedicate an open access point is often prohibitive.
Re: ESP8266: A $5 microcontroller with wi-fi that runs Python
#33A ton of work went into it and setting up the toolchain is as simple as `pip install -U platformio`.
Re: ESP8266: A $5 microcontroller with wi-fi that runs Python
#34The new ESP8266 source code will be made available on GitHub right after the crowdfunding campaign closes..
Re: ESP8266: A $5 microcontroller with wi-fi that runs Python
#35Earlier quoted context omitted.
Very little, around 60kB free if writing programs in C language.
That's loads . Seriously, it's a huge amount. Most other comparable microcontrollers have about 2kB. Interestingly, it looks like this is a von Neumann device! Which means that code and data live in the same address space. Memory map here: http://www.esp8266.com/wiki/doku.php?id=esp8266_memory_map Looks like it's got a whopping great 512kB internal SPI ROM device too, and indications are that it's reprogrammable. You…
cf https://gist.github.com/Coaxial/268c4198d09c2a712387 for flash and RAM for mos (all?) currently available ESP8266 versions
Re: ESP8266: A $5 microcontroller with wi-fi that runs Python
#36Re: ESP8266: A $5 microcontroller with wi-fi that runs Python
#37By the way, I have to warn people who are thinking about trying this chip (as I have done in other comments): The bare chip won't be very useful to you, unless you want to design your own PCB. Instead, I would recommend a breakout board. There are two major types: Something like the WeMos D1 Mini ( http://www.aliexpress.com/item/D1-mini-Mini-NodeMcu-4M-bytes... ) or NodeMCU ( http://www.ebay.com/itm/NodeMCU-LUA-WIFI-…
So I agree that the WeMos Mini is definitely what you should buy, but the bare chips aren't that bad to work with. I've done quite a few and I usually just solder wires to each pad on the chip and then solder the other end(s) to a breadboard (something like this http://www.instructables.com/id/Getting-Started-with-the-ESP... ). You also have to pull up CH_PD and pull down GPIO15, plus usually include a voltage regula…
Re: ESP8266: A $5 microcontroller with wi-fi that runs Python
#38Is it possible to do real time programming in a garbage collected language?
Re: ESP8266: A $5 microcontroller with wi-fi that runs Python
#39Earlier quoted context omitted.
So I agree that the WeMos Mini is definitely what you should buy, but the bare chips aren't that bad to work with. I've done quite a few and I usually just solder wires to each pad on the chip and then solder the other end(s) to a breadboard (something like this http://www.instructables.com/id/Getting-Started-with-the-ESP... ). You also have to pull up CH_PD and pull down GPIO15, plus usually include a voltage regula…
That's true, but you need to solder, as you say, six resistors and and a capacitor, which quickly becomes a tangle of wires. I prefer breakouts just because they're a very cheap and good way to avoid this.
The WeMos is infinitely easier, especially because it has the FTDI chip built in, but it's not terrible to use the bare modules. I got on the ESP8266 bandwagon fairly early, so I got used to working with the bare modules since they were all I could get.
Re: ESP8266: A $5 microcontroller with wi-fi that runs Python
#40I've been playing with a Esp8266 NodeMCU configuration where one co-rountine monitors and maintains the wired-access connection, another CR blinks the activity led on a timer, and another presents a telnet-like command interface listening on a tcp/ip socket.
The entire OS layer has been avoided, yet there is almost no loss of functionality.