Macro assembly for AVR chips

avr-macro-assembly

Here’s an interesting tip that can help improve your ability to write assembly code. In an effort to remove the complexity of assembly code for an AVR project [Quinn Dunki] figured out how to use macros when writing AVR code with the GNU toolchain. Anyone using AVR-GCC should keep this in mind if they ever want or need to … Read the rest

Computer control for your Xbox controller

This wiring nightmare lets [H. Smeitink] map all the buttons from an Xbox 360 controller to his PC. It gives him the ability to push control input from his PC to the console. But it goes a step further than that because it actually acts as a pass-through device. He connected a wired controller to the computer and uses … Read the rest

Hack a webcam and a film camera into a USB microscope

Most of you probably have a webcam sitting around somewhere, and after all the high voltage projects you’ve done using disposable cameras, we bet you have some camera lenses too. You could always do what [Butch] did and combine the lens from the camera with the webcam to do some up close inspection.

This seems like something we’ve seen … Read the rest

Hackaday Links: December 7, 2011

LED Neurons

[Alexandra Olivier] put up an art installation at Wellesley College that looks like a bunch of neurons built out of LEDs. The neurons are connected to a couple PIR sensors and ‘fire’ whenever movement is detected. The result is a lot like being inside a brain. Fitting, then, that the installation is called Social Synapses.

Last year’s big

Read the rest

Macro lens and image stacking

[Samuel Sargent] built his own lens for making stacked macro images.This project, which was completed as part of his senior thesis, utilizes a Zeiss enlarger lens. The aperture ring was broken, making it difficult to tell how much light was being let into the camera. Instead of scrapping the whole thing he turned it around, making it a macro lens … Read the rest

Stackable macro photography rig

When taking macro photographs you lose a lot of clarity due to a reduced depth of field. One way to get sharp pictures is to take multiple shots at slightly different distances from the subject and then stack them into one image. There’s software to do this for you, but you still need a set pictures to start with. [Dsvilko] … Read the rest

Macro photos using an under-light rig

[Aki Korhonen] wanted to tighten up his macro photography setup. He already had the camera for the job, but wanted a fully adjustable target platform that he could easily light. What he came up with is a jig to hold the camera and fine tune the subject of each photo. It uses a frame with a piece of glass whose … Read the rest