It’s really hard to overstate how awesome ESP8266 development boards like the Wemos D1 Mini really are. For literally a couple of dollars you can get a decently powerful Wi-Fi enabled microcontroller that has enough free digital pins to do some useful work. Like the Arduino and Raspberry Pi before it, the ESP8266 is a device that’s opening up whole new areas of hacking and development that simply weren’t as practical or cost-effective as previously.
As a perfect example, take a look at this stupendously simple Internet-connected motion detector that [Eric William] has come up with. With just a Wemos D1 Mini, a standard PIR sensor, and some open source code, you can create a practical self-contained motion sensor module that can be placed anywhere you want to keep an eye on. When the sensor picks up something moving, it will trigger an IFTTT event.
It only takes three wires to get the electronics connected, but [Eric] has still gone ahead and provided a wiring diagram so there’s no confusion for young players. Add a 3D printed enclosure from Thingiverse and the hardware component of this project is done.
Using the Arduino Sketch [Eric] has written, you can easily plug in your Wi-Fi information and IFTTT key and trigger. All that’s left to do is put this IoT motion sensor to work by mounting it in the area to be monitored. Once the PIR sensor sees something moving, the ESP8266 will trigger IFTTT; what happens after that is up to you and your imagination. In the video after the break, you can see an example usage that pops up a notification on your mobile device to let you know something is afoot.
With its low cost and connectivity options, the ESP8266 is really the perfect platform for remote sensing applications. Though to give credit where credit’s due, this still isn’t the simplest motion sensor build we’ve seen.
Continue reading “A Super Simple ESP8266 IOT Motion Sensor”
Two-part epoxy is one of those must-have items in your toolbox, albeit kept in a ziploc bag to keep all that goo off the rest of your tools. It’s a glue with a million uses, but which brand is best? Should you keep some cheap five-minute epoxy around, or should you splurge for the fancy, long-setting JB Weld. It’s not a perfect analysis, but at least [Project Farm] has done the experiment. This is a test of which two-part epoxy you can find at your local home supply store is strongest.
The epoxies tested include Gorilla epoxy, Devcon Plastic Steel, Loctite Epoxy Weld, JB Weld original, JB Weld Kwik Weld, and JB ExtremeHeat. This more or less covers the entire gamut of epoxies you would find in the glue aisle of your local home supply store; the Gorilla epoxy is your basic 5-minute epoxy that comes in a double barrel syringe, and the JB Welds are the cream of the crop.
The testing protocol for this experiment consisted of grinding a piece of steel clean, applying a liberal blob of each epoxy, and placing three bolts, head down, in each puddle. The first test was simply suspending weights in 2.5-pound increments to each bolt as a quick test of shear strength. Here, the losers in order were the JB Weld ExtremeHeat, JB Weld KwikWeld, Loctite, Gorilla Epoxy, Devcon Plastic Steel, and finally the JB Weld Original. Your suspicions are confirmed: those fancy new versions of JB Weld aren’t as good as the original. The fact that they’re worse than 5-minute epoxy is surprising, though. The second test — torquing the bolts out of the epoxy — gave similar results, with Devcon Plastic Steel beating the JB Weld Original just barely.
So, what do these results tell us? Cheap five-minute epoxy isn’t terrible, and actually better than the fancy new versions of JB Weld. Loctite is okay, and the Devcon and original JB Weld are at the top of their game. That’s not that surprising, as you can cast cylinder heads for engines out of JB Weld.
Continue reading “A Slightly Scientific Examination Of Epoxies”
Cardboard is one of the easiest ways to build something physical, far easier than the 3D printing and laser cutting we usually write about here. So when Nintendo released their Labo line of cardboard accessories, it doesn’t take a genius to predict the official product would be followed by a ton of user creations. Nintendo were smart enough to provide not only an internet forum for this creativity to gather, they also hold contests to highlight some of the best works.
The most impressive projects in the winner’s circle combined the one-of-a-kind cardboard creations with custom software written using Toy-Con Garage, the visual software development environment built into the Nintendo Switch console. Access to the garage is granted after a user runs through Nintendo Labo’s “Discover” activities, which walk the user behind the scenes of how their purchased Labo accessories work. This learning and discovery process thus also serves as an introductory programming tutorial, teaching its user how to create software to light up their custom cardboard creations.
It’s pretty cool that Nintendo opened up a bit of the mechanism behind Labo activities for users to create their own, but this is only a tiny subset of Nintendo Switch functionality. We have different hacks for different folks. Some of us enjoy reverse engineering details of how those little Joy-Cons work. Others hack up something to avoid a game puzzle that’s more frustrating than fun. And then there are those who are not satisfied until they have broken completely outside the sandbox.
Continue reading “Thinking Inside The (Cardboard) Box With Nintendo Labo Hacks”
Picture it: Halloween, 2018. You want to go to a party or take the kids out trick-or-treating, but remember what happened last year when you weren’t there to answer the door? A pack of wild children blew their allowances on 48 rolls of the cheapest toilet paper ever printed, and it took you four full hours to get all the sodden, dew-laden wads out of your rose bushes.
Halloween is a time to fear things like hobgoblins and the possibility of The Purge becoming a thing, not sugar-fueled children who are upset that you left out a bowl of Sixlets, wax lips, and alt-flavored Tootsie Rolls. So how do you take back the night? Do what [Randall Hendrix] did: build a Super Mario-themed candy-dispensing machine.
No customer, not one tiny [Thanos] or [Tony Stark] will be able to resist the giant, blinking, green start button. Pushing it cues the music and the spinning drum, which tumbles the candy around like a clothes dryer. Gravity and chance will drop one or three pieces onto a conveyor belt that runs under Mario’s feet, but it’s up to you to press the jump button at the right time. Otherwise, he knocks your prize back into the barrel.
There’s no micro here, just woodworking, relays, motors, a sound FX board, and the amp from an old pair of PC speakers. Mario’s candy-securing jump was originally pneumatic, but now it’s powered by a 240:1 gear motor that lifts him up with a cam. Grab a fun size Snickers and slap that break button to see this marvelous machine in action.
Concerned that they’ll play until the candy is gone? Add a sinister element like the Candy-or-Death machine we saw a few years ago.
Continue reading “Mario Candy Machine Gamifies Halloween”
Every scrap of power is precious when it comes to power harvesting, and working with such designs usually means getting cozy with a microcontroller’s low-power tricks and sleep modes. But in the case of the Ultra Low Power Energy Harvester design by [bobricius], the attached microcontroller doesn’t need to worry about managing power at all — as long as it can finish its job fast enough.
The idea is to use solar energy to fill a capacitor, then turn on the microcontroller and let it run normally until the power runs out. As a result, a microcontroller may only have a runtime in the range of dozens of microseconds, but that’s just fine if it’s enough time to, for example, read a sensor and transmit a packet. In early tests, [bobricius] was able to reliably transmit a 16-bit value wirelessly every 30 minutes using a small array of photodiodes as the power supply. That’s the other interesting thing; [bobricius] uses an array of BPW34 photodiodes to gather solar power. The datasheet describes them as silicon photodiodes, but they can be effectively used as tiny plastic-enclosed solar cells. They are readily available and can be arranged in a variety of configurations, while also being fairly durable.
Charging a capacitor then running a load for a short amount of time is one of the simplest ways to manage solar energy, and it requires no unusual components or fancy charge controllers. As long as the load doesn’t mind a short runtime, it can be an effective way to turn even indoor light into a figuratively free power source.
I’ve done a few experiments in adding color to printed circuit boards. These experiments used a process known as pad printing, and so far all indications are that pad printing is a viable process for truly multicolor artistic PCBs. For this year’s DEF CON, I’m stepping things up and taking them to their logical conclusion. I’m making true multicolor PCBs with orange and blue ink. This is, I believe, the first time this has ever been done with printed circuit board art, and it is certainly the first time it has ever been documented.
You may be wondering why I need more color on my boards. It’s that time of year again where PCB artisans all around the world are gearing up for
badgecon DEF CON. For the last few years, independent badge makers have come together to form a demoscene of hardware creation. This year, add-ons for badges are a thing, and everyone is getting in on the game. Tindie is filled with amazing electronic badges and add-ons that will be found at this year’s DEF CON. There are badges featuring the Cromulon from Rick and Morty, baby Benders from Futurama, pikachus, and glowing tacos.
This is all about badge art, but when it comes to rendering an image in fiberglass and soldermask, everyone is working with a limited palette. Yes, you can get pink and orange soldermask, but I can’t find a place that will do it inexpensively. For any PCB, your choice of colors are only green, red, yellow, blue, purple, black, or white. No, you can’t mix them.
But I want both orange and blue, on the same board, cheaply and easily — here’s how I did it.
Continue reading “Using Pad Printers To Add Color To Artistic PCBs”
This weekend is HOPE XII. The Hackers on Planet Earth conference is a biennial event held in New York City.
Dating all the way back to 1994, HOPE is an excellent collection of people and ideas. I was lucky enough to attend two years ago (my first time) and had a fantastic time meeting Cory Doctorow after his rousing talk about DMCA 1201, I got to hear Richard Stallman discuss why all software must be free, the talent show was off the hook, and there were fun people to hang out with at every turn.
The Hackaday Crew is making the pilgrammage to this event and you still can too! Tickets are available at the door. Come find us at a table in the vendor area — we’d love to see some hardware projects so bring those along! If you can’t make it to the event, you can still help guide our reporting. Check out the schedule for the weekend and help recommend what talks we should be at, just leave suggestions in the comments below.
Continue reading “Hackers On Planet Earth, Here We Come!”