Open Source Graphics Card

Even though NVidia and ATI have been open-source friendly for a while now, there still isn’t a true open-source graphics card. [Anton] and [Per] are trying to fix that by building his own graphics card around an FPGA. The project is called ORSoC, and it’s available on opencores.com.

The guys are building the ORSoC graphics card around a Digilent Atlys FPGA dev board. So far, he can draw lines, textured triangles, bitmap or vector fonts, and throw a few 3D meshes up on the screen. This project isn’t intended to run advanced OpenGL or Steam on Linux, but for all the work that into this graphics accelerator, it’s an amazing piece of work.

There are a few demos after the break; a cube rotating in 3D and a demo drawing and translating polygons and a few textures. The ORSoC is a bit slow, but that’s an artifact of the build not being optimized for the FPGA the team is using. If you’d like to test this graphics card, there’s a Git available. As a bonus you don’t even need an FPGA to play around with this project. There’s also a software emulation of all the functions. Very neat.

Continue reading “Open Source Graphics Card”

Color Multiplexing Through Fiber Optics

If you want to go high bandwidth, fiber optics is the way to go. From trans-oceanic cables to the yet-unseen ‘fiber to every home,’ fiber optics allows a lot more bandwidth than a copper cable. In low-bandwidth applications, fiber optic cable transmits data using one color of light. There’s a way to get more bandwidth out of a fiber optic cable, as [Shahriar] found out while experimenting with an RGB LED.

For his experiment, [Shahriar] used a BlinkM programmable RGB LED and a Sparkfun color sensor. In fiber optic lines with one light, it is possible to send many simultaneously using PWM, but noise becomes a problem at high data rates. Using an RGB LED, [Shahriar] sends three levels of Red, Green, and Blue to transmit 9 bits at a time – perfect for sending a byte with a parity check in one quick light burst.

[Shahriar]’s technique is exactly how the pros pump massive amounts of data through a single fiber optic cable. All the tools, code, and MATLAB functions are available on [Shahriar]’s site, ready to be used by anyone wanting to experiment for themselves.

In the video after the break, [Shahriar] breaks everything down, including the tools, theory, and actual circuits. It’s an amazing video demo, so thorough we’re wondering if [Shahriar] has any teaching ambitions.

Continue reading “Color Multiplexing Through Fiber Optics”

Potting Electronics With Silicone

If you want to improve the reliability of your electronics, just cover them in silicone or epoxy. Potting, as this technique is called, protects your project from impact and loose wires, but most of the time ends up as a gloppy mess. [Charles] figured out an awesome way to make pro-looking potted electronics using silicone and a few supplies from the emergency room.

On one of [Charles]’s trips to the ER, a nurse put Tegaderm on a wound and he noticed his skin could breathe. Figuring Tegaderm would also allow silicone to breathe, he asked for a sample and went back to the lab. After putting a few globs of silicone on a PCB, [Charles] wrapped the whole thing in Tegaderm. Much to his surprise, the silicone cured and made a smooth, glossy protective covering on his board.

[Charles] put up a Picassa album of his Tegaderm/silicone potted electronics, and we’ve got to say they’re looking very professional. This technique could also be applied to [Charles]’ glass PCB touch sensor, allowing for the creation of clear (or at least tranlucent) PCBs.

After the break, you can check out [Charles] potting his ATtinyISP board in silicone with Tegaderm. One word of warning, though: don’t use a silicone that uses acetic acid to cure – that’s a death sentence to electronics. Luckily, there’s an easy test to see if your particular brand of silicone produces acetic acid while curing. Just squeeze a bit of silicone on a piece of scrap, and if it smells like vinegar after a while, don’t use it.

Continue reading “Potting Electronics With Silicone”

GPU Programming For Easy & Fast Image Processing

If you ever need to manipulate images really fast, or just want to make some pretty fractals, [Reuben] has just what you need. He developed a neat command line tool to send code to a graphics card and generate images using pixel shaders. Opposed to making these images with a CPU, a GPU processes every pixel in parallel, making image processing much faster.

All the GPU coding is done by writing a bit of code in GLSL. [Reuben]’s command line utility takes that code, sends it to the graphics card, and returns the image calculated by the GPU. It’s very simple for to make pretty Mandebrolt set images and sine wave interference this way, but [Reuben]’s project can do much more than that. By sending an image to the GPU and performing a few operations, [Reuben] can do very fast edge detection and other algorithmic processing on pre-existing images.

