Capturing Video With An Arduino

[Carlos Agell] sent in a tip where he captured images from an analog camera with an Arduino.

We’ve seen a few AVR/Arduino hacks that generate video, although overclocking is necessary if you want to do anything beyond a Breakout clone. [Carlos]’ hack bucks that trend and now he can capture video with an Arduino.

The project captures individual frames from NTSC video at a resolution of 128×96. Although the Arduino isn’t powerful enough for real-time capture, [Carlos] managed this by capturing only thresholds and sending them over to a computer running a program coded in LabVIEW. The PC program reassembles the images of the thresholds and produces a tiny image in 3-bit grayscale.

[Carlos] used the Video Experimenter shield which is impressive in it’s own right. The Video Experimenter is able to do object tracking and edge detection, so we’re wondering when we’ll see robots with computer vision running off an Arduino. Check out a demo of the nootropic design video experimenter shield after the break.

UPDATE: Carlos wrote a sketch in Processing that does the same thing as his LabVIEW program.

Continue reading “Capturing Video With An Arduino”

Faking High-speed Video Photography Of Repetitive Events

[Destin] has been doing some high-speed and high-resolution video photography using a standard DSLR. He accomplishes this using a bit of ingenuity to capture images of repetitive events at slightly different points in time.

The banner image above shows a bullet travelling through a set of matchsticks. [Destin] uses the sound of the gun firing to trigger the flash that captures the image. A piezeo transducer picks up the sound, triggering a precision pulse generator. That pulse generator then triggers the flash, adding a delay based on the settings. In this way, [Destin] can capture video by firing a bullet for each frame, but adjusting the delay period of the pulse generator to capture the image when the bullet is in a slightly different place from the previous frame. It’s an old technique, but after some post-processing it produces a high-quality output without sinking thousands of dollars into an actual high-speed camera. Check out the video we’ve embedded after the break.

We like this guy’s style. We saw him strapping a camera onto a chicken back in December and we hope to see a lot more from him in the future.

Continue reading “Faking High-speed Video Photography Of Repetitive Events”

Simple VGA Interface For Tiny FPGA Boards

fpga_vga_adapter

[devb] has been playing around with XESS FPGA boards for ages, and as long as he can remember, they have had built-in VGA interfaces. His newest acquisition, a XuLA FPGA board, doesn’t have any external parts or ports aside from a USB connector. He needed to get video output from the board, so he decided to build a VGA interface himself.

He prototyped a 512-color VGA interface board which worked just fine, but he thought it would be way too cumbersome to use for each and every project. To keep life simple, he designed a small PCB that integrates a VGA connector and all of the resistors he needed to get the signal from the FPGA. His boards plug directly into a breadboard, so only a handful of wires is needed to connect the FPGA to a monitor.

As you can see on his site, the adapter works quite well, allowing the FPGA to put out a crisp 800×600 image with little fuss. [devb] has also posted all of his design files on his site in Eagle format for anyone interested in replicating his work.

VGA Out On A Maple Board

The team at Leaf Labs just released a new library to demonstrate the VGA capabilities of their Maple dev board. Although it’s only a 16 by 18 pixel image, it shows a lot of development over past video implementations on the Maple.

The Maple is a great little Ardunio-compatible board with a strangely familiar IDE. We’ve covered the Maple before. Instead of the somewhat limited AVR, the Maple uses an ARM running at 72MHz, making applications requiring some horsepower or strict timing a lot easier.

We’ve seen a few projects use the increased power, like a guitar effects shield. It’s possible the Maple could be made into a game console that would blow the Uzebox out of the water, but we’re wondering what hackaday readers would use this dev board for.

Watch the video after the jump to see how far the Maple’s VGA capability has come after only a few months, or check out Leaf Lab’s Maple libraries.

Continue reading “VGA Out On A Maple Board”

Color Object Tracking With An 8-bit Microcontroller

[Craig] sent in a link to this project which manages to implement color tracking on an 8-bit microcontroller at 60 frames per second. That’s some pretty incredible performance, but we’re also not talking about using a hobby-grade microcontroller. The C8051F360 is an ARM microcontroller with 100 MIPS throughput and with a system clock that can operate at up to 100 MHz. You also must consider that the chip will be able to do nothing else while in the tracking mode. Even with those gotchase, it’s still pretty incredible.

The setup uses an Omnivision OV7720 camera module. It has its own 24 MHz clock, which is used as the clock signal on the microcontroller’s PLL to generate a 96 MHz system clock. The code, which is written in a combination of C and assembly language, pushes captured tracking data to a PC via a serial port connection. After the break you can watch a bare-bones demo video that illustrates what the camera sees and what data shows up on the PC.

If you had the system in hand, what would you use it for? Perhaps it’s a perfect addition to that paintball sentry gun at which you’ve been hacking away?

Continue reading “Color Object Tracking With An 8-bit Microcontroller”

Lego Technic Super 8 Movie Projector

lego_super_8

It always blows our mind to see the things that people dream up when playing with Lego. Given enough time, you could likely replicate almost any mechanical device with the right amount and type of blocks.

[Friedemann Wachsmuth] recently wrapped up construction on a very impressive Super-8 movie projector with the help of his friend [Kalle]. The projector is fully functional, and is made completely from Lego aside from the reel spindles, the lens, and the lamp. As you can see in the video below the projector plays the film quite well, and even though it is only lit using an LED flashlight, it’s more than bright enough to get the job done.

The projector boasts automatic film feeding, a 24 fps framerate, as well as fast rewind capabilities – all provided by just two small Lego Technic motors.

You really need to watch the video to appreciate how much work went into this projector – it’s amazing.

[via RetroThing]

Continue reading “Lego Technic Super 8 Movie Projector”

Bit Banging VGA From An SD Card Slot

If you’ve got some favorite electronic device that includes an SD card slot but doesn’t have a video out port you may be able to push VGA signals through the card reader conductors. That’s exactly what’s going on above with the Ben NanoNote, a sub-$100 Linux device which we’ve seen using its SD card slot as general I/O before.

The hardware to capture the signals includes a breakout board for the card slot. Free-formed on the other end of that connector card is a gaggle of resistor which handle level conversion for the VGA color signals, with a VGA cable taking it from there to the monitor. The software that makes this happen is a dirty hack, blocking all other functions while it displays a still image. But we’re sure that it can be cleaned up somewhat. Just don’t hold out hopes for full-motion video, this little guy just doesn’t have it in him.

[via Dangerous Prototypes via Slashdot]