Live data from Hacker News

ESP8266: A $5 microcontroller with wi-fi that runs Python

makezine.com

61–70 of 81 posts

Re: ESP8266: A $5 microcontroller with wi-fi that runs Python

#61
post #43

By 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-…

How can you forget something like the Adafruit Huzzah[1]? It is so nice with the ESP8266. We use it in home-assistant ( http://home-assistant.io ) for things like this temperature sensor[2]. [1] https://www.adafruit.com/products/2471 [2] https://home-assistant.io/blog/2015/10/11/measure-temperature-with-esp8266-and-report-to-mqtt/

Also, you may like this:

https://github.com/skorokithakis/esplights

Re: ESP8266: A $5 microcontroller with wi-fi that runs Python

#62
There was a good talk about these at LinuxConf AU: http://mirror.linux.org.au/linux.conf.au/2016/05_Friday/Wool...

... they're a very exciting device and incredibly cheap, and the supplied SDK libs look very nice, even though they aren't quite fully open source.

The NodeMCU boards are very useful even if you're not interested in Lua, they add power, USB and breadboard friendly headers in a smallish package.

I've started messing around with different ways to program them for educational purposes: http://nick.zoic.org/etc/flobot-graphical-dataflow-language-...

Re: ESP8266: A $5 microcontroller with wi-fi that runs Python

#63

cool chip! I can't find the SRAM size, anybody has an idea? https://nurdspace.nl/images/e/e0/ESP8266_Specifications_Engl... EDIT: 2015 article, maybe put that in the title?

64 KiB of instruction RAM, 96 KiB of data RAM https://en.wikipedia.org/wiki/ESP8266 For whatever reason the Make dead-tree-edition of the original article posted has a "Table of Boards" in it and they list the ESP8266 as having 1MB of "Memory". It's also a new article. It's recently run in the February/March 2016 edition of Make: Super (Cheap) Computers. Edit: While the OPs link is not the new article, it is in the c…

The ESP8266 allows you to map up to 1MB of the attached SPI flash into memory and run code from it, at somewhat of a performance penalty compared to running from RAM. Some of the older modules don't have that much flash onboard though.

Re: ESP8266: A $5 microcontroller with wi-fi that runs Python

#65
post #3

Earlier 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…

Very tangentially related, but: if FRAM on the MSP430 saves its state on power loss, my mind went straight to Smalltalk. It's like hardware support for saving an image. Tho from an efficiency standpoint, smalltalk might be pushing it more than MicroPython is. That, and a smalltalk editor on a machine too small to fit a vi clone might be even more of a stretch. lol.

Re: ESP8266: A $5 microcontroller with wi-fi that runs Python

#66
Now all we need is for AWS IoT to support TLS 1.1 with symmetric keys. Currently the ESP8266 arduino libraries only support TLS 1.1 which is not compatible with the TLS 1.2 minimum for AWS IoT. I am super excited for this board and would love to be able to kick of lambda functions automatically in response to device events. If anyone from the IoT team comes across this please make this a priority, all of us makers will thank you.

Re: ESP8266: A $5 microcontroller with wi-fi that runs Python

#67

Now all we need is for AWS IoT to support TLS 1.1 with symmetric keys. Currently the ESP8266 arduino libraries only support TLS 1.1 which is not compatible with the TLS 1.2 minimum for AWS IoT. I am super excited for this board and would love to be able to kick of lambda functions automatically in response to device events. If anyone from the IoT team comes across this please make this a priority, all of us makers wi…

> Now all we need is for AWS IoT to support TLS 1.1 with symmetric keys.

Making the ESP8266 libraries support TLS 1.2 is a better idea

Re: ESP8266: A $5 microcontroller with wi-fi that runs Python

#68

Earlier quoted context omitted.

Nice prototyping board! We've been working on a similar concept at ESProto - http://www.esproto.com/ - and have taken a few steps beyond your board. We've created the ESProto 1, and now the ESProto IoT. Both are being released as open source, and also sold as kits. The ESProto 1 is designed to support the AI Thinker ESP-12F (FCC Certified) module, and give you space for an optional regulator, and prototyping space on…

That looks interesting, but I can't find much information on your site, it seems to be a stockish install. Is there any more info somewhere?

Yes ... the website is a "work in progress" and we just got our second round of PCBs that we are testing. We're pushing to get the kits up there in the next couple of weeks.

In the mean time, the Github repo is at: https://github.com/Wovyn

We've got the initial KiCAD files up there, and are putting together our sample code, etc.

Re: ESP8266: A $5 microcontroller with wi-fi that runs Python

#69

Question to those who know the landscape of little microcontrollers well: if I wanted to build a small pet tracking chip (gps and cell, probably) that would work way out in the boonies (like middle-of-nowhere-Wyoming), where should I look? Am I right to be thinking gps+cell, or is this something where I could get away with just GPS (and somehow track where that GPS is pinging from)? And would something like a tumble…

I think there are dog trackers on the market that use GPS + Cell. At least there are motorcycle trackers.

Generally the problem with WiFi is if it's close enough to work the dog can usually hear you. You could use a directional antenna but an extra 10db isn't going to buy you much. And at 2.4GHZ WiFi gets attenuated rapidly when not line of sight. Same is true for anything else in the 900MHz/ 2.4GHZ bands. Cellular gets around this by putting their antennas up high to clear local clutter (buildings, trees, hills, etc).

Problem with Cellular is the power drain and the monthly bill. On the other hand, probably will work. Cellular coverage is pretty good everywhere now. If you want to mess about I think there are modules with Cellular and GPS.

You also might be able to use a 900MHz solution[1] where you just send a ping of the GPS coordinates every so often. If you up the power to the max allowed (Like 20-30db) and drop the data rate down to a few hundred/thousand bits per second. You could probably go two to three miles. I think your current choices here are some sort of FSK radio or the newer LoRa radio. The reason is FSK radios and LoRa both allow you to turn the bandwidth way way down. The lower the bandwidth the better the signal to noise for the same transmit power.

[1] The lower the transmit frequency better it will propagate through clutter on the ground. But lower frequency means a bigger antenna.

PS: If you're messing with RF using module or manufactures dev board is the way to go. It's very hard to tune the RF path and antenna without experience and a spectrum analyzer.

PSS: I've found the transceivers from SemTech to be pretty bulletproof. They have their own power regulators on board which makes them insensitive to being powered by crappy supplies.

Re: ESP8266: A $5 microcontroller with wi-fi that runs Python

#70
post #67

Now all we need is for AWS IoT to support TLS 1.1 with symmetric keys. Currently the ESP8266 arduino libraries only support TLS 1.1 which is not compatible with the TLS 1.2 minimum for AWS IoT. I am super excited for this board and would love to be able to kick of lambda functions automatically in response to device events. If anyone from the IoT team comes across this please make this a priority, all of us makers wi…

> Now all we need is for AWS IoT to support TLS 1.1 with symmetric keys. Making the ESP8266 libraries support TLS 1.2 is a better idea

Discussion here: https://github.com/esp8266/Arduino/issues/43
Post reply on HN