Improve Your Vision With Computer Generated Glasses

[Vitor Pamplona] sent in a project presented at this years SIGGRAPH. It’s a piece of hardware that corrects vision without the need for lenses. Yep. software-defined eyeglasses now exist, even if the project is a bit bulky for daily wear.

[Vitor] et al came up with two versions of hardware for this project. The first is a dual stack of high-resolution LCD displays, while the second revision is an LCD with a lenticular overlay. With this hardware, the team can change the focal plane of an entire image, or just subsets of an image allowing for customized vision correction for anyone with nearsightedness, farsightedness, astigmatism, presbyopia, and even cataracts.

With plenty of head-mounted augmented reality platforms coming down the pipe such as Google’s Project Glass and a few retina displays, we could see this type of software-defined vision correction being very useful for the 75% of adults who use some form of vision correction. It may just be a small step towards the creation of a real-life VISOR, but we glasses-wearing folk will take what we can get.

You can check out the .PDF of the paper here, or watch the video after the break.

Continue reading “Improve Your Vision With Computer Generated Glasses”

Need A Quadcopter Transmitter? Use A PS2 Controller!

After [Pyrofer] built a quadcopter, he purchased a cheap 6-channel transmitter made in China. Unfortunately, that transmitter was terrible so he took an old PS2 controller and built his own.

For his build, [Pyrofer] broke out the analog sticks and wired them to an AVR housed in the handle of the controller. The AVR sent commands to a 2.4 GHz radio transmitter powered by a small LiPo battery. With the addition of a few tact switches behind the shoulder buttons of the controller, [Pyrofer] has four axes of control with a few buttons for changing modes on his quadcopter.

This build really doesn’t hold a candle to some of the awesome DIY RC transmitters we’ve seen, but we’ve got to give [Pyrofer] credit for coming up with a very simple and easy build. Just about everyone has a PS2 or XBox controller lying around, and with a few extra hardware bits it’s easy to bodge up a decent remote control.

[Pyrofer] used a project called Funkenschlag to generate PPM signals, so if you feel the need to replicate this project send it in when you’re done.

Dealing With The Horrors Of PDFs By Binding Your Own Books

Looking at a few PDFs of data sheets, journal articles, or even complete books can be a pain. Not only do you have to deal with the torment of a PDF reader (we’re looking at you, Adobe), but a purely electronic document misses the beautiful tactile interface available in dead tree format. [samimy] put together an amazingly professional video showing us how to turn our convenient yet unwieldy PDFs into paperback books, perfect for a very accessible off-line reference.

[samimy]’s build is basically a few pieces of wood and C clamps designed to compress the printed PDF together. After drilling a few holes along the spine, he stitches the pages together with very strong thread and applies a little glue to the spine. After removing the pages from the press, [samimy] applied a piece of tape to the spine and had a very nice looking paperback book.

While [samimy] is using his binding jig for data sheets, we see no reason why a more prodigious tome couldn’t be created with his rig. A few pages of marbled paper and a leather cover would result in a beautiful and functional work of art that will be around long after you’re gone.

Rocket Telemetry From UAV Hardware

When we posted our call for rocketry hacks and builds, we expected to see a few altitude sensors and maybe a GPS module or two. Apparently, we forgot similar hardware is very popular in the remote-controlled aircraft world, and can be successfully added to a rocket as [Kevin] and his ArduPilot equipped J motor rocket showed us

The ArduPilot is a small Arduino comparable board designed for UAVs, quadcopters, and other whirligigs not powered by rocket motors. To get real-time telemetry from his rocket, [Kevin] attached a GPS receiver and an XBee transmitter. When launched on an H165 motor, [Kevin] was able to keep a radio lock on his rocket, allowing him to pull down data in real-time.

There are a few drawbacks to using the ArduPilot to collect flight data; the ArduPilot only reports ground speed, a somewhat useless feature if the vehicle is going straight up. Also, there is no way for [Kevin] to record data to an SD card; the ground team must be able to receive the XBee, lest bits of data go missing. For most rockets the radio issue shouldn’t be a problem. [Kevin] launched the same hardware on a J motor and was able to receive data from 3600 AGL.

