Has anyone used an ESP8266 with Arduino and FastLED yet? In particular,

Has anyone used an ESP8266 with Arduino and FastLED yet?

In particular, have you worked out a way to control the Arduino?

I could just pass through commands using serial, but I would like to set up a web page that offers a bunch of different FastLED modes that you can just select.

If anyone has gone down this route, care to share?

I am trying to get a webserver set up on my ESP as per esp-ginx (https://github.com/israellot/esp-ginx ), but the toolchain is proving lots of fun to get working on my mac

Curious to hear what you find; this is pretty new territory.

Oh gee, thanks coder-man! You mean I have to do it myself? >.<

OK… I need to refresh my html and get this damned SDK working… why can’t everything just come with a pkg file?

Yeah, if I get time I may play with this on the weekend, but still trying to be nice to my wrists (RSI), so not doing heavy coding for a bit yet again. Warm weather is helping.

Anyway, whatever you learn, please do share!

I’m building a new light for the fridge in our hackerspace. exchange the old tube light with a teensy 3.1 and a small LED-matrix.
Currently only a smooth animation i running; but I already prepared the ESP8266 (ESP-12) to be connected to teeny - running MQTT, to get remote access from our internal network-bus. So you can control the brightness, lights, send text, change animations, …
But I’m still stuck on the MQTT library bridge for arduino/teensy :confused:
Controlling ESP8266 via Teensy is really easy - this just work finde and there are a lot of libraries our there on github

@Mark_Kriegsman ​ I know your pain all too well. Do yourself a favour and buy one of these keyboards http://www.amazon.com/gp/aw/d/B0049PFYWQ/ made the world of difference for me. No RSI problems since!

Adafruit has made a breakout board for the module, at 10usd, it’s worth it https://www.adafruit.com/products/2471

@Philippe_Maegerman this one is much cheaper and also great to use:

@Jurgen_Skrotzky oh and it has usb, so no need for FTDI I guess :wink:

@Jurgen_Skrotzky That one takes up the full width of a breadboard. But… it’s a great little board, you can upload to it as painlessly as loading to an Arduino - no buttons to push or jumpers/pins to ground.

It’s just a bit useless for prototyping on a breadboard.

Ive bought a few of these : https://www.tindie.com/products/Ba0sh1/esp8266-esp-0712-full-io-breadboard-adapter/

Not the cheapest, but a good board and with the ESP-07, get to choose between chip and external antenna.

@Mark_Kriegsman I got a long way forward over the week. I will make a working prototype today/tomorrow and see about documenting it. Basically it involves two approaches: one is to turn the ESP into a serial bridge, which means loading a custom firmware to it -this has the advantage of allowing sketches to be loaded over WiFi; The other is a fully-featured web server loaded to the ESP, which can present multiple pages, depending on what you want to do. In theory it could also be used to upload a sketch, but there isn’t much room left to store/forward anything much larger than “blink”.

@Mike_Thornbury when you say upload a sketch over wifi, are you talking an Arduino sketch on an Arduino? Or on a Teensy?

I imagine you could use a teensy, but I only have Arduino. The process would be similar. The difficulty is in getting the sketch from the PC through the ESP and triggering the bootload process. I am sorry, but I don’t really know anything about Teensy - they are too expensive to buy here.

@Mike_Thornbury no worries. I had tried to do something similar with the teensy and it proved quite difficult, couldn’t get the code on the teensy to jump to the right location. I’d be up for trying with an Arduino though, could be really handy.

When you say ‘couldn’t get the code on the teensy to jump to the right location’, that means nothing to me :slight_smile: I am a complete muppet when it comes this this stuff - I fumble through with two thumbs (one probably stuck up me arse!). I probably need to research the Teensy and how it works.

Ah, the teensy is a complicated little beast. But basically it has a second chip on there that actually does the flashing of the main microcontroller, so the primary chip itself has no bootloader, but the secondary chip steps in and flashes it when necessary. This makes it more like the Arduino Pro mini I think. Anyway, I made a prototype a while back to try and rewrite some of the program memory, in effect giving the teensy a bootloader like an Arduino Uno. Sadly though I couldn’t figure it out.

Aha. No, the pro mini is just a straight 328 Arduino - nothing fancy on there at all. It’s the most common Arduino in my toolbox :slight_smile: (at less than $1.50 ea, there’s a reason for that!).

Hmm… I forget which one has the dual setup then. Anyway. Would love to see what you come up with!

So would I :slight_smile:

I just realised that was a 168 that I linked to… the 328Ps are a bit more expensive - $1.80: http://www.aliexpress.com/item/Free-Shipping-1pcs-lot-ATMEGA328P-Pro-Mini-328-Mini-ATMEGA328-5V-16MHz-for-Arduino/32291252874.html