Harder than it looks but controlling an 5m led stripe using the esp8266 by the open pixel control protocol took me a night (and might be the reason for extra bad english as i write this post directly after it). But it’s real fun!
There are several ways to make the controller blink, the easiest way is shown here:
For the duration of infintiy, it sends the static header consisting of 4 bytes ( prio, command and checksum) followed by 8bit red 8bit green and 8bit blue for each led of the stripe. It gets the blinking values by asking the source of random in linux. It lacks a bit of white as my power source got to its limits, so if you reimplement this use 5V and 1A per 30 leds.
Another thing to mention is the data length field which are bytes 3-4 of the header or
\x02\xA6 as in the command above. This length needs to equal the amount of leds times three, so in this example 226 Leds where controlled as the bytes in network order end up to be 678.
This results in that little animation:
Another possibility is to send these packets by a small python script like that:
Hi there, I did a small lightning talk at the Datenspuren 2015. I expect the talk to be recorded but not published yet. All videos will be available at the Dataspuren Recordings Page. But in case you want to show the slides to somebody download them here.
Talk is online (my part starts at min 37:45) . Because linking didn’t really work, I cut the original video and uploaded my five minutes to youtube. The talk is in German, but I’ve added english subtitles:
To see the mentioned robot in action, you can see this little video I posted some time ago.
Do not hesitate to contact me, I am kinda available to hire and traveling through vienna the next week 🙂
Today I watched a really nice talk about making robots. It’s worth every minute and ideal to dive into the current issues of current robotics by showing different approaches to solve common problems. Therefore the participants are:
Russ Tedrake Director, Center for Robotics, MIT Computer Science and Artificial Intelligence Lab