PIR Sensor In A Jar Helps You Keep Your Concentration

While there are loads of impressive and complex projects here on Hackaday, sometimes it’s the simple ones that really speak to us. In this case we were presented with [Isabell Park]’s easy-to-follow instructable on how to build an anti-procrastination device.

On the hardware side there are no surprises, it consists of a PIR sensor connected to a NodeMCU microcontroller. It checks for a signal from the sensor, and if it’s triggered, it sends a command through the Adafruit IO libraries to IFTTT. On its own it could make for a decent movement alarm, but the part that makes the project interesting is how it’s applied to become a device to help with procrastination instead.

First, you put your phone in a jar along with the electronics and close it. Then, with everything configured, the circuit is powered on and stays vigilant for any movement inside the jar. Should you try to take your phone out of it for a quick social media break (which, if you’re like us, can turn into a few hours), IFTTT will be alerted and run through whatever script you have in place. In [Isabell]’s case, she suggests sending an SMS to a trusted contact to keep you in check.

If you’re looking to keep track of how much time you’ve spent procrastinating, have we got a clock for you. But if you’re looking for more projects involving PIR sensors, we have one that alerts you when your cat is back home. Meanwhile, check out this one in action after the break. Continue reading “PIR Sensor In A Jar Helps You Keep Your Concentration”

A Tiny LED Matrix Is Better With Friends

When we last heard from [lixielabs] he was building Nixie tube replacements out of etched acrylic and LEDs. Well he’s moved forward a few decades to bring us the Pixie, a chainable, addressable backpack for tiny LED matrix displays.

Each Pixie module is designed to host two gorgeous little Lite-On LTP-305G/HR 5×7 LED dot matrix displays, which we suspect have been impulse purchases in many a shopping cart. Along with the displays there is a small matrix controller and an ATTINY45 to expose a friendly electrical interface. Each module is designed to be mounted edge to edge and daisy chained out to 12 or more (with two displays each) for a flexible display any size you need. But to address the entire array only two control pins are required (data and clock).

[lixielabs] has done the legwork to make using those pins as easy as possible. He is careful to point out the importance of a good SDK and provides handy Arduino libraries for common microcontrollers and a reference implementation for the Raspberry Pi that should be easy to crib from to support new platforms. To go with that library support is superb documentation in the form of a datasheet (complete with dimensions and schematic!) and well stocked GitHub repo with examples and more.

To get a sense of their graphical capabilities, check out a video of 6 Pixie’s acting as a VU meter after the break. The Pixie looks like what you get when a hacker gets frustrated at reinventing LED dot matrix control for every project and decided to solve it once and for all. The design is clean, well documented, and extremely functional. We’re excited to see what comes next! Continue reading “A Tiny LED Matrix Is Better With Friends”

Roll Your Own Tracking

The smartphone is perhaps the signature device of our modern lives. For most of the population it is never more than an arm’s length away, it’s on your person more than any other device in your life. Smartphones are packed with all sorts of radios and ways to communicate wireless. [Amine Mansouri] built an ESP8266 based tracking device that takes advantage of this.

Most WiFi-enabled devices will send out “probe requests” frames trying to search for the SSIDs they were connected to. These packets contain the device MAC address as well as the SSIDs you’ve connected to. Using about 12 components, [Amine] laid out a small board in Eagle. By putting the ESP8266 in monitor mode, the probe frames can be logged and uploaded. The code can be updated OTA making it easy to service while in the field.

With permission from his local library, eight repeater boards were scattered throughout the building to forward the probe packets to where the tracker could pick them up. A simple web interface was built that allows the library to figure out how many people are in the library and how often they frequent the premises.

While an awesome project with open-source code on Github, it is important to stress how important is it to get permission to do this kind of tracking. While some phones implement MAC randomization, there are still many out in the wild that don’t. While this is similar to another project that listens to radio signals to determine the coming and going of ships and planes, tracking people with this sort of granularity is in a different category altogether.

Thanks [Amine] for sending this one in!

A Brain Transplant For An Uncommon Smart Bulb

