Complete Guide To Compiling OpenWRT

Regular reader [MS3FGX] recently wrote a guide to compiling OpenWRT from source. You may be wondering why directions for compiling an open source program warrant this kind of attention. The size and scope of the package make it difficult to traverse the options available to you at each point in the process, but [MS3FGX] adds clarity by discussion as much as possible along the way.

OpenWRT is an open source alternative firmware package that runs on may routers. It started as a way to unlock the potential of the Linksys WRT54G. But the versatility of the user interface, and the accessibility of the Linux kernel made it a must-have for any router. This is part of what has complicated the build process. There are many different architectures supported and you’ve got to configure the package to build for your specific hardware (or risk a bad firmware flash!).

You’ll need some hefty hardware to ease the processing time. The source package is about 300 MB but after compilation the disk usage will reach into the Gigabyte range. [MS3FGX] used a 6-core processor for compilation and it still took over 20 minutes for a bare-bones distribution. No wonder pre-built binaries are the only thing we’ve ever tried. But this is a good way to introduce yourself to the inner workings of the package and might make for a frustrating fun weekend project.

Robot Takes Voice Commands Via Open Source CSR

This is Chippu, a robot that [Achu] has been working on for some time. His most recent addition was to give the robot the ability to respond to voice commands. This is accomplished using a variation of the open source Continuous Speech Recognition package called Julius.

The package depends on two main parts, a set of acoustic models which let it match incoming sounds and a reference library of grammar which is built from those sounds. [Achu] published another post which goes into detail about using Julius on a Linux box. It seems like this is possible with less robust hardware (ie: on an embedded system) if you narrow down the number of acoustic and grammer models that need to be matched.

For now, Chippu is getting commands from a computer that runs the CSR. But this was only used as a proof-of-concept and [Achu] plans to transition the bot over to smaller hardware like the BeagleBoard.

Check out the demonstration of Chippu responding to voice commands in the video after the break.

Continue reading “Robot Takes Voice Commands Via Open Source CSR”

Hackaday Links: January 10, 2012

They can put a man on the moon, but they can’t put a man in LEO

Yeah, we’re enraged by that headline. Anyway, NASA put up a whole bunch of projects and made them open source. From the looks of it, there’s plenty of cool stuff: genetic algorithm libs, toolkits for astrodynamics simulations (on the Goddard site), and this cool thing.

Nyan all the disks!

[brainsmoke], a hacker over at revspace, made an assembler version of nyan cat that can be placed on the bootloader of any disk. Just a reminder that you shouldn’t mount everything out there. We learned that lesson the week we discovered a penicillin allergy.

It’ll replace the Buffy poster.

[Anthony Clay] has been working on a set of EE posters that he’s putting up as a Kickstarter. They’re Ohm’s Law, resistor calculator, capacitance, and inductance posters that would look great above any workbench. He’s looking for ideas for other posters, so drop him a line and vote for the 7400 logic poster. All of them.

Ooooohhhh MIDI sampler

A while ago, we saw this neat MIDI Arduino shield. The Kickstarter reached its funding goal (there’s still time left!), but now [Keith] writes in to tell us that the AvecSynth library is platform independent. You could use this to record and play back MIDI messages. MIDI tape delay, anyone?

Open mind, not mouth.

With the success of the Stanford AI class last year, it looks like MIT is really getting their head into the game. Think of it this way: it’s MIT opencourseware that can lead to credentials. Now the only question is, ‘how do you prank a virtual campus?’

Open-source Sprinkler Controller Keeps Your Lawn Looking Great

open_source_sprinkler_controller

[Ray] wrote in to share a great project he just recently wrapped up, an open-source sprinkler valve controller. Built in collaboration with Wired Magazine’s editor-in-chief [Chris Anderson], the sprinkler controller is designed to replace the limited commercial sprinkler timers that typically come with a new home sprinkler setup.

Their system greatly expands on the idea of a standard sprinkler timer, adding Ethernet connectivity, web-based scheduling, and 8 separate controllable zones. At the heart of the controller is an ATmega328 running the Arduino bootloader, which means that the system is easily tweakable to fit your specific needs. The controller works off a standard 24V AC sprinkler transformer, which means that the controller can easily act as a drop-in replacement for your existing system.