So far, [Reuben] has tested his software with a few NVIDIA graphics cards under Windows and Linux, although it should work with any graphics card with pixel shaders.

Although [Reuben] is sending code to his GPU, it’s not quite on the level of the NVIDIA CUDA parallel computing platform; [Reuben] is only working with images. Cleverly written software could get around that, though. Still, even if [Reuben]’s project is only used for image processing, it’s still much faster than any CPU-bound method.

You can grab a copy of [Reuben]’s work over on GitHub.

APC Android Computer Isn’t A Raspberry Pi

VIA Technologies, ostensibly in an attempt to compete with the Raspberry Pi (if you can believe all those bloggers out there), is releasing a tiny single board computer called the APC Android PC. The VIA website for the APC is down, so just search Google News for all the details.

The specs are somewhat similar to the Raspberry Pi – HDMI out, Ethernet, SD card, and a few USB ports – but that’s about where the similarities end. The APC runs a version of Android 2.3 customized for mouse and keyboard input where the RasPi runs Linux. The APC can only display 720p video (compared to the RasPi’s 1080p), and doesn’t have GPIO pins that can be used with Arduino shields.

We’re pretty sure VIA is going after the media center PC market here with a low-power board that can easily stream movies or a season of TV shows over a network. At $50, we’re sure the APC will find a home in a few homebrew devices, MAME machines, and carputers.

If anything, this only portends a whole bunch of single-board ARM/Linux computers riding on the coat tails of the RasPi. That’s awesome no matter how you look at it.

If a $50 Android board doesn’t whet your whistle, VIA also released a Mini-ITX board with 12 hardware serial ports. Hardware serial ports are getting rare nowadays despite how useful they are for embedded applications. 12 (with riser cards, natch) serial ports seems overkill, but we’re sure some Hackaday reader has been looking for this board for a while now.

Viper Flight Simulator (a La Battlestar Galactica) Finished

Here’s a story about some guys who set out to build a flight simulator for the Viper from Battlestar Galactica. The goal is to bring a grand project to the Maker Faire. This is a recurring challenge for the group, which has participated over the last several years. But this year they decided to go big and mounted a successful Kickstarter campaign to help with the cost.

The best place to get the build details is their progress updates page. Each week the cadre of teenagers tried to post some info about their progress, and we’ve got a big grin on our faces after reading through them. The simulator aims to provide you with as much of a space flight experience possible given the restraints which gravity imposes. The cockpit can roll and pitch a full 360 degrees in each direction. Of course safety is a concern and they were careful with their frame design and pilot restraint system. But so much more goes into this than just the physical build. There’s sound, lighting, and the virtual simulator, all of which have been complete at an impressive quality level. There’s a ton of video posted and we’ve embedded one short clip after the break showing off the cockpit’s dashboard.

Continue reading “Viper Flight Simulator (a La Battlestar Galactica) Finished”

Getting Great Bootlegs With The BootlegMIC

Go to any concert, show, or basement band practice, and you’ll find someone recording a bootleg. While these live recordings are sometimes fairly high quality, bootlegs recorded with a cell phone usually sound terrible. The guys over at Open Music Labs have a great solution to these poor quality recordings that only needs a few dollars worth of parts.

The project is called bootlegMIC. It’s a simple modification of an electret microphone – the same type of mic found in cellphones and bluetooth headsets – that allows for some very high quality recording in very noisy environments. According to the open music labs wiki, the modification is as simple as cutting a few traces on the PCB in an electret mic and soldering on a cap and a few resistors.

An electret mic contains a small JFET to amplify the signal coming from the microphone diaphragm; the specific JFET is selected by the manufacturer to ensure the microphone has the right gain and response. Usually these JFETs are chosen with the expectation of a relatively quiet environment, and trying to record a concert only results in a ton of distortion. By putting a resistor between the source of the JFET and ground of the microphone, it’s possible to reduce this distortion.

The circuit is easy enough to solder deadbug style, and should work with most cellphones. The guys at Open Music Lab were able to get their mic working with an iPhone, but they’re still working on figuring out the Android mic input. There’s a great demo video showing the improvement in audio quality; you can check that out after the break.

Continue reading “Getting Great Bootlegs With The BootlegMIC”