The Smartest Air Freshener In The Room

Many automatic air fresheners are wasteful in that they either ceaselessly spritz the room, and manual ones need to be — well — manually operated. This will not do in an era of smart products, so Instructables user [IgorF2] has put together an air freshener that does more than check if you’re around before freshening things up.

The air freshener uses a NodeMCU LoLin and an MG 995 servomotor, with a NeoPixel ring acting as a status light. Be aware — when the servo is triggered there is a significant spike in current, so be sure you aren’t powering the air freshener from a PC USB port or another device. After modeling the air freshener’s case in Fusion 360 — files available here — [IgorF2] wired the components together and mounted them inside the 3D printed case.

Hardware work completed, [IgorF2] has detailed how to set up the Arduino IDE and ESP8266 support for a first-time-user, as well as adding a few libraries to his sketch. A combination of an Adafruit.IO feed and ITTT — once again, showing the setup steps — handles how the air freshener operates: location detection, time specific spritzing, and after tapping a software button on your phone for those particularly lazy moments.

Continue reading “The Smartest Air Freshener In The Room”

Light Switch For The Lazy

[Will Donaldson] has whipped up a quick hack for anyone thinking of dipping their toe into home automation — or otherwise detest flicking off the bedroom light before navigating their way to their bed: a remote control light switch!

This remote switch uses a sg90 servo, an Arduino Uno, and pairs of ATtiny85s with HC-05 Bluetooth modules assembled on protoboards. The 3D printed mount screws easily on top of a standard light switch cover while still allowing the switch to be flipped the old-fashioned way. It’s also perfect as a temporary solution — [Donaldson] is presently renting his apartment — or for those unwilling to mess with the mains power of their abode.

Continue reading “Light Switch For The Lazy”

We Are Now At DEFCON 2

If you had a working DEFCON meter that reported on real data, would it be cool or distressing?

Before we get ahead of ourselves: no, not that DEF CON. Instructables user [ArthurGuy] is a fan of the 1983 movie  War Games, and following a recent viewing –hacker senses a-tingling — he set to work building his own real-time display.

Making use of some spare wood, [ArthurGuy] glued and nailed together a 10x10x50cm box for the sign. Having been painted white already at some point, the paint brilliantly acted as a reflector for the lights inside each section. The five DEF CON level panels were cut from 3mm pieces of coloured acrylic with the numbers slapped on after a bit of work from a vinyl cutter.

Deviating from a proper, screen-accurate replica, [ArthurGuy] cheated a little and used WS2812 NeoPixel LED strips — 12 per level — and used a Particle Photon to control them. A quick bit of code polls the MI5 terrorism RSS feed and displays its current level — sadly, it’s currently at DEFCON 2.

Continue reading “We Are Now At DEFCON 2”

Finding The Sun And Moon The New Old-Fashioned Way

The ability to build a robot to take care of a tedious task for you is power indeed. For a few centuries, the task of helping determine one’s location fell to the sextant. Now, you can offload that task to this auto-sextant, courtesy of [Raz85].

To be clear, this robo-sextant doesn’t give you your exact location, but it does find and display the bearing and altitude of the most luminous object around and display them on the LCD — so, the sun and moon. A pair of cheap servos handle the horizontal and vertical movement, an Arduino Uno acts as the brains and nervous system, and a photoresistor acts as the all-seeing eye. Clever use of some cardboard allow [Raz85] to keep the photoresistor isolated from most all light except what the sextant is currently pointed at. Servos have a limited field of movement, so you might need to adjust [Raz85]’s code accordingly if you’re rebuilding this one yourself.

After taking three minutes to make its rounds of the sky, the Uno records the servos’ positions when fixed on the sun or moon, translating that data into usable coordinates. Don’t forget the best part, it runs on batteries making it convenient for all your wave-faring excursions!

Continue reading “Finding The Sun And Moon The New Old-Fashioned Way”

A Table From Beyond Infinity

Infinity mirrors are some far-out table mods and make a great centerpiece. Instructables user [bongoboy23] took a couple steps beyond infinity when designing this incredible table tailor-made for our modern age.

Poplar and pine wood make up the framing, and red oak — stained and engraved — make for a chic exterior. Programmed with Arduino and run on a Teensy 3.1, the tabletop has 960 LEDs in forty sections. There are, four USB ports hidden behind sliding panels, as well as a two-port AC outlet and an inductive charging pad and circuit.  A hidden Adafruit TFT touchscreen display allows the user to control the table’s functions. Control is limited to changing lighting functions, but Pac-Man, Snake, and text features are still to come!

Weighing in at $850, it’s not a cheap build, but it looks amazing.

Continue reading “A Table From Beyond Infinity”

A Handy Tutorial For Voice-Command Awesomeness

When somebody can’t find a guide on how to accomplish a particular task, we here at Hackaday admire those individuals who take it upon themselves to write one for the benefit of others. Instructables user [PatrickD126] couldn’t find a write-up on how to connect Amazon’s Alexa service, and Echo to his Raspberry Pi home security system, so his handy tutorial should get you up to speed for your own projects.

[PatrickD126] shows how loading some software onto the Raspberry Pi is readily accomplished along with enabling Alexa to communicate more directly with the Pi. From there, it’s a matter of configuring your Amazon Web Services account with your preferred voice commands, as well as which GPIO pins you’d like to access. Done! [PatrickD126] notes that the instructions in the guide only result in a temporary solution, but suggests alternatives that would allow your project to operate long-term.

Continue reading “A Handy Tutorial For Voice-Command Awesomeness”

Vibrating Distance Torch Illuminates the Dark without Light

If you’ve ever had to move around in a dark room before, you know how frustrating it can be. This is especially true if you are in an unfamiliar place. [Brian] has attempted to help solve this problem by building a vibrating distance sensor that is intuitive to use.

The main circuit is rather simple. An Arduino is hooked up to both an ultrasonic distance sensor and a vibrating motor. The distance sensor uses sound to determine the distance of an object by calculating how long it takes for an emitted sound to return to the sensor. The sensor uses sounds that are above the range of human hearing, so no one in the vicinity will hear it. The Arduino then vibrates a motor quickly if the object is very close, or slowly if it is far away. The whole circuit is powered by a 9V battery.

The real trick to this project is that the entire thing is housed inside of an old flashlight. [Brian] used OpenSCAD to design a custom plastic mount. This mount replaces the flashlight lens and allows the ultrasonic sensor to be secured to the front of the flashlight. The flashlight housing makes the device very intuitive to use. You simply point the flashlight in front of you and press the button. Instead of shining a bright light, the flashlight vibrates to let you know if the way ahead is clear. This way the user can more easily navigate around in the dark without the risk of being seen or waking up people in the area.

This reminds us of project Tacit, which used two of these ultrasonic sensors mounted on a fingerless glove.