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]

Synkie: The Modular Synth For Video

The folks at [anyma] have been working on an analog video processor called Synkie for a while now, and we’re amazed a project this awesome has passed us by for so long.

Like a Moog or Doepfer synth, the Synkie was developed with modularity in mind. So far, [anyma] has built modules to split and combine the sync and video signals, and modules to invert, add, subtract, mix, filter and amplify those signals. The end result of all this video processing produces an output that can look like a glitched Atari, art installation, and scrambled cable station all at the same time.

The Synkie’s output reminds us of the original Doctor Who title sequence, and actually this idea isn’t far off the mark – both use video feedback that will produce anything from a phantasmagoric ‘flying through space’ aesthetic to a fractal Droste effect visualization. We’re impressed with Synkie’s capabilities, but we’re astounded by the [anyma] crew’s ability to control a video signal in real time to get what they want.

Check out a video of the Synkie after the jump. There’s also more footage of the Synkie in action on the Synkie Vimeo channel.

Continue reading “Synkie: The Modular Synth For Video”

USB Minecraft Portal

[Sprite_tm] had heard some time ago that middle of the road Nokia phones had some really interesting LCDs, they are 2.4 inch TFT’s with 320×240 resolution. He immediately got 3 beccause they are pretty low cost as well, and started working with them. Apparently these LCDs are self contained, meaning they have all the driver chips and memory on board, you just need to know the pins and commands. This too is fairly easy as they are somewhat standard setups and datasheets for similar models work in a pinch.

Once the things were working, what do you do with them? [Sprite_tm] decided to make a desktop minecraft portal. Since the animation is a bit complex in micro controller worlds, he grabbed one of the STM32F101CBs for their beefy cpu and got to work. Getting the texture from minecraft proved to be a bit of a bear as they are not static images, but are calculated on startup. A bit of C code on the PC quickly generates an appropriate pattern and is exported to the micro controller for display in its final home.

The case is made out of wood and once finished looks just like the “real” thing giving a presentation any “blockhead” would love to have on their desk.

Real-time Digital Puppetry

digital_puppet_show

If it sometimes seems that there is only a finite amount of things you can do with your kids, have you ever considered making movies? We don’t mean taking home videos – we’re talking about making actual movies where your kids can orchestrate the action and be the indirect stars of the show.

Maker [Friedrich Kirchner] has been working on an application called MovieSandbox, which is an open-source realtime animation tool. A couple of years in the making, the project is cross-platform compatible on both Windows and Apple computers (with Linux in the works), making it accessible to just about everyone.

His most recent example of the software’s power is a simple digital puppet show, which is sure to please young and old alike. Using sock puppets fitted with special flex sensors, he is able to control his on-screen cartoon characters by simply moving his puppets’ “mouths”. An Arduino is used to pass the sensor data to his software, while also allowing him to dynamically switch camera angles with a series of buttons.

Obviously something like this requires a bit of configuration in advance, but given a bit of time we imagine it would be pretty easy to set up a digital puppet stage that will keep your kids happily occupied for hours on end.

Continue reading to see a quick video of his sock puppet theater in action.

[via Make]

Continue reading “Real-time Digital Puppetry”

Tandy Color Computer (CoCo3) Color Video Playback

[John W. Linville] wrote a digital video player for the Tandy Color Computer (aka TRS-80). The decades-old hardware performs quite well considering the limited resource he had to work with. This is the second iteration of his player, and can be seen after the break playing a promo video for CoCoFEST 2011 where he’ll show it off in person.

In the most recent thread post (at the time of writing) [John] shares the methods used to get this running. FFMPEG is used on a modern computer to process the source video by separating the audio into an 8-bit 11040Hz file, and it generates several PPM files with the proper video frame rate. ImageMagick takes it from there to convert the PPM files to a bitmap format. It also processes each frame for differential changes, reducing the size to fall within the available bandwidth. They are then interleaved with the audio to produce the final format. Video is 128×192 with rectangular pixels. [John’s] already used it to watch such classics as War Games on the antiquated hardware.

Continue reading “Tandy Color Computer (CoCo3) Color Video Playback”