Settings

Theme

Show HN: Micro web framework for low-resource systems – live example on ESP8266

ureq.solusipse.net

146 points by solusipse 10 years ago · 40 comments

Reader

droithomme 10 years ago

Whoa nelly! This web site is running entirely on an 8266, responds instantly, and is handling the kiss of death associated with HN linking with no problem. That is amazing.

ausjke 10 years ago

this is indeed probably the best low-cost wifi chip out there, most of the esp8266 modules are still acting as an add-on module for other host-cpus(e.g. arduino) though, wish it can run something like freertos or contik on its own so it can be a IoT sensor standalone(maybe it's there already, had not checked it in the last few months).

TI had similar products but it's too expensive, in that sense IoT hardware has to be 'made-in-china'

jerrysievert 10 years ago

i am continuously impressed by the esp8266. i have been building things on and off with them for the last couple of months, and bought enough of them to give out.

at less than $2 each, they really are amazing.

  • 100timesthis 10 years ago

    I bought one as well although I didn't do anything yet, would you mind share what you did/recommend doing? I was thinking to make a temperature sensor monitoring device, as I have an arduino that is doing the job now

    • jerrysievert 10 years ago

      a temperature sensor was actually my first use of it (and i will continue to build a couple as remote sensors) - basically, i've been adding more and more sensors just to see how much it could take.

      now, i'm having to build out PCB's to support everything (including the voltage regulators to 3.3v and 5v), as i've outgrown breadboards.

    • dnr 10 years ago

      I've made motion sensors (still slightly buggy) and a small circuit to start my laundry machine remotely. I might do temp/humidity monitoring for a specialized application at some point.

  • placeybordeaux 10 years ago

    Where do you get them for $2?

    • jerrysievert 10 years ago

      aliexpress.com

      • NicoJuicy 10 years ago

        Got a link? There are a bunch of them there... But i'm kinda curiouis which one you bought. So i don't have to analyse things all over ;)

        • jerrysievert 10 years ago

          no link, the place i bought mine from in august doesn't appear to have any anymore.

          i recommend buying the esp-12e, and the first one on my search comes up at $1.97. note, these things aren't breadboard friendly out of the box. if you want that, buy a huzzah from adafruit or buy one of the breakout boards on aliexpress (17 cents each or so).

          • simcop2387 10 years ago

            For the 12E to start with, take a look at the nodemcu dev boards. More expensive but it's a great little board to start a project on and then go to the bare module since it includes all the usb<->ttl, and regulator stuff.

zapt02 10 years ago

For someone wanting to tinker but not being great at electronics project, what is the easiest way to: - Play with the chip (testing interfaces, deploying code etc) - "Deploy" it (ie. connect it to ground power, via 230v-USB connector or similar?

  • jerrysievert 10 years ago

    buy a huzzah from adafruit, it breaks everything out, and is much more tolerant than the board itself.

    couple it with a small breadboard and an mb102, and you're good to go.

  • foxylad 10 years ago

    Onthe software side, the Arduino programming environment now supports the ESP8266. This makes it very easy to start playing.

    One hint - to program, reboot with the programming pin (GPIO0) grounded, but take it back to 3.3V before you start programming. That took me a couple of hours to figure out.

rasz_pl 10 years ago

>running at 80Mhz

160MHz http://www.esp8266.com/viewtopic.php?p=8107#p8107

also "Rebooting every 400 users" doesnt sound all that stable :)

  • solusipseOP 10 years ago

    This reboot is forced, we had over 3k requests with no hanging of whatsoever. It just helps when traffic is huge. This particular chip (serving linked website) is running at 80Mhz.

mianos 10 years ago

Plus, running micropython this board rocks. Imagine a repl on the USB serial interface. My branch is rock solid posting millions of messages from python to a webserver.

mafuyu 10 years ago

Awesome work! Looks like there's a great community growing around the esp8266. I'll need to check it out myself sometime.

Retr0spectrum 10 years ago

This is very impressive.

tdicola 10 years ago

Wasn't this posted yesterday? I swear I saw it in the RSS feed.

edit: Yeah, https://news.ycombinator.com/item?id=10369608 Weird, what's a repost invite?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection