Use The Force To Turn On This Lamp

Holocrons are holographic data storage devices used in the Star Wars universe by both Jedi and Sith as teaching devices or for storing valuable information. After the fall of the Jedi, they became rare and closely guarded artifacts. [DaveClarke] built one to light the room.

[DaveClarke] built the lamp around a Particle Photon – a STM32 ARM-M0 based microcontroller with a Cypress wifi chip. All [Dave] needed for the workings were an IR proximity sensor, a servo and a bunch of super-bright white LEDs. When the sensor detects something, it starts up the system. The servo rotates a gear which raises the lamp and fades in the LEDs. The next time the sensor detects something, the servo lowers the lamp and the lights begin to fade out. And since the Photon is connected to the cloud, the system can be accessed with a web interface as well.

Okay, so it’s just an IR sensor detecting reflected infrared light and not the Force that’s used to turn it on, but it’s still pretty cool. There are plenty of pictures and videos at [DaveClarke]’s site, along with a schematic, 3D printer designs, and the source code. The whole thing was designed using Autodesk Fusion 360 and 3D printed in about 30 hours and press-fits together. A very simple yet clever design. There have been some other great lamps on the site, like this blossoming flower lamp or this laser cut lamp with which also has a unique switch.

Continue reading “Use The Force To Turn On This Lamp”

Sense All The Things With A Synthetic Sensor

What will it take to make your house smarter than you? Judging from the price of smart appliances we see in the home centers these days, it’ll take buckets of cash. But what if you could make your home smarter — or at least more observant — with a few cheap, general purpose “supersensors” that watch your every move?

Sounds creepy, right? That’s what [Gierad Laput] and his team at the Carnegie Mellon Human-Computer Interaction Institute thought when they designed their broadband “synthetic sensor,” and it’s why they purposely omitted a camera from their design. But just about every other sensor under the sun is on the tiny board: an IR array, visible light sensors, a magnetometer, temperature, humidity, and pressure sensors, a microphone, PIR, and even an EMI detector. Of course there’s also a WiFi module, but it appears that it’s only for connectivity and not used for sensing, although it clearly could be. All the raw data is synthesized into a total picture of the goings on in within the platform’s range using a combination of machine learning and user training.

The video after the break shows the sensor detecting typical household events from a central location. It’s a powerful idea and we look forward to seeing how it moves from prototype to product. And if the astute reader recognizes [Gierad]’s name, it might be from his past appearance on these pages for 3D-printed hair.

Continue reading “Sense All The Things With A Synthetic Sensor”

Hackaday Prize Entry: Another Internet Button

It’s long been a staple of future-gazing, the idea that we will reach a moment at which all of life’s comforts can be summoned at the press of a button. Through the magic of technology, that is, without the army of human servants with which wealthy Victorians surrounded themselves to achieve the same aim.

Of course, to reach this button-pressing Nirvana, someone has to make the buttons. There are plenty of contenders for the prize of One Button To Rule Them All, the one we’ll probably have seen the most of is Amazon’s Dash. Today though we’re bringing you another possibility. [Hendra Kusumah]’s A.I.B. (Another IoT Button) is as its name suggests, a button connected to the Internet. More specifically it’s a button that connects to IFTTT and allows you to trigger your action from there.

Hardware wise, it couldn’t be simpler. A button, a Particle Photon, some wires, and a resistor. Then install the code on the board, and away you go. With a small code change, it also works with an ESP8266. That’s it, it couldn’t be simpler. You might ask where the fun in that lies, but you’d be missing the point. It’s the event that you trigger using the button that matters, so why make creating the button a chore?

We’ve shown you many IoT buttons, just a couple of posts are this ESP8266 button and a look at  the second-generation Amazon Dash.

Hack Your Apartment: Keyless Entry With Little Effort

A typical buzzer for an apartment complex.
A typical buzzer for an apartment complex.

If you’ve been to an apartment complex with a locked front door, you’ve seen the buzzer systems. You press the corresponding button for the apartment you want and can talk to the resident. They can press a button to unlock the door briefly, and then you go up to their apartment and they don’t have to come down to let you in. But what if you’re the resident and you want to go for a run without your keys jingling in your pocket? What if you want to open it using just your smartphone?

