[ProfHankD] came up with a pretty easy way to take 3D photos using a single lens. He’s making Anaglyph images which use color filtering glasses to produce stereoscopic 3D effects. We’ve seen stereoscopic imaging hacks that use two cameras or a clever combination of mirrors, but this one uses a special filter and post-processing. [ProfHankD] drew up a template that can be used to properly align two colored filters, like those in the lens cap seen above. Once installed, just snap all the pictures you want and then hit them with your favorite photo editing software. This involves separating the color channels of the photograph and offsetting them to increase the depth of focus.
It’s a nice little process, and his writeup is easy to understand even if you’re not a hardcore photography guru.
[Daniel Reetz] has caught the Kinect hacking fever. But he needs one important tool for his work; a camera that can see infrared light. This shouldn’t be hard to accomplish, as the sensors in digital cameras are more than capable of this task, but it requires the removal of an infrared filter. In [Daniel’s] case he disassembled a Canon Powershot to get at that filter. There’s a lot packed into those point-and-shoot camera bodies and his teardown images tell that tale. He also ended up with extra parts after putting it back together but that didn’t seem to do any harm.
After the break you can see video that shows the Kinect’s speckled IR grid, which is why he needed IR sensing in the first place. But there’s also some interesting photos at the bottom of his post showing the effect achieved in outdoor photography by removing the filter.
The flash never made it back in the camera. That’d be a perfect place for an IR light source. You’d end up with a night-vision camera that way.
Continue reading “Make a point-and-shoot see infrared light”
If you’ve ever designed an embedded system with at least one button you’ve had to deal with button debouncing. This is also know as contact bounce, a phenomenon where a button press can be registered as multiple button presses if not handled correctly. One way to take care of this is with a hardware filter built from a resistor-capacitor setup, or by using a couple of NAND gates. We find that [Jack Ganssle] put together the most comprehensive and approachable look at contact bounce which you should read through if you want to learn more.
We’re interested in software solutions for debouncing buttons. This seems to be one of the most common forum questions but it can be hard to find answers in the form of reliable code examples. Do you have debounce code that you depend on in every application? Are you willing to share it with the world? We’d like to gather as many examples as possible and publish them in one-post-to-rule-them-all.
Here’s some guidelines to follow:
- Please only include debounce code. Get rid of other unrelated functions/etc.
- You should send C code. If you want to also send an assembly code version that’s fine, but it must be supplementary to the C code.
- Please comment your code. This will help others understand and use it. You may be tempted to explain the code in your email but this info is best placed in the code comments
- Cite your sources. If you adapted this code from someone else’s please include a note about that in the code comments.
As an example we’ve included one of our favorite sets of debounce code after the break. Please note how it follows the guidelines listed above.
Continue reading “Open Call: send us your Debounce code”
[Okie] designed this audio effect shield for Maple. You’ll remember that Maple is a prototyping system built around an ARM processor, so there’s plenty of power and speed under the hood. First and foremost, the shield provides input and output filters to keep noise out of the system. From there a set of potentiometers let you change the effect, with the manipulation like echo, distortion, and ring modulation happening in the firmware.
[Thomas] and a buddy were sucking down a few brews when they decided to hack their 2001 Chevy Cavalier for a bit better performance. If they could find a way to bring cooler air to the engine they speculated that they’d see an increase in efficiency. Instead of routing the air intake to a hood scoop, they took off the factory air filter and mounted a cold air filter in its place. PVC pipes were then used to create a delivery path from the front of the vehicle with the output in close proximity to the new filter. They tested their work and discovered a drop in intake temperature from 101 to 48 degrees Fahrenheit at 60 mph, and from 109 to 54 degrees Fahrenheit at 45 mph. Now the sedan runs better and generates more horsepower, all for around $35 in parts.
It’s Independence Day, so if you have pets and planned a trip, chances are you wrangled a pet sitter to keep your pet from starving or dehydrating to death. Next time, consider letting this infinite water dispenser help you instead.
The dispenser is made of a Tupperware tub, a fish tank water filter, a float switch, and a water solenoid valve. It works essentially the same way as any toilet: the solenoid valve lets water into the filter where it is dispensed to the Tupperware container. The float switch is activated when the water in the container reaches a certain level. When the water level drops due to evaporation or thirsty pets, the float switch goes down and triggers the solenoid to let in more water. The whole works are powered by a GFI outlet for safety since this project involved water, electricity and pets.