Building A Digital Camera From Scratch

Sure, [Stan] could have bought a nice full-frame DSLR like a Canon 5D or a Nikon D3, but where’s the fun in that when he could build his own digital camera? The build isn’t done yet, but [Stan] did manage to take a few sample pics.

The 14 Megapixel sensor [Stan] found was originally used for benchtop applications. There isn’t any reason it can’t be used for photography, so all that needed to be done was design a camera around this sensor.

[Stan] built his hardware around a DSP, an FPGA and a pair of ADCs, an amazing piece of engineering. Of course building a full-frame digital camera has as much to do with mechanics as electronics, so [Stan] used a 60mm cage system and a 3d-printed nylon enclosure.

Of course, [Stan]’s camera doesn’t look much like and off-the-shelf DSLR. There’s a reason for this; the sensor in the camera has a rolling shutter, much like the last few iPhones instead of a focal plane shutter. Not a bad piece of work, we only wish there were more build pics.

Recreating The Commodore PET With An FPGA

commodore_pet_fpga_clone

[Thomas’] love affair with Commodore computers spans well over 30 years, and not too long ago he decided to recreate one of his favorite Commodore offerings, the PET. As we have seen with similar undertakings, this sort of project is no easy task, but [Thomas] seems to be making his way along nicely.

Using a Xilinx Spartan-6 FPGA on the Digilent Nexys3 dev board, he has implemented the Pet in Verilog. Like the original, his clone contains 16K of both ROM and RAM, utilizing the same simulated 6502 microprocessor he used on a previous Apple ][+ project. The FPGA version of the computer sports a 640×400 resolution which is twice that of the original, so [Thomas] simply doubled the size of each of the PET’s pixels to fill in the extra space.

[Thomas] has made some great progress so far, including the ability to load games and other programs from cassette images over a serial connection. He says that there are still a few loose ends to tie up, but it all looks good from here!

Continue reading to see a short video of Space Invaders running on he PET recreation.

Continue reading “Recreating The Commodore PET With An FPGA”

Running The Linux Kernel On A DE0-nano FPGA Board

[Mike] has been filling up a rather intense wiki entry outlining how to run uClinux on a DE0-nano FPGA board. This is an inexpensive dev board that will run you somewhere between $80 and $100. Right off the bat he goes into a hefty list of the reasons that this is a foolish activity. To name a few: Once you’ve complete the build the device will be tethered for reboot.  This board doesn’t have Ethernet hardware and TCP/IP is one of the beast features of the uClinux kernel. And the FPGA tools are closed-source, which doesn’t often mesh with the ideals of Linux developers. But we still like to see what it really takes to get these large-scope firmware builds to compile and load correctly.

After his preamble you’ll find three main chunks. The first deals with setting up the toolchain on Fedora 14. From there, he installs packages necessary for cross-compiling, pulls down the source packages, and gets to work. Once the kernel is compiled and running on the FPGA [Mike] goes on to show you how to build out a simple hardware add-on in the form of a couple of LEDs connected to extra FPGA pins. The final portion of the wiki details rolling support for toggling the LEDs into the software distribution.

Recreating The Mac Plus With An FPGA

sad_mac_fpga_mac_clone_plustoo

[Steve] over at Big Mess O’ Wires has never been so happy to see the “Sad Mac” icon.

A little over a month ago, he decided to take on the task of building his own Mac clone using modern technology. Not to be confused with Mac emulation on modern hardware, he is attempting to build a true Mac clone using an FPGA that is functionally identical to the original.

He is calling his creation the “PlusToo”, with the goal of producing a modern version of the Macintosh Plus. The Plus shares a good amount of hardware with its other original Mac brethren, allowing him to replicate any of the other machines such as the Mac 128K, with a few simple configuration changes.

Building this clone is an incredible undertaking, and it’s a lot of fun to watch the construction progress bit by bit. [Steve] has been diligently working for a little over a month now, recently getting the clone to run 68000 code from the Mac ROM, resulting in the Sad Mac image you see above. While the logo has been dreaded among Mac users for years, it signals to [Steve] that things are coming along nicely.

SPDIF Passthrough Lets You Digitally Manipulate The Audio

[Mike Field] took what he had learned with a few past projects and combined them to make this FPGA-based SPDIF audio pass-through. In order to get the SPDIF signal ready for the FPGA he needed a few components to use for level conversion. Once everything was connected he used a first in first out (FIFO) buffer to ensure that the outgoing bitrate is the same as the input, while still allowing enough time for the FPGA to do some digital manipulation.

This reminds us of the NeTV, which is an HDMI pass-through device. That one allows you to overlay your own video information to any TV that has an HDMI port. This would allow you patch into any audio system that’s using SPDIF, letting you inject your own audio, such as a paging system in a public lobby, or the ringing of a phone when you get a call, or to create your own sounds.

We like his overhand knot cable management system to keep those jumper wires from becoming too much of a mess on the breadboard.

Chumby’s New NeTV Makes Almost ‘any TV’ Into An Internet Connected Device

Check out the new set-top box on the block, the NeTV from Chumby Industries. That link will take you to their video demonstration of the device, which is a humble-looking black box with no apparent user interface. You’ll see a few cool tricks that may impress you, like pairing the device with an Android phone through the use of a QR code. Once the two have mated you can do things like share images on the TV and load webpages from addresses entered into the smart phone. There are options for scrolling alerts when you receive an IM or SMS, and a few other bells and whistles. All of this from a device which connects with two HDMI ports to sit between your TV and whatever feeds it a video signal. Read all about the features here.

But its the hacking potential that really gets our juices flowing. The developer page gives us a look inside at the Spartan-6 FPGA that lives in the little case. We don’t often quote [Dave Jones] but we’re certain he’d call this thing ‘sex on a stick’. They’ve made the schematic and FPGA information available and are just begging for you to do your worst. The power for the device is provided by a USB connection but curiously is just above spec when drawing a max of 700 mA. We have a USB port on the back of our TV and would love to velcro this thing in place and power it from that. What would you plan to do with it?

[via Reddit]

Putting Laptop LCDs To Use With An FPGA

We’re always impressed with the number of laptop displays we’re able to pick out of the trash. Most of the time the computer is borked beyond repair so we end up with a lot of functional but unusable LCD panels. As a service to us all, [EiNSTeiN_] figured out how to control an LCD panel using a cheap homebrew FPGA board.

LCD panels don’t use a simple protocol like VGA for turning pixels on and off. Instead, the very high-speed LVDS is used. LVDS is beyond the capabilities of simple microprocessors, so [EiNSTeiN_] built himself a clone of an XuLA FPGA prototyping board and set to work. After figuring out the signal lines to the panel, [EiNSTeiN_] pored over the timing diagrams for the LVDS controller and the LCD panel. From the data sheets, he figured out data is usually sent to the panel at about 500 MHz. The homebrew FPGA board couldn’t manage that speed so [EiNSTeiN_] cut the FPGA clock in half.

While LCD’s 60 fps refresh rate was reduced to 30 fps, [EiNSTeiN_] says there’s only a little flicker. Not bad for something that could have easily been trashed.