I knew this was a silly problem, and everyone I told about it thought that for the amount of time and effort it might save, it was hardly worth it.

Challenge accepted.

How fast can I put this together using only parts I have around the apartment? Turns out about 2 hours.

Continue reading “Hack Your Apartment: Keyless Entry With Little Effort”

Bacon Beacon

The device featured here is quite simple, but it’s well executed and involves bacon, so what’s not to like!

They take their bacon sandwiches seriously in Dundee. And let us tell you, in Scotland they make good bacon! At the co-working space where [Grant Richmond] works, people were missing out on the chance to order when someone went to the bacon sandwich emporium for a refill.

His solution was the Bacon Beacon, a nicely lasercut box with a series of buttons on top connected to a Particle Photon microcontroller. Press a button, and a node.js web app is called on a server, which in turn sends notifications to the “Fleeple”, the inhabitants of the Fleet Collective co-working space. They can then reply with the details of their order, such as their desired sauce.

The work of sending the notifications is done through Pushbullet, but the code for [Grant]’s side of things can all be found on his GitHub repository. The whole thing was put together in Dundee MakerSpace.

We have something of an affinity for bacon and cured meat products here at Hackaday, we’ve featured more than one bacon-related exploit. The Rabbit Hole hackerspace’s “Push button, receive bacon” cooking system using a laser printer fusing roller for example, an alarm clock that cooks your tasty treat, or a full cooked breakfast using workshop tools.

Please keep them coming, and resolve to make space for a bacon-related hack this year. We promise, it won’t be one of your rasher decisions.

Open Sesame, From A Galaxy Far, Far Away.

[TVMiller]’s description of his project is epic enough to deserve a literal copy-paste (something our readers often praise us about). In his own words,  “Having discovered several spare Midichlorians in my liquor cabinet, I trained and applied them to opening a large cumbersome gate. The FORCE motion travels through my inner what-nots and is translated by the Pebble Classic accelerometer toggling a command sent to the (Particle) Cloud (City) which returns to the Particle Photon triggering a TIP120 to fire a button on an existing RF transceiver. May the ridiculous hand gestures be with you, always.” Thus was born the Gate Jedi , and you’ll need exactly 47 Midichlorians, and some other trivial parts, to build one.

The Pebble watch hooks up to his android smart phone. A Pebble (android) app sends the accelerometer data to the Particle (previously called Spark) cloud service. From there, the data is pushed to the Photon IoT board which runs a few lines of code. Output from the Photon turns on a TIP120 power transistor, which in turn triggers the existing RF trans receiver that opens the Gate.

This looks way cooler than the Light Sabre hacks. Check out the video of him summoning the Force. And if you’d like to do more, try integrating gesture controls with this Pebble Watch hack that turns it into a home automation controller.

Continue reading “Open Sesame, From A Galaxy Far, Far Away.”

Hacking A Coffee Machine

The folks at Q42 write code, lots of it, and this implies the copious consumption of coffee. In more primitive times, an actual human person would measure how many cups were consumed and update a counter on their website once a day. That had to be fixed, obviously, so they hacked their coffee machine so it publishes the amount of coffee being consumed by itself. Their Jura coffee machine makes good coffee, but it wasn’t hacker friendly at all. No API, no documentation, non-standard serial port and encrypted EEPROM contents. It seems the manufacturer tried every trick to keep the hackers away — challenge accepted.

The folks at Q42 found details of the Jura encryption protocol from the internet, and then hooked up a Raspberry-Pi via serial UART to the Jura. Encryption consisted of taking each byte and breaking it up in to 4 bytes, with the data being loaded in bit positions 2 and 5 of each of the 4 bytes, which got OR’ed into 0x5B. To figure out where the counter data was stored by the machine in the EEPROM, they took a data dump of the contents, poured a shot of coffee, took another memory dump, and then compared the two.

Once they had this all figured out, the Raspberry-Pi was no longer required, and was replaced with the more appropriate Particle Photon. The Photon is put on a bread board and stuck with Velcro to the back of the coffee machine, with three wires connected to the serial port on the machine.

If you’d like to dig in to their code, checkout their GitHub repository. Seems the guys at Q42 love playing games too – check out 0h h1 and 0h n0.

Thanks [Max] for letting us know about this.