[Jack] sent in his writeup for internet enabling a home lamp. While we will certainly have some comments saying this is too simple, it does a great job of breaking things down to the basics. For those that aren’t confident in their electronic skills, this is an easy hack to a commercial device that greatly expands it’s capabilities. [Jack] started with a cheap wireless outlet controller. By opening the remote and wiring each switch to a 2N222A transistor, you can very easily control the remote from the GPIO pins on the Raspberry Pi. In [Jack’s] case, he set up a web page using Flask that allows quick on/off control.
Of course, this method can be used in any number of instances where you have a wireless controller, from small lamps to garage doors. Given it’s simplicity, anyone can do it with even basic skills. If you’re a beginner who’s been itching to do some home automation, follow [Jack’s] writeup and check an item off your todo list!
[Philippe Chrétien’s] project makes it to our front page just based on its completeness. When you hear about a multicolored lamp which changes based on an RFID tag you might not get too excited. When you look at the refined electronics and the quality of the wooden enclosure it’s another story entirely.
As we’ve said many times before, coming up with the idea for a project is the hardest part… especially when you just want to start hacking. With his kids in mind [Philippe] figured this would be something fun for them to play around with, opening the door to discussing the electronics concepts behind it.
He prototyped on a breadboard using three N-type MOSFETs to drive the colors of an RGB LED strip. The proven circuit was laid out and etched at home to arrive at the clean-looking Arduino shield shown off above. The entire thing gets a custom enclosure cut using layered plywood, a paper template, and a bandsaw.
Need a use for this once the novelty has worn off? Why not mod it to use as a motion activated night light? Alas the actual project link for that one is dead, but you get the idea.
Minecraft fanatics keep finding impressive ways to bring 8-bit components into the real world, and [Chris Tompson’s] Redstone Lamp Replica is no exception. [Chris] wanted to extend his connection to the game world by not only replicating this block, but also by controlling its light-up effect when an in-game cube is lit.
The lamp is a product of the gang at Hive76, who worked together to develop a quick prototype using the Minecraft Python client pyCraft, an Arduino, a transistor and a temporary papercraft lamp mockup. Hive76 member [Kyle] pitched in to write the plugin for pyCraft, which listens for an on/off message and sets one of the RasPi’s GPIO pins accordingly. The hardware for the actual lamp was designed to smooth out the 8-bit quality into something a bit more precise. The result are laser-cut pieces of MDF with a zebra wood veneer laminated on top. The interior was finished off with amber cathedral glass and then the cube’s sides were glued together. The RasPi, PCB and LEDs fit inside, all snugly affixed together.
Swing over to the Hive76 project page for more details and links to the plugin, and see the video demonstration below. For another Minecraft-inspired real-life project, check out [Bill’s] take on the BatBox.
Continue reading “Real-Life Raspi-Controlled Redstone Lamp”
The design for this LED ring lamp started off as a cross-section sketch. [Alex Jalland] envisioned a core that holds the parts and hides the circuitry, with two halves of a clear doughnut diffusing the light and covering everything up.
For the core itself he headed over to the lathe and turned a piece out of ash. He tooled the profile into one side, flipped it around to form the other, and finally cut the center out to form a ring. This may sound like a lot of work, but it pales in comparison to what went into the diffusers.
He cast the parts out of polyurethane resin. This required a mold which he made from scratch. The process used many materials, including a vacuum forming machine, a latex slug, and plaster to keep the thin mold from deforming when filled with resin.
The lamp provides a lot of light. But with this much work put into the enclosure we’d suggest going the extra mile to make it an Equinox Clock clone.
This project is a great example of the Raspberry Pi’s ability to eclipse Arduino when it comes to interaction. [Fall Deaf] mentions that he used to use an Arduino board with an Ethernet shield to add extensible interactivity to his project. But this one, which is a home automation lamp project, uses a Raspberry Pi instead. The concepts end up being very similar. But the cost of the hardware is less and the coding work is arguably orders of magnitude easier.
Don’t get us wrong, the hardware is fundamentally different. When you move from Arduino to RPi you lose some I/O pins and the low level control of them isn’t quite as straight-forward. But you also don’t have to program the thing in C. The Linux kernel handles the low level control which means you can write your scripts using Python. Because Python is an interpreted language the testing and debugging is much faster — no need to flash new code, just run the script again.
This project used the RPi GPIO to drive a strip of LEDs which use the WS2801 protocol. The board includes a NIC which makes it a snap to use as a web server. The smart phone controls seen above are served up from the Pi using jQuery. Right now there’s a cord running out of the lamp. But there should be plenty of room to use a screw-in outlet adapter and to hide the RPi and its PSU inside.
The board still has enough juice to drive other automation features too, like acting as a web radio server.
Continue reading “Web based automation courtesy of Raspberry Pi”
This lantern was built from recyclable goods. It’s a bit dangerous when used like the image above, but [The Green Gentleman] does give you a few other options in his build instructions which make for much safer operation.
The lantern enclosure is made from old cans and a glass jar. He screwed a couple of boards together at a right angle to act as a jig for cutting the glass. The V-shape created by the boards holds the jar on its side, giving his glass cutting tool something to rest upon. He then turns the jar to score it around the top, and then bottom. He alternated pouring boiling and chilled water on the score mark to shock the glass into breaking along the line.
This makes up the clear part of the enclosure which is later mated with metal top and bottom pieces. From there he adds either an LED, an alcohol lamp, or the Trimethyl Borate lamp seen above. The first two are relatively safe, but the latter burns at around 1500 degrees F. We have reservations about using a plain old glass jar as the enclosure for something burning this hot. It really should be heat resistant glass.
The inlaid image is a controller board which [Limpkin] developed to add whistle control as a home automation option. It has an effective range of around fifteen feet and does a good job of detecting whistles from many different people. Here is one of the test subjects (captured with a hidden camera) whistling to the white LED lamp in order to switch it on.
The board is quite small. [Limpkin] holds it up in the beginning of his test video, which gives a good sense of scale. One end has a barrel jack through which the board gets power. The other end has a two conductor screw terminal which is used for switch your devices. An N-channel MOSFET protects the circuit when a heavy external load is connected. It is capable of driving a respectable 90 watts. If you’re looking to switch mains rated devices you’ll need to bring your own relay to the party.
Audio processing is handled by the Freescale ARM Cortex M4 chip at the center of the board. The Serial Wire Debug (SWD) clock and data pins are both broken out to solder pads so the thing is hackable. [Limpkin] posted the schematic, gerbers, and a code template. But he didn’t release the algorithms he uses for processing so if you want to make this at home you’ll need to figure that out for yourself. If you need help you should check out this whistle-based remote control.