Creating A Decadent, Insane, And Depressed Robot From Internet Ramblings

Have you ever wondered what a Tumblr written by a psychotic robot would look like? Wonder no more, because [Lars] has that all figured out.

A few years ago, [Lars] stumbled across lowbrow.com (now defunct, but mirrored here), an online confessional and bathroom wall meant to host people’s most private thoughts and actions anonymously. [Lars] wrote a script to pull a random lowbrow post down every minute and threw every unique result into a database.

With about 50 pages of the most depraved and depressing posts of questionable veracity, [Lars] trained a Markov chain algorithm to produce paragraphs that imitated the style of lowbrow contributors. This gave [Lars]  pages of computer-generated text describing the most decadent, depressing, insane, inane, but overwhelmingly human experiences possible. A few choice quotes from the output are:

The llama: nature’s random number generator.

Over 7000 watts of Ol’ Barry whining his ass cheeks to soften the blows.

All through school I was being pulled behind the local St. Benedictine  Monastary where I was afraid I don’t know what I thought was the founder pulls back from a discussion about homestarrunner.com

While [Lars]’ script wouldn’t pass a Turing test, we’ve met people who couldn’t do the same. As far as creating a real-life version of Hedonism Bot, HAL, and Marvin from Hitchhiker’s Guide, we’re thinking [Lars] hit the mark.

After the break you can check out a gallery of pics [Lars] put together of from his computer-generated text. You can also grab the full lowbrow corpus and the ruby script to build your robotic [Kerouac].

Continue reading “Creating A Decadent, Insane, And Depressed Robot From Internet Ramblings”

A Detailed Tutorial On Speeding Up AVR Division

[Alan Burlison] is working on an Arduino project with an accelerometer and a few LEDs. Having the LEDs light up as his board is tilted to one side or another is an easy enough project a computer cowboy could whip out in an hour, but [Alan] – ever the perfectionist – decided to optimize his code so his accelerometer-controlled LEDs don’t jitter. The result is a spectacular blog post chronicling the pitfalls of floating point math and division on an AVR.

To remove the jitter from his LEDs, [Alan] used a smoothing algorithm known as an exponential moving average. This algorithm uses multiplication and is usually implemented using floating point arithmetic. Unfortunately, AVRs don’t have floating point arithmetic so [Alan] used fixed point arithmetic – a system similar to balancing your checkbook in cents rather than dollars.

With a clever use of bit shifting to calculate the average with scaling, [Alan] was able to make the fixed point version nearly six times faster than  the floating point algorithm implementation. After digging into the assembly of his fixed point algorithm, he was able to speed it up to 10 times faster than floating point arithmetic.

The takeaway from [Alan]’s adventures in arithmetic is that division on an AVR is slow. Not very surprising after you realize the AVR doesn’t have a division instruction. Of course, sometimes you can’t get around having to divide so multiplying by the reciprocal and using fixed point arithmetic is the way to go if speed is an issue.

Sure, squeezing every last cycle out of an 8 bit microcontroller is a bit excessive if you’re just using an Arduino as a switch. If you’re doing something with graphics or need very fast response times, [Alan] gives a lot of really useful tips.

apoll013

A Replica DJ Controller To Rule Them All

So like many followers of Hackaday, maybe you’re into electronic music. We’d dare to say though that few of you have the dedication of [adamdzak] as he decided to replicate [Sasha]‘s custom controller for the [Abelton Live] software package. Apparently it’s more difficult than taking apart your DJ Hero controller and hacking it to interface songs on your computer.

The “new” controller is named Apollo, and is meant to be a replica of Sasha’s Maven controller. The build process is well laid out in his post, and the results so far look quite incredible. What’s particularly interesting is the effort taken to reverse engineer this device without ever having been able to use it. Both from a mechanical standpoint and trying to figure out how the buttons are used to control the software must have been quite a challenge. Check out the video after the break to see this new controller in action. Continue reading “A Replica DJ Controller To Rule Them All”