Raspberry Pi Used To Automate A Dimmable Light Bulb

raspberry-pi-controlled-dimmer

[Stephen] took the safe route when getting his Raspberry Pi to dim an AC light bulb. He didn’t roll his own outlet box with a mains-rated relay inside, going with a mechanical connection instead of electrical. By attaching a servo motor to the dimmer knob the RPi can adjust the light level without risk of electric shock.

He is using the ServoBlaster package to drive the servo motor with the Raspberry Pi GPIO pins. That’s all fine and good by itself, but he went the extra mile and designed a few different levels of functionality around the pairing. The motivation behind the hack was to build a sunrise clock that had a lot of power when it comes to luminosity. But he also plied the RPi’s networking features to serve up a web-based control. It has a slider to set the light level, as well as breath (like a slow fade) and flash features.

The servo is a bit noisy when moving quickly, but the sunrise alarm takes 30 minutes so the gears don’t really make any noise at all. Check it out in the clip after the break.

Continue reading “Raspberry Pi Used To Automate A Dimmable Light Bulb”

Webmote: Control Anything With Web-based Remote

control-anything-from-the-web

We’ve seen a lot of projects that let you control all of your devices from a smartphone. But this universal web-based remote control system looks like the most versatile we’ve seen yet. The project is called Webmote as the controls are served up as a web interface so that you’re not limited to say an Android device. The UI can be customized by choosing what buttons you will use and where to place them on the display. You can get a good feel for this by viewing this G+ album. Setup is made a bit easier thanks to an add-on system that has predefined layouts for common things like controlling XBMC.

The hardware seen above is the business end of Webmote. It’s an Arduino with an IR receiver, IR LED, and an XBee module. For your common home entertainment devices you can teach the system your codes using the IR receiver. The IR LED is used to transmit those codes back, and the Xbee gives you the ability to control X10 (home automation) devices. Right now the setup requires the hardware be connected to a server via USB, but it shouldn’t be hard to set up some type of wireless alternative.

Deck The Cubes

deck-the-cubes

[MrBuildIt] has lived up to his name when it comes to this year’s Christmas decorations. He built a rig that spreads Christmas cheer from one end of the cubicles to the other.

In the demo video after the break you’ll see that the system is controlled by a nicely polished Android app. It lets you choose from three different Christmas songs (or no music at all) as Santa Claus makes his rounds. The app includes buttons for switching all of the lights on or off but we think it’s more corny fun to see then turn on as Santa flies overhead.

The sleigh and three tiny reindeer are suspended from a pulley system. When they make it to one end of the office a hall effect sensor serves as a limiting switch. From the look of it you’d think Santa will be flying backwards on the return trip but there is a servo that flips the thing around so that he’s going the right way.

This is quite a gaunlet to have thrown down when it comes to office decor. We’d like to see what geeky thing’s you’ve been doing with your own decorations. Get some details up on the web and send a link our way!

Continue reading “Deck The Cubes”

DSLR Trick Lets You Change Focus After Taking The Picture

Here’s two photographic takes on the same subject, each with a different depth of focus. [Chaos Collective] came up with a way to make interactive still images that allow a user to adjust the depth of focus by clicking on different objects in the image.

This was inspired by the Lytro camera which uses an array of lenses to take multiple pictures at once. Each of those images has a slightly different depth of focus. The technique used here doesn’t require that you buy one of those $400+ cameras. But it’s not a cheap hack unless you already own a camera that can shoot video and has manual focus.

The technique used by the [Chaos Collective] is to move the camera’s manual focus setting from the nearest to the furthest target while capturing a video. That file can then be processed using their browser-based tool which turns it into an embedded HTML5 image.

Hackaday Links: December 13th, 2012

Cardboard box computer

links-cardboard-box-computer

[Alistair] chapman had a Laptop with a broken screen sitting in his parts bin. He knew he had an LCD panel on hand that would probably work with it, but it wouldn’t fit in the case. His solution was to transplant all the computer parts into a cardboard box from a motherboard.

This violin is garbage

links-landfill-instruments

The kids in this orchestra live in a villiage built on top of a landfill. But they make the most out of what they have. This orchestra is composed of instruments built from garbage and they seem to work pretty well. [Thanks Bruce]

More LED mystery puzzles

links-led-puzzle

[Henryk] is at it again. He puts together some very impressive circuits that play tricks on your engineering mind. His latest is three LEDs in series. Look closely and you’ll see they’re not performing as expected. Watching the solution to one of his previous puzzles will help you figure out how he’s doing it. His work is simply amazing.

Netbook framed as a dedicated weather station

links-netbook-weather-display

Not wanting to get rid of old but still working hardware, [Retro Toaster] built a dedicated weather station by mounting the screen, keyboard, and track pad in a picture frame.

Current and voltage testing your USB projects

links-USBTesterFront

This dev board is a pass-through for USB devices. It makes voltage and current testing your device quite simple.

How To Used An Android Device With A Shattered Screen

This screen is not just cracked, it’s devastated. We can all agree that you’re not going to be carrying this around with you anymore, but it might still be useful in other endeavors. [Mr Westie] wanted to use it for the camera which is undamaged. The issue is how do you control an Android device with a broken screen?

He knew there are apps out there that let you control your device remotely. But these still depend on you being able to install and launch the program. He found he could get the image from the screen on his computer using a package called Screencast. It runs on your computer and doesn’t need to be installed on the phone, but it will require a rooted phone and the user must click to authorize root access. He got around that hangup by pushing keypress commands to the phone via ADB. The only problem left is if debugging mode is not enable.

Using Two Chargers With One Laptop

dual-charing-jacks-thinkpad

This one’s a riot! [Nico] got a new computer and didn’t want to change the six power supply cords he had strategically placed around his home and at work. So he just added a second charging jack that accepts a different style connector.

First off the laptop is used — but it’s new to him. So cracking it open and soldering in a new jack doesn’t affect the already expired warranty. He had an unlimited supply of Dell laptop chargers available from work. They are rated 19.5V and the charger for this computer is rated 20V so he figured this should be no problem. Instead of just swapping out the old charging port he added a second where the RJ-11 connector (for a telephone modem) was located. Now he doesn’t need to waste money buying more chargers for the new-old machine.

This isn’t the first time we’ve seen someone replace a power jack. But it is the first computer we’ve seen that takes two different chargers.