By now it’s a hardware hack that’s become common enough to be unremarkable, taking a smart light bulb or other mains switchable appliance and replacing its firmware with an open-source equivalent such as Tasmota. But what can be done when a new device is found to have a microcontroller unsupported by any open-source equivalents? If you are [Luca Dentella], you don’t throw in the towel and buy another one with a known processor, instead you reverse engineer it enough to give it a brain transplant of an ESP8266 module.

The Fcmila branded smart bulb in question was found to have a relatively unknown Chinese SoC, the Opulinks OPL1000. Since this couldn’t even raise a serial port it was more trouble than it was worth to write software for it, so instead he spent a while reverse engineering its schematic and electrical protocols, before grafting in a Wemos D1 ESP8266 board. He’s made a video about the project which you can see below the break.

Thankfully the majority of smart bulbs on the market seem to use more familiar hardware that can be flashed with relative ease.

Continue reading “A Brain Transplant For An Uncommon Smart Bulb”

Building A Dishwasher From Scratch

[Billy] was no fan of doing the dishes, but also found commercial solutions lacking. The options on the market simply didn’t fit his cookware and flatware. Instead of compromising, he set out to build a dishwasher of his own design. 

The build consists of a whole heap of hardware all lumped in a sizeable plastic tub. A washing machine solenoid lets water into the system, and it’s heated by an element in the base of the tub. It’s then pumped through a garden sprinkler head to give the dishes a good all-over spraying. At the end of a wash cycle, the drain pump then dumps the water to let everything dry off. An ESP8266 and a bank of relays are in place to run the show, with the user selecting wash programs via buttons and a small screen.

It may have taken a couple of years to come together, but [Billy’s] dishwasher seems to get the job done. Files are on Github for those interested, however we’d caution against attempting such a build unless you’re familiar working with plumbing and mains electricity. The other benefit of building your own dishwasher is that you’re less likely to have to patch it against widespread exploits – the security is instead up to you. Video after the break.

Continue reading “Building A Dishwasher From Scratch”

Colorful Quinary Clock Makes The Most Out Of Five Neopixels

If binary digits are bits, are quinary digits “quits”? Perhaps, but whatever you call them, you’re going to have to wrap your head around some new concepts in order to make sense of this quinary display clock.

The transition between 15:42 and 15:43.

Why quinary? [Spike Snell] wanted to minimize the number of LEDs, and 52 is enough to cover all 24 hours. Binary clocks may have geek chic, but there are only so many ways to display ones and zeros.

[Spike]’s clock is unique because it shows each quit using a single WS2812 Neopixel. The values zero through four are each represented by a different color, meaning the user needs to memorize which color goes with which value, which we suspect is the hardest part of learning this clock. The clock’s software is fairly simple and runs on an ESP8266, and uses NTP to keep on track. The clock self-adjusts for Daylight Savings time, and it has a nice feature that dims the display in the evening to make living with it easier.

Even for those not up on their base-five arithmetic,  [Spike]’s clock is still a nice, slowly evolving abstract art piece. And for those who grok the quinary clock, perhaps a career awaits you in an alternate future where bi-quinary relay computers caught on.

An Old-School Control Panel For Your Computer

For as long as computers have been in the hands of programmers, they have offered frequent mildly tedious tasks that their operators have sought to automate. Who hasn’t written a shell script or a batch file that unites a string of commands into one just to save a bit of typing?

But even that effort can be reduced with a hardware add-on that ties the script to a physical control, and in this endeavor [Tomas] has created a beauty. His control panel project mimics the robust industrial panels of yesteryear with an array of metal buttons and toggle switches in a sturdy metal case sourced from an old KVM switch.

Behind the scenes are a pair of I/O extenders and a NodeMCU board, whose ESP8266 does the talking to the host computer on which a daemon awaits its call. Individual addressable LEDs next to each switch convey the state of operation, and the switches trigger useful operations such as connecting to a VPN. All the code is available in a handy GitHub repository, and you can see it in action in the video we’ve placed below the break.

We rather like the idea of a desktop control panel here at Hackaday, indeed this isn’t the first one we’ve brought you.

Continue reading “An Old-School Control Panel For Your Computer”