64×16 LED MQTT Laundry Display

When you have an MQTT broker receiving messages, you want to be able to see them. [Xose Pérez] already had a system set up that sent him notifications, but he had a pair of 32×16 LED matrices, so he decided to make a big, bright sign to let him know when he got an important message sent to the broker.

[Xose Pérez] had already built a laundry monitor which was sending messages to an MQTT broker so he wouldn’t forget his laundry sitting in the washing machine. To communicate with the broker, he used an ESP-12. He had already ported an Arduino library for the Holtek HT1362C display drivers used by the matrices to work with his driver board.

mqtt-led-matrix-driver-boardHe wanted to try out SMD soldering so he built a custom PCB to hold the ESP-12, power supply, passive components, and a connector and he describes his methods and results. Instead of hardcoded messages, he wanted the system to be configurable and display messages coming in, not only from his laundry system, but also from other sensors. A web interface, built with jQuery and WebSockets, running on the ESP-12 allows the user to subscribe to a topic on the broker and show a customized name and value on the display when a payload is available.

All-in-all, [Xose Pérez] has posted a great tutorial in which he goes over the hardware he built, the libraries he used, SMD soldering, how he made the enclosure, and even his choice in IDE (PlatformIO). He also posted the software, board designs and enclosure models software and hardware on bitbucket. The end result is a great looking LED matrix that displays not only his laundry’s status, but also anything else he wants to from his MQTT broker.

If you want to try your hand with MQTT, the ESP8266 is a wonderful device for sensor nodes, and any Linux box (like the Raspberry Pi) makes an easy broker. Check out [Elliot Williams’] Minimal MQTT series and you will be up and running in no time.

Creating A PCB In Everything: Friends Don’t Let Friends Use Fritzing

This week, we’re continuing our Creating A PCB In Everything series, where we go through the steps to create a simple, barebones PCB in different EDA suites. We’re done with Eagle, and now it’s time to move onto Fritzing.

fritzing-logoFritzing came out of the Interaction Design Lab at the University of Applied Sciences of Potsdam in 2007 as a project initiated by Professor Reto Wettach, André Knörig and Zach Eveland. It is frequently compared to Processing, Wiring, or Arduino in that it provides an easy way for artists, creatives, or ‘makers’ to dip their toes into the waters of PCB design.

I feel it is necessary to contextualize Fritzing in the space of ‘maker movement’, DIY electronics, and the last decade of Hackaday. Simply by virtue of being an editor for Hackaday, I have seen thousands of homebrew PCBs, and tens of thousands of amateur and hobbyist electronics projects. Despite what the Fritzing’s Wikipedia talk page claims, Fritzing is an important piece of software. The story of the ‘maker movement’ – however ill-defined that phrase is – cannot be told without mentioning Fritzing. It was the inspiration for CircuitLab, and the Fritzing influence can easily be seen in Autodesk’s 123D Circuits.

Just because a piece of software is important doesn’t mean it’s good. I am, perhaps, the world’s leading expert at assessing poorly designed and just plain shitty PCBs. You may scoff at this, but think about it: simply due to my vocation, I look at a lot of PCBs made by amateurs. EE professors, TAs, or Chris Gammell might beat me on volume, but they’re only looking at boards made by students using one tool. I see amateur boards built in every tool, and without exception, the worst are always designed in Fritzing. It should be unacceptable that I can even tell they’re designed in Fritzing.

Fritzing has its place, and that place is building graphical representations for breadboard circuits. Fritzing has no other equal in this respect, and for this purpose, it’s an excellent tool. You can also make a PCB in Fritzing, and here things aren’t as great. I want to do Fritzing for this Creating A PCB In Everything series only to demonstrate how bad PCB design can be.

For the next few thousand words, I am going to combine a tutorial for Fritzing with a review of Fritzing. Fritzing is an important piece of software, if only for being a great way to create graphics of breadboard circuits. As a PCB design tool, it’s lacking; creating parts from scratch is far too hard, and there’s no way to get around the grid snap tool. No one should ever be forced to create a PCB in Fritzing, but it does have its own very limited place.

Continue reading “Creating A PCB In Everything: Friends Don’t Let Friends Use Fritzing”

Reverse Engineering The Internet Of Coffee

