Optimizing Your Electronics Projects With A Camera

What do you do when you have a microcontroller you’re trying to optimize? One method is using a debugger, but for AVRs and such that’s not a very common technique. For lower-level electronics projects, it’s nearly impossible, even. [Cnlohr] built a small Minecraft server that listens to in-game redstone circuits, but the performance of his real-world to block-world bridge wasn’t what he hoped. He came up with a pretty clever way of figuring out what was slowing his server down without any special gear at all.

[cnlohr]’s Minecraft server is just a simple AVR microcontroller, Ethernet adapter, and SD card affixed to a beautiful glass PCB. The performance of his server wasn’t what he expected; downloading a largish file from the server resulted in a download rate of about 55kbps, much slower than he expected. He wasn’t quite sure what the hangup was, so he took a camera and with a long exposure time took a very blurry picture.

The Minecraft server has a blue LED to show when the SD card was being accessed. In the picture above, [cnlohr] saw that SD card access was taking far too long, and if he wanted to optimize the code this would be the place to start.

Not bad for a dead-simple method of seeing where the code on your microcontroller project is slowing down.

Continue reading “Optimizing Your Electronics Projects With A Camera”

Making An Overhead Camera Gantry, Take 2

Last week we saw [Todd]’s solution to getting a tripod out-of-the-way when filming a few DIY videos. It’s an overhead camera gantry that allows him to move a camera around his garage workshop without a tripod getting in the way. This weekend, he’s back with a new and improved version. It’s a vast improvement over his Mk 1 gantry system, and it much simpler to build, to boot.

[Todd]’s new and improved overhead camera gantry builds is a vast improvement on his previous build. In the original build, [Todd] used only one cross piece between the overhead garage door tracks, and the carriage suspending the tripod overhead was extremely clunky.

Version 2 of [Todd]’s camera gantry again makes use of unused garage door tracks to suspend a tripod above his workshop. This time, though, he’s using two rails between these garage door tracks making pushing the tripod around his workshop much easier – even when not pushing it from the middle.

To move the camera across the workspace, [Todd] did away with the square tube between the garage door tracks and used another set of garage door tracks. It’s a beautiful system that moves very, very smoothly between his workbench and welding station, perfect for making a few high-quality DIY videos.

You can check out [Todd]’s build video after the break.

Continue reading “Making An Overhead Camera Gantry, Take 2”

Nikon WU-1a WiFi Dongle Hacking

Here’s a pretty tricky piece of consumer electronics reverse engineering. [Joe Fitz] came across the Nikon WU-1a. It’s a dongle that plugs into a Nikon D3200 camera, producing a WiFi connection which can be picked up and controlled from a smart phone. The app shows you the current image from the viewfinder, allows you to snap the picture, then pulls down the picture afterwards. The problem is that the same functionality for his D800 camera will cost him $1200, when this dongle can be had for $60. That’s a powerful incentive to find a way to use the WU-1a with his camera model. This is more than just rerouting some wires. It involves sniffing the USB traffic and drilling down in the datasheets for the chips used in the hardware. We’re not certain, but he may have even rolled new firmware for the dongle.

Details are a bit scarce right now. Your best bet is to watch the video embedded after the break. There is also a set of slides which [Joe] put together for a talk at this weekend’s BsidesPDX. It will give you a general overview of the process he went through. But he also started a forum thread and we hope to learn much more from that as the conversation gets going.

Continue reading “Nikon WU-1a WiFi Dongle Hacking”

Camera Gantry Rides On Garage Door Tracks

For as many garage and workshop videos we feature here on Hackaday, we’re surprised we haven’t seen this sooner.

[Todd] makes a bunch of videos in his garage shop, but using a tripod is a pain; he’s always tripping over his camera setup and it is just generally in the way all the time. His solution was to mount his camera to an overhead gantry, using the unused tracks for his garage door to move the camera around his workshop.

The build started with [Todd] taking his tripod and fabbing a mounting plate for it to be suspended in mid-air. This would leave the camera upside-down, so [Todd] also made a 90 degree bracket with a 1/4-20 bolt to hold the camera in position.

The actual gantry part of the build is fairly clever. First, [Todd] got a piece of square tubing the same length as the distance between his two garage door tracks. He made a truck that rides on six casters for this tube, then mounted this tube on garage door wheels.

The result allow [Todd] to move his camera anywhere within the footprint of his garage door tracks, including over his workbench and welding area. An ingeniously useful build that’s sure to provide a stable platform for his vlog-type thingies.

Vidia after the break.

Continue reading “Camera Gantry Rides On Garage Door Tracks”

Gyrocam Keeps The Horizon Level Even When The Camera Isn’t

[Derek] likes to get a little bit of drivers-eye footage when racing his motorcycle, but there’s an inherent problem with mounting a camera to a moving and tilting platform. When he leans into turns, the camera can’t keep the horizon level. Cinematography and electronics go well together. so [Derek] built a horizon-stabilized camera mount for motorcycle videography.

The build was inspired by footage shot from [Valentino Rossi’s bike in 2010. Of course the professional model costs a small fortune, but [Derek] managed to make his own out of 3D printed parts and a hobby servo.

Based on the Contour Roam camera, [Derek] had a pair of gears printed at Shapeways to fit over the camera and attach to a servo. The electronics are an ATMega32 with a L3G4200D gyroscope. When the ‘micro detects a change in the gyroscope it rotates the servo in the opposite direction, keeping the horizon in the video level.

It’s a very cool build, and judging from the action videos after the break, makes for awesome track footage.

Continue reading “Gyrocam Keeps The Horizon Level Even When The Camera Isn’t”

Traffic Camera Countermeasure

Don’t get us wrong, we drive very carefully as it’s the most dangerous thing we do on a regular basis. But even a careful driver can get caught by bad traffic and a red light camera. These are devices that monitor intersections. If you get caught in the middle when the light goes red they take a picture and you get a ticket in the mail. Well, that’s the way it used to be. This traffic camera countermeasure puts it to an end. As you can see, the noPhoto uses a flash of its own to overexpose traffic camera images.

The image above shows the prototype. The foil is reflecting a flash on either side onto the license plate using a flash sensor which acts as the trigger. According to the demo video after the break, the system can even defeat the pre-flash, and dual-photo types of cameras.

There are pretty tight restrictions on using lights on your vehicles (colors, placement, etc.). We wonder if this passes muster?

Continue reading “Traffic Camera Countermeasure”

Tripod Mount Anything!

webcam-mounted

[Shawn] wrote in to tell us about his extremely simple method he used for mounting a webcam on a tripod. His article explains it better, but the basic premise is to glue a 1/4 – 20 nut onto the bottom of it. The hack-worthiness of this could be in question, but the technique could come in handy at some point.

After seeing this tip, I was reminded of a slightly crazier, if effective mount that I made for my state of the art Env2 phone. Referenced in a links post in March, it was made of a 2×4 with a 1/2 inch slot milled in it.  After some thought, it was drilled and tapped for a 1/4 – 20 bolt in the other side to mount it on a tripod. So this could be an option in very limited circumstances.

On the other hand, if you want something a bit more hack-worthy, why not check out this motorized camera rig that we featured in July. Sure, it’s more complicated than gluing a nut onto a webcam, but at least it still uses 2 x 4s in it’s mounting hardware!