Smart Phone Camera Turns Laser Cutter into Hi-Res Scanner

Getting decent macro photos always seems to be a chore. Some important detail always seems to be just outside of the depth of field, or you have to be zoomed in so close that you get great detail in one spot but miss the big picture. [Nate B] had such a problem while trying to document some PC boards, and he came up with a nifty hack that uses a laser cutter and a smart phone camera to do the job.

Click for detail.

Having first tried scanning the boards with a flat-bed scanner but finding the depth of field unsatisfactory, [Nate B] then went on to his Samsung phone’s camera. Set to panorama mode, he manually scanned across the boards and let the camera stitch the images together. The results were better, but the wobblies got the better of him and the images showed it. He then decided to use a laser cutter — with the laser disabled, of course — as an impromptu X-Y stage to raster his camera above the boards. In a slightly cringe-worthy move, he gingerly clamped the phone to the cutter gantry, started the panorama, and let the cutter move over the board. This results in a rock-solid pictures of his boards with a lot of detail – perfect for his documentation. As a bonus, the honeycomb laser cutter bed makes for an interesting background texture.

Obviously anything could be used to raster a camera and achieve similar results, but full points here for maximizing available resources and not over-complicating a simple job. Yet another reason you can use to justify that laser-cutter purchase.

Continue reading “Smart Phone Camera Turns Laser Cutter into Hi-Res Scanner”

Oscilloscope doubles as a serial terminal

PC-based USB oscilloscopes are fast becoming all the rage. [Matt Sarnoff’s] Terminalscope takes the reverse approach, adapting an oscilloscope into a full serial terminal. You may have seen something similar before in the Dutchtronix/SparkFun O-Clock, but [Matt’s] project goes one further by adding a PS/2 keyboard port for full bidirectional serial communication, and with much sharper display resolution to boot.

The mostly VT-100 compatible Terminalscope is built around two AVR microcontrollers: an ATmega328P runs full-tilt to generate the video signal and handle serial I/O, while an ATtiny45 handles keyboard input to avoid interrupting the ’328’s duties. Rather than vector trace each character, a raster-scanning approach is used: the beam follows a fixed X/Y path (like a television), while modulating the Z input (beam intensity) to form an image. The device can be connected to a PC via serial port or USB-to-TTY adapter, or directly to another microcontroller to debug serial output.

We recently showed an oscilloscope being used as a multichannel digital logic display. The Terminalscope provides yet another use for this essential bench tool and could nicely round out a “poor man’s” testing setup. The schematic and full source code are available for download.