The public promise of the Internet Of Things from years ago when the first journalists discovered the idea and strove to make it comprehensible to the masses was that your kitchen appliances would be internet-connected and somehow this would make our lives better. Fridges would have screens, we were told, and would magically order more bacon when supplies ran low.

A decade or so later some fridges have screens, but the real boom in IoT applications has not been in such consumer-visible applications. Most of your appliances are still just as unencumbered by connectivity as they were twenty years ago, and that Red Dwarf talking toaster that Lives Only To Toast is still fortunately in the realm of fiction.

The market hasn’t been devoid of IoT kitchen appliances though. One is the Smarter Coffee coffee machine, a network-connected coffeemaker that is controlled from an app. [Simone Margaritelli] bought one, though while he loved the coffee he really wasn’t keen on its not having a console application. He thus set about creating one, starting with reverse engineering its protocol by disassembling the Android version of its app.

What he found was sadly not an implementation of RFC 2324, instead it uses a very simple byte string to issue commands with parameters such as coffee strength. There is no security, and he could even trigger a firmware upgrade. The app requires a registration and login, though this appears to only be used for gathering statistics. His coffee application can thus command all the machine’s capabilities from his terminal, and he can enjoy a drink without reaching for an app.

On the face of it you might think that the machine’s lack of security might not matter as it is on a private network behind a firewall. But it represents yet another example of a worrying trend in IoT devices for completely ignoring security. If someone can reach it, the machine is an open book and the possibility for mischief far exceeds merely pranking its owner with a hundred doppio espressos. We have recently seen the first widely publicised DDoS attack using IoT devices, it’s time manufacturers started taking this threat seriously.

If the prospect of coffee hacks interests you, take a look at our previous coverage.

[via /r/homeautomation]

What We Are Doing Wrong. The Robot That’s Not In Our Pocket

I’m not saying that the magic pocket oracle we all carry around isn’t great, but I think there is a philosophical disconnect between what it is and what it could be for us. Right now our technology is still trying to improve every tool except the one we use the most, our brain.

At first this seems like a preposterous claim. Doesn’t Google Maps let me navigate in completely foreign locations with ease? Doesn’t Evernote let me off-load complicated knowledge into a magic box somewhere and recall it with photo precision whenever I need to? Well, yes, they do, but they do it wrong. What about ordering food apps? Siri? What about all of these. Don’t they dramatically extend my ability? They do, but they do it inefficiently, and they will always do it inefficiently unless there is a philosophical change in how we design our tools.

Continue reading “What We Are Doing Wrong. The Robot That’s Not In Our Pocket”

Peculiar Fluid Dynamics Creates Hot And Cold Air

We’re fascinated by things with no moving parts or active components that work simply by virtue of the shape they contain — think waveguides and resonators for microwave radiation. A similarly mystical device from the pneumatics world is the Hilsch Vortex Tube, and [This Old Tony] decided to explore its mysteries by whipping up a DIY version in his shop.

Invented in the 1930s, vortex tubes are really just hollow tubes with an offset swirl chamber. Incoming compressed air accelerates in the swirl chamber and heads up the periphery of the long end of the tube, gaining energy until it hits a conical nozzle. Some of the outer vortex escapes as hot air, while the rest reflects off the nozzle and heads back down the pipe as a second vortex inside the outer one. The inner vortex loses energy and escapes from the short end as a blast of cold air – down to -50°C in some cases. [Tony]’s build doesn’t quite approach that performance, but he does manage to prove the principle while getting a few good-natured jabs into fellow vloggers [AvE] and [Abom79].

We’ve covered vortex tubes before, but as usual [Tony]’s build shines because he machines everything himself, and because he tries to understand what’s making it work. The FLIR images and the great video quality are a bonus, too.

Continue reading “Peculiar Fluid Dynamics Creates Hot And Cold Air”

Three Of Our Favorite Hackers

It’s one thing to pull off a hack, it’s another entirely to explain it so that everyone can understand. [Micah Elizabeth Scott] took a really complicated concept (power glitching attacks) and boiled a successful reverse engineering process into one incredible video. scanlime-power-smoothing-alterationsWe know, watching 30 minutes of video these days is a huge ask, just watch it and thank us later.