The pair sells kits through the web site, but you can always simply download the schematics, PCB layout files, and BoM to build one yourself. Whichever path you choose, be sure to swing by [Ray’s] site and take a good look around – there is an incredibly detailed assembly and programming guide there that will be a great resource as you go along.

Continue reading to see a video of the sprinkler controller in action.

Continue reading “Open-source Sprinkler Controller Keeps Your Lawn Looking Great”

Addressing Microchip’s Open Source Problem

microchip_call_for_open_source

Hackaday alum and owner of Dangerous Prototypes [Ian Lesnet] recently wrote an editorial piece calling out Microchip on some of their less than friendly attitudes towards open source.

[Ian] and his company use PIC microcontrollers extensively in their projects, and they have quite a high opinion of their products overall. The gripe that he has (and thinks you should have too) is regarding Microchip’s approach to open source.

You see, Microchip invested in the Arduino IDE and released the chipKIT, a 32-bit Arduino compatible development board, along with big promises of “playing nice” with the open source community. The problem, according to [Ian], is that while Microchip’s compilers are based on GCC, they “keep some special sauce locked up”, which means that certain parts of the chipKIT toolchain are not open. Many in the community, including [Ian] had high hopes for the chipKIT based on the successes seen by Atmel’s open source initiatives, but many things are still locked up behind closed licenses.

An example of this unfriendly attitude towards open source can be seen in Digilent’s recently released network shield. It supports Ethernet and USB features of the chipKIT MEGA, but the TCP/IP and USB stacks are completely closed source. Digilent pushed hard to get the ability to release open drivers for the board, but it was a battle they ultimately lost. This behavior creates roadblocks for seasoned developers of open source products such as Dangerous Prototypes, as well as the curious beginner, which is why [Ian] is making a point in bringing these issues to light.

[Ian] urges Microchip to give something significant back to the community they are tapping, a result which can only be achieved by speaking up. Be sure to check out his editorial, and if after reading it you have any interest in letting your voice be heard, drop Microchip a line and let them know that their one-way relationship with the open source community is something you would like see change.

DIY Inkjet Printer Begs To Be Hacked

diy_inkjet

[Nicholas C Lewis, Patrick Hannan, Jared Knutzen, and Joy Markham], students from the University of Washington, have recently taken the wraps off a project which they have been collaborating on, a DIY inkjet printer. The group set out to construct a low cost, open source inkjet printer for personal use that utilizes standard inkjet technology. Their working prototype, pictured above, satisfies all of those requirements, making it an ideal device for the at-home hobbyist.

The printer was constructed from easy to obtain components such as steel rods and stepper motors, along with other parts that can be printed using a RepRap or similar machine. An Arduino Mega manages the steppers and repurposed print head, recreating whatever Processing-generated image it has been given.

The printer is quite a hit so far, and people are already talking about adapting the design to print on spherical objects (think EggBot), to create direct etch resist PCBs, and more. We think it would make a great direct to garment printer with just a few small tweaks.

Check out the short video embedded below to see the printer in action.

[via Make]

Continue reading “DIY Inkjet Printer Begs To Be Hacked”

Open Source Linear Bearing System

makerslide

While we normally don’t make it a habit to feature Kickstarter projects, we couldn’t pass this one up. [Barton Dring] from BuildLog.net is putting together a project called MakerSlide that we’re sure will interest many of you out there.

Through his various CNC builds, he has found that one of the more expensive and frustrating components to obtain is a linear bearing system. He notes that commercial systems are expensive, and while an occasional eBay bargain can be found, it’s not the ideal way of going about things. He also points out that homebrew systems usually work after some tuning and adjustments, but can be time consuming to build.

He is proposing a v-groove bearing system, complete with wheels made from Delrin, as a standardized replacement for all of the aforementioned solutions. He anticipates selling the rails for about 10 cents per centimeter, putting the average cost of a 4 foot system around $20.

As a bonus, he is offering up free MakerSlide materials to anyone that sends him a “new, innovative  or interesting open source design or basic idea that uses the material.” You would only have to pay shipping in order to get your new project off the ground.

Standardization is always good, and seeing this rail system go into production would definitely benefit the hacker community. Take a minute to check it out if you are so inclined.