3D-Printed Extension For Extreme Macro Photography Includes Lens Electronic Control

Macro photography — the art of taking pictures of tiny things — can be an expensive pastime. Good lenses aren’t cheap, and greater magnification inflates the price even further. One way to release a bit more performance from your optics comes in the form of an extension tube, which mounts your lens further from the camera to zoom in a little on the image. Back in the day with a film SLR you could make a rough and ready tube with cardboard and tape, but in the age of the digital camera the lens has become as much a computer peripheral as an optical device. [Nicholas Sherlock] has solved this problem by creating a 3D-printed extension tube for his Canon that preserves connections between camera and lens.

More details of this 300mm monster’s construction go so far beyond a plastic tub formed of two threaded sections with adapter plates at the ends. He’s using off-the-shelf metal rings to fit camera and lens just right, but making the electronic contacts is where it gets interesting. On end uses pogo pins, the other provides a contact block made of nail heads. In both cases the 3D-printed parts are designed to provide mounting points for the pins and nails. The assembly technique is worth a look both because of the design and as an example of how to document all the juicy details we’re constantly looking for in a great hack.

The results speak for themselves, in that the photography provides an impressive level of close-up detail. If you would like to build your own tube, it is available on Thingiverse.

Macro extensions seem far between here, but we’ve brought you a few lens repairs in our time.

[via /r/photography]

A Soap Film Photography How-To

Blowing bubbles is a pastime enjoyed by young and old alike. The pleasant motion and swirling colors of the bubbles can be remarkably relaxing. With the right tools and techniques, it’s possible to take striking photos of these soap film phenomena, and that’s exactly what [Eric] and [Travis] did.

Adding sugar to the soap solution increases the resilience of the film significantly. With enough added, the film no longer pops, but instead breaks and fails in interesting ways.

After beginning with a robotic arm and a computer fan blowing bubbles, the project moved towards a simple stepper motor setup. A thin frame is lowered into a solution of soapy water, then brought back up by the stepper motor. The resulting soap film is held in front of a black background and carefully lit with a softbox light.

Lens selection is critical for this sort of work – in this case, a TS-E 50mm Macro f/2.8 lens was the order of the day. [Eric] shares other tips for taking great shots, such as adding sugar to the solution to make the soap film last longer, and using a modified speaker to help “paint” the surface of the films.

The resulting images are beautiful examples of the art, showing vibrant colors from the interference patterns created by the light. [Eric] has done a great job of clearly documenting the development process and the final results, making it possible for others to recreate the project elsewhere.

We’ve seen other soapy projects before, like this automatic bubble blowing machine. Video after the break.

Continue reading “A Soap Film Photography How-To”

Crisp Clean Shortcuts

People always tell us that their favorite part about using a computer is mashing out the exact same key sequences over and over, day in, day out. Then, there are people like [Benni] who would rather make a microcontroller do the repetitive work at the touch of a stylish USB peripheral. Those people who enjoy the extra typing also seem to love adding new proprietary software to their computer all the time, but they are out of luck again because this dial acts as a keyboard and mouse so they can’t even install that bloated software when they work at a friend’s computer. Sorry folks, some of you are out of luck.

Rotary encoders as computer inputs are not new and commercial versions have been around for years, but they are niche enough to be awfully expensive to an end-user. The short BOM and immense versatility will make some people reconsider adding one to their own workstations. In the video below, screen images are rotated to get the right angle before drawing a line just like someone would do with a piece of paper. Another demonstration reminds of us XKCD by cycling through the undo and redo functions which gives you a reversible timeline of your work.

If you like your off-hand macro enabler to have more twists and buttons, we have you covered, or maybe you only want them some of the time.

Continue reading “Crisp Clean Shortcuts”

A Keyboard To Stomp On

Macros are useful things. They allow one to execute a series of commands with a single keypress. There exists a wide variety of hardware and software solutions to create and use macros to improve your workflow, and now [Evan] has brought the open-source ManyKey into the fray, along with a build tutorial to boot.

