There’s nothing to be ashamed of. It’s a problem we all have. You change your code a lot — you can’t help it, you just need to tweak one last little bit. And then you have to go downstairs, fetch your ESP8266 module, plug it in to your computer, flash the new firmware in, and then run back down and re-install your wine-cellar temperature monitor. If only there were a way to continuously update your ESP8266 over the air, pulling new code down from your GitHub repository, automatically running your test suite on it, and then pushing it off to the ESP.
OK, it’s ridiculous overkill, but [Daniel] strung together a bunch of open-source continuous integration tools and made them work with the ESP8266. A simple PHP script connects the ESP to the rest of the web infrastructure.
[Daniel] says the word “security” in the same way that gin aficionados whisper “vermouth” over their Martinis. Which is to say, there is none. But for a home solution, or if you want to play around with continuous development, it’s a good start.
And this is a cool project because it makes use of the ESP8266 OTA (over-the-air) programming library to push the code across. And we do hate having to run around the house to update firmware.
So check it out if you want to push code to your ESP8266s without physically going to fetch them, or if you want to integrate your web development with your home deployment.
Quick quiz: How many ESP8266 modules do you need to make an LED clock? Hint: a clock displays 12 hours.
Nope! Twelve is not the answer. But that didn’t stop Hackaday.io user [tamberg] from building a 12-ESP clock during the Bilbao, Spain Maker Faire. The “advantage” of using so many ESP8266s is that each one can independently control one hour LED and its associated slice of five minute-marker LEDs. Each ESP fetches the time over the Internet, but only lights up when it’s time.
It’s like parallel processing or something. Or maybe it’s redundant and failsafe. Or maybe it’s just an attempt to put the maximum Internet into one Thing. Maybe they had a team of twelve people and wanted to split up the load evenly. (We couldn’t think of a real reason you’d want to do this.)
All snark aside, the project looks great as you can see in this Flickr gallery, and all of the design files are available if you’d like to re-use any parts of this project. We’re thinking that the clock face is pretty cool.
Continue reading “Absurd Clock uses Twelve ESP8266 Modules”
[Conor] wired up his 3D-printed coffin doorbell to an array of RGB LEDs, a screaming speaker, and a spinning skull on a cordless screw driver to make a “quick” Halloween scare. Along the way, he included half of the Adafruit module catalog, a relay circuit board, and ESP8266 WiFi module, a Banana Pi, and more Arduinos of varying shapes and sizes than you could shake a stick at.
Our head spins, not unlike [Conor]’s screaming skull, just reading through this Rube Goldbergy arrangement. (We’re sure that’s half the fun for the builder!) Smoke ’em if ya got ’em!
Start with the RGB LEDs; rather than control them directly, [Conor] connected them to a WiFi-enabled strip controller. Great, now he can control the strip over the airwaves. But the control protocol was closed, so he spent a week learning Wireshark to sniff the network data, and then wrote a Bash script to send the relevant UDP packets to turn on the lights. But that was not fancy-schmancy enough, so [Conor] re-wrote the script in Go.
Yes, that’s right — a Go routine on a Banana Pi sends out custom UDP packets over WiFi to a WiFi-to-LED-driver bridge. To make lights blink. Wait until you see the skull.
The plastic skull has Neopixels in each ping-pong ball eye, controlled by an Arduino Nano and battery taped to the skull’s head. The skull is cemented to a driver bit that’s chucked in a cordless drill. A relay board and another Arduino make it trigger for 10 seconds at a time when the doorbell rings. Finally (wait for it!) an Arduino connected to the doorbell gives the signal, and sets a wire high that all the other Arduini and the Banana Pi are connected to.
Gentle Hackaday reader, now is not the time for “I could do that with a 555 and some chewing gum.” Now is the time to revel in the sheer hackery of it all. Because Halloween’s over, and we’re sure that [Conor] has unplugged all of the breadboards and Arduini and put them to use in his next project. And now he knows a thing or two about sniffing UDP packets.
Continue reading “Halloween Doorbell Prop in Rube-Goldberg Overdrive”
What is it that we like so much about inefficient, noisy clocks made with inappropriate technology? Answer the question for yourself by watching the video (below) that [David Henshaw] sent us of Dottie, the flip-dot clock.
But besides the piece itself, we really like the progression in the build log, from “how am I going to do this?” to a boxed-up, finished project.
Another stunning aspect of this build is just how nice an acrylic case and a raft of cleverly written software can make a project look. You’d never guess from the front that the back-side was an (incredible) rat’s nest of breadboards and Ethernet wires. Those random switching patterns make you forget all the wiring.
And the servo-steered, solenoid-driven chimes are simply sweet. We’re sure that we’d love to hear them in real life.
Continue reading “Dottie the Flip Dot Clock”
[Robbtoberfest] has earned our admiration with this crazy chainsaw powered spot light. It looks horribly dangerous, extremely inefficient, and woefully under engineered. We absolutely love it.
This could be plucked from a video game or a movie and seems to be one UV bulb away from being the ultimate post apocalyptic zombie vampire Armageddon weapon. He has taken apart a chainsaw and attached it to a DC treadmill motor using a couple of bike sprockets and a chain. That DC motor then feeds a car headlight directly. As you can see in the video, when he cranks the gas, it shines pretty brightly. The unfinished nature of this is due to a deadline for a contest on instructables, so he plans on adding a protective cowl, some fancy paint work, and a voltage regulator down the road.
Continue reading “Chainsaw/flashlight overkill”