She explains the process of dumping firmware from a Wacom tablet by hacking what the USB descriptors share. This involves altering the power rail smoothing circuit, building her own clock control board to work with the target hardware and a ChipWhisperer, then iterating the glitch until she hones in on the perfect attack.

This, of course isn’t her first rodeo. Also known as [scanlime], she’s been on the scene in a big way for a while now. Check out more of her work, and perhaps congratulate her on recently being scooped up for a Principal Researcher role that we’d like to attribute in part to the hacks she’s been demoing online. You should also thank her for being a Hackaday Prize Judge in 2015 and 2016.

led-handbag-debra-ansel-geekmomprojects-closeupThis year we spotted [Debra Ansell] at Maker Faire, not as an exhibitor but an attendee taking her newest creation out in the wild. [Debra’s] LED matrix handbag is a marvel of fabrication — both design and execution are so great it is hard to believe this is not a commercially available product. But no, the one-of-a-kind bag uses woven leather strips spaced perfectly to leave room for WS2812 RGB LED modules to nestle perfectly. Look slike she even posted a tutorial since we last checked! If you don’t recognize her name, you might recognize her company: GeekMomProjects. She’s the person behind EtchABot, a robotic addendum to the diminutive pocket Etch a Sketch which [Debra] sells on Tindie.

troubleshooting-veronica-custom-6502-computer
The custom PCBs of Veronica (in troubleshoot mode)

Our fascination with [Quinn Dunki]’s work goes way way back. She has a software background but her hardware chops are to be admired. Recently we’ve delighted in her efforts to beef up the fabrication abilities of her shop. Want to know how to vet your new drill press — [Quinn] has you covered. We also enjoyed seeing her bring an inexpensive bandsaw up to snuff. There are too many other great hacks from [Quinn Dunki] to start naming them all. We’ll leave you with her amazing work on Veronica, the scratch-built 6502 computer that she brought with her for her Hackaday 10th Anniversary talk. Her avatar at the top is from one of her PCB etching tutorials.

Celebrating Ada Lovelace Day

Today is the second Tuesday in October — it’s Ada Lovelace day, a worldwide celebration of women in science and technology. The hackers above are some of our all-around favorites and we have featured all of their work frequently. Their impact on technology is undeniable, we give them much respect for their skills and accomplishments. We’d love to hear your own favorite examples of women who have incredible game when it comes to hardware hacking. Please let us know in the comments below.

Hackaday Prize Entry: Augmented Reality Historical Reenactments

Go to a pier, boardwalk, the tip of Manhattan, or a battlefield, and you’ll see beautifully crafted coin operated binoculars. Drop a coin in, and you’ll see the Statue of Liberty, a container ship rolling coal, or a beautiful pasture that was once the site of terrific horrors. For just a quarter, these binoculars allow you to take in the sights, but simply by virtue of the location of where these machines are placed, you’re standing in the midsts of history. There’s so much more there. If only there was a way to experience that.

This is why [Ben Sax] is building the Perceptoscope. It’s a pair of augmented reality binoculars. Drop in a quarter, and you’ll be able to view the entirety of history for an area. Drop this in Battery Park, and you’ll be able to see the growth of Manhattan from New Amsterdam to the present day. Drop this in Gettysburg, and you’ll see a tiny town surrounded by farms become a horrorscape and turn back into a tiny town surrounded by a National Park.

This is a long term project, with any installations hopefully lasting for decades. That means these Perceptoscopes need to be tough, both in hardware and software. For the software, [Ben] is using WebVR, virtual reality rendering inside a browser. This means the electronics can just be a tablet that can be swapped in and out.

The hardware, though, isn’t as simple. This is going to be a device running in the rain, snow, and freezing weather for decades. Everything must be overbuilt, and already [Ben] has spent far too much time working on the bearing blocks.

Although this is an entry for The Hackaday Prize, it was ‘pulled out’, so to speak, to be a part of the Supplyframe DesignLab inaugural class. The DesignLab is a shop filled with the best tools you can imagine, and exists for only one goal: we’re getting the best designers in there to build cool stuff. The Perceptoscope has been the subject of a few videos coming out of the DesignLab, you can check those out below.

Continue reading “Hackaday Prize Entry: Augmented Reality Historical Reenactments”