Random Developments And Random Toys

ESP8266 based Strava running stats display

After a few evenings of messing around with ESP8266 I managed to produce a very simple display of my Strava running stats. For now it only fetches my public profile and extracts two figures: total and current month’s killometrage I ran with the tracker. Nothing terribly useful and definitely nothing complicated, but it’s a fun start.

For now it simply connects to my WiFi network and starts fetching my profile every couple minutes. Two figures (total and this month) flip on the display every 10 seconds:

Code is bit of a mess, configuration can only be done via serial port.

And here’s an action shot in the kitchen:

ESP8266 Strava running stats display

As you can see I am not an industrial designer ;). And I should probably go back to running, since figures in that display haven’t gone up for last couple days.

And as I said - ESP8266 accessibility and ease of use is amazing, I’m stoked about it.

ESP8266 Flashing Jig

Woo! ESP8266 Flashing jig is ready:

ESP8266 Flashing Jig

Works great with Arduino IDE + ESP8266 board “plugin” + PL2303 USB to serial cable.

ESP8266 WiFi module

It seems I’ve been living under a rock for past couple years not to learn about ESP8266 WiFi module.


Long story short: last time I checked embedded WiFi options for hobbyists it was mostly $50-$150 boards or Arduino shields. And now there’s this tiny 10x25mm module for ~3 dollars (literally costs peanuts). Low power, but with fairly quick MCU, 1x ADC, 16x GPIO pins, WEP/WPA/WPA2 encryption, can be used both as client or as a WiFi access point(!). And most importantly has an amazing community, good software support, lots of info / documentation. Crazy! ;)

RC2014 update: now in enclosure

My RC2014 is now in a nice sturdy enclosure:

RC2014 in action

Front panel: power button, reset button, power led.

RC2014 in action

Rear panel: FTDI serial cable connection, power jack.

RC2014 in action

Web MIDI API is surprisingly easy

So I bumped into this neat CodePen snippet “Musical Chord Progression Arpeggiator” by Jake Albaugh. I never really tried to get any formal music theory training so for me this demo seemed to be rather impressive. And I thought it’d be even more fun if I could feed that to my MicroKorg synth.

After poking for couple hours with Web MIDI API spec I managed to produce this snippet with section to switch output to MIDI device (limited to Chrome browsers as far as I know):

Musical Chord Progression Arpeggiator

Lots knob wiggling fun! Unfortunately I currently do not have any gear to record a sample of that.