The tutorial acts as a great introduction to ManyKey, as [Evan] walks through the construction of a macro keyboard designed to be operated by the feet. Based around the Arduino Leonardo and using off-the-shelf footswitches commonly used in guitar effects, it’s accessible while still hinting at the flexibility of the system. Macros are programmed into the keyboard through a Python app which communicates over serial, and configurations are saved into the Arduino’s onboard EEPROM. The ManyKey source is naturally available over at GitHub.

[Evan] tells us he uses his setup to run DJ software with his feet while his hands are busy on the turntables. That said, there’s all manner of other applications this could be used for. Efficiency is everything, and we love to see keyboard projects that aim to improve workflow with new ideas and custom builds – this shortcut keyboard makes a great example.

 

Man-in-the-Middle Jog Pendant: Two Parts Make Easier Dev Work

In a project, repetitive tasks that break the flow of development work are incredibly tiresome and even simple automation can make a world of difference. [Simon Merrett] ran into exactly this while testing different stepper motors in a strain-wave gear project. The system that drives the motor accepts G-Code, but he got fed up with the overhead needed just to make a stepper rotate for a bit on demand. His solution? A grbl man-in-the-middle jog pendant that consists of not much more than a rotary encoder and an Arduino Nano. The unit dutifully passes through any commands received from a host controller, but if the encoder knob is turned it sends custom G-Code allowing [Simon] to dial in a bit acceleration-controlled motor rotation on demand. A brief demo video is below, which gives an idea of how much easier it is to focus on the nuts-and-bolts end of hardware when some simple motor movement is just a knob twist away.

Continue reading “Man-in-the-Middle Jog Pendant: Two Parts Make Easier Dev Work”

Unexpected Betrayal From Your Right Hand Mouse

Some people really enjoy the kind of computer mouse that would not be entirely out of place in a F-16 cockpit. The kind of mouse that can launch a browser with the gentle shifting of one of its thirty-eight buttons ever so slightly to the left and open their garage door with a shifting to the right of that same button. However, can this power be used for evil, and not just frustrating guest users of their computer?

We’ve heard of the trusted peripheral being repurposed for nefarious uses before. Sometimes they’ve even been modified for more benign purposes. All of these have a common trend. The mouse itself must be physically modified to add the vulnerability or feature. However, the advanced mice with macro support can be used as is for a vulnerability.

The example in this case is a Logitech G-series gaming mouse. The mouse has the ability to store multiple personal settings in its memory. That way someone could take the mouse to multiple computers and still have all their settings available. [Stefan Keisse] discovered that the 100 command limit on the macros for each button are more than enough to get a full reverse shell on the target computer.

Considering how frustratingly easy it can be to accidentally press an auxiliary button on these mice, all an attacker would need to do is wait after delivering the sabotaged mouse. Video of the exploit after the break.

Continue reading “Unexpected Betrayal From Your Right Hand Mouse”

One Hacker’s Small Tabletop Photo Studio

We love good pictures. You know, being worth a thousand words and all. So, after our article on taking good reference photos, we were pleased to see a reader, [Steve], sharing his photography set-up.

Taking good technical photos is a whole separate art from other fields of photography like portraiture.  For example, [Steve] mentions that he uses “bullseye” composition, or, putting the thing right in the middle. The standard philosophy on this method is that it’s bad and you are bad. For technical photos, it’s perfect.

[Steve] also has some unique toys in his arsenal. Like a toy macro lens from a subscription chemistry kit. He also showed off his foldscope. Sadly, they appear to no longer be for sale, but we sometimes get by with a loupe held in front of the lens. He also uses things standard in our shop. Such as a gridded cutting mat as a backdrop and a cheap three dollar tripod with spring actuated jaws to hold his phone steady.

In the end, [Steve] mostly shows that a little thought goes a long way to producing a photo that doesn’t just show, but communicates an idea in a better way than just words can manage.