Interfacing A Digital Rotary Switch

digital_rotary_switch

[hw640] has put together a well written and detail packed explanation of how to interface with a digital rotary switch. These digital opto encoders have just two outputs with four possible logic levels (00, 10, 11, 01). The relative position of the switch is insignificant but the direction of rotation is what matters.

The short and dirty: Each of the switch’s 2 output pins is attached to a pin change interrupt on the microcontroller. Every time the switch moves it generates either a rising edge or a falling edge on one of the two pins; both edges cause an interrupt. By checking which pin caused the interrupt, then comparing the logic levels of the two pins after that interrupt, we can determine the direction the switch was rotated.

Although this explanation uses a PIC and code written in PicBasic Pro the concepts are discussed in the abstract and would easily be adapted to an AVR or another microcontroller of your choice.

Ubuntu Repository Crash-course

[blip.tv ?posts_id=2542951&dest=-1]

[Alan] has just posted an Ubuntu screencast that will take you through a crash course in the Ubuntu repositories. If you are new to Ubuntu this will give you a much better grasp on how software repositories are handled.

The different types of updates are discussed: Security updates fix bugs that cause a system vulnerability. Updates (generic) are for bug fixes that aren’t a security threat. Proposed updates are for testing before an update hits the ‘updates’ section. Finally, backports are updates from a newer version that have been ‘backported‘ so systems running older versions of Ubuntu can have the benefit of newer features and fixed bugs.

He also provides some tips on selecting package sources (main, universe, restricted, and multiverse), and choosing the fastest mirror to reduce download times. This screencast is just part one and we hope to see 3rd party repositories, personal package archives, and repository caching covered in future installments.

Fedora Rawhide Nightly Builds

fedora_rawhide

The devs over at the Fedora Project are hard at work on the development version: Rawhide. They’ve just setup automated nightly builds of the liveCD which can easily be downloaded and tested on a CD, DVD, USB drive, virtual machine, or separate partition.

Rawhide will be released as Fedora 12 upon completion.  With this version you have a choice of Gnome 2.28 or KDE 4.3 for your desktop.  There is also improved power management, expanded support for mobile broadband, easy bug reporting, and many more new or improved features. So roll up your sleeves, download last night’s build, and help test some open source software.

[via Download Squad]

Bliplace LED Toy

[blip.tv ?posts_id=2542286&dest=-1]

These wearable LED toys called Bliplace are freshly made and headed to Burning Man. They’re pretty much just a sound reactive toy, but [Tanjent] decided to go pretty in depth in the design. They are 1″ wide octagons with 3 super bright LEDs and a microphone. The microphone is sampled at 4400 hz by the ATTiny25v and the signal is split into high and low frequency streams. The center LED is low frequency, the sides are the high. They can run a full week on a battery. He’ll be handing out 350 of them at Burning Man, then releasing the source code, boards, and kits after that.

RepRap Wedge

reprap_wedge

Generation 2.0 of RepRap, the self replicating 3d printer, is approaching realization. Code named “Mendel”, the new design will be wedge shaped rather than a box which offers a few benefits. The overall design is smaller than the original RepRap but the printable area is larger. This means more functionality with less building material. With each new generation of this project the assembly gets easier and total parts price drops making the RepRap available to a much wider audience.

The RepRap blog has put forth some design specs, a picture of the assembled prototype, and has links for general assembly information (ZIP). We won’t see a finished version of this released for a few months but so far it looks like a big leap forward.

Foundation Cooling

Foundation with Copper

Overclockers are always trying to come up with new, colder, and quieter ways to keep their PCs cool. [gigs] was so dedicated to this, he decided to lay 6 meters of copper pipe to use as a radiator in his new house’s foundation. As of now, the foundation is laid (copper pipes and all), and the forum posts come complete with finished slab pics, though there is no house to speak of yet.

[via Slashdot]

Experimental Search Engine Display

gtse

goodTimes.searchEngine is an experimental set up to display search engine results. Be sure you’re using Firefox or IE, because it isn’t working with chrome right now.  [Gordon] pointed us to it and asked for our feedback. We had a pretty quick list of improvements we would like to see, such as the category changes not popping up in new windows, or the new windows appearing on top for that matter. Or most importantly, a way to transition from the fancy preview window to a new tab or window. We are curious to hear your thoughts on this. What would make it better? Is it even needed? Is he building a tool to fix a problem that isn’t there? With Bing showing some nice new features over google, would something like this be of more use?