Raspberry Pi Inside

Raspberry Pi Technology
Raspberry Pi Inside

JBRV_1H2A4293jbr

In an expansive and noisy Oakland workshop, three collaborators create a new product: a hackable camera that users crank to take animated GIFs. More than 5,000 miles away in Sheffield, United Kingdom, a team of developers is working on a sleek new set-top media player based on open technology. In the Netherlands, a voice-controlled home automation project is becoming a product. All three of these groups are integrating Raspberry Pi’s new Compute Module into their products, a major leap forward in the accessibility of a powerful technology. With it, fledgling ideas can more easily become reality.

Until now, if you made a Raspberry Pi-based project and you wanted it to become a product, you faced a challenging leap — the chasm between project and product was wide. With more established hardware development platforms and less complex technologies, there’s typically a pathway for makers to “go pro.”

For example, Arduino is a gateway to programming Atmel’s AVR microchips, the silicon at the core of standard Arduino boards. The Arduino platform is popular because it does away with the complicated toolchain and simplifies the process of programming AVR chips. After learning Arduino, makers can advance to creating their projects with the AVR chips alone, essentially using the “brains” of the Arduino and excising any of the features they don’t need — like taking the training wheels off a bike. This leads to the use of Atmel’s chips in products that have their beginnings as maker projects.

The Raspberry Pi Foundation is betting that the same will be true for its inexpensive, single board Linux computer. While the main purpose of the foundation is to advance the education of adults and children in the field of computers, Raspberry Pi has dominated the hobbyist market for inexpensive Linux computers. Commonly found at the core of multimedia and internet-connected projects, the Pi has become the tool makers reach for when they need more power and features than a standard Arduino affords.

With the announcement of the Compute Module in April, the Raspberry Pi Foundation has given makers a platform to prototype and eventually integrate the technology into refined products, much like Arduino users have learned to do. According to the foundation’s announcement, they “want to free the core technology of the Raspberry Pi to go forth and become an integral part of new and exciting products and devices.” Within months of the announcement, crowdfunding campaigns were touting that their upcoming product would have Raspberry Pi inside.

To make this possible, the Raspberry Pi team first had to tackle the size issue. While the Raspberry Pi Model B is small, it’s still too bulky to be integrated into most products. Therefore, they squeezed the core components down onto a much smaller board, making it the same form as a standard DDR2 SODIMM memory module. Much like snapping a RAM module into a laptop’s motherboard, the Compute Module can be snapped into a custom-printed circuit board. It comes complete with a CPU, RAM, and onboard flash memory, the bare essentials for an embedded Linux device.

To help people get started, the foundation also sells a development kit, including a Compute Module and an I/O breakout board to handle power regulation and make the various I/O pins easily accessible. When you snap the Compute Module into the board, you essentially have a Raspberry Pi that’s suited for product development. Compared to a standard Raspberry Pi, it has more I/O pins as well as additional display and camera connectors.

The Compute Module opens the door to a much larger market. Instead of being useful solely in an academic or hobbyist setting, the Raspberry Pi becomes a practical option for embedded Linux products.

They’re certainly not the first to jump into embeddable “computer on modules.” Gumstix, from Redwood City, California, started shipping Linux-based modules a full decade ago. But Gumstix, along with most other companies that offer a similar product, aim squarely at commercial and industrial applications, not necessarily the maker-gone-pro demographic.

What also sets Raspberry Pi apart from other Linux modules is its user base: With more than 3 million Raspberry Pis in the wild, the community is much larger than that of any other Linux development board. With so many users hammering at new software updates, problems are quickly reported and the foundation has been aggressive about software development.

The large community also means that when someone develops with the Pi, they can leverage the abundance of tutorials, support, code examples, programs, and circuit diagrams that are free online.

For Next Thing Company from Oakland, California, the Compute Module couldn’t have been announced at a better time. They were using Raspberry Pi Model B to prototype a hackable GIF camera, OTTO. Before they heard the news, they debated whether to continue with the Model B.

“My feeling at the time was that it’s not a real product if it has a Raspberry Pi in it,” says Dave Rauchwerk, one of OTTO’s creators. “It’s something for makers only. It’s great, but it’s limited in scope, it’s a fun way to learn and experiment, but it won’t get you to that next step.”

But within 24 hours of the Compute Module announcement, Rauchwerk was on the phone with Eben Upton, creator of the Raspberry Pi.

“After I profusely thanked Eben for making the Raspberry Pi in the first place, I said, ‘So yeah, we’re making this camera and I really need that Compute Module,’” says Rauchwerk.

The Raspberry Pi team was delighted to see The Next Thing Company take the Compute Module and commit to using it so soon after the announcement. It was just the sort of creative project they wanted to see based on the Pi.

“Before, you had to have a big design department and lots of money to do this,” says James Adams, Raspberry Pi’s director of hardware. “What really excites me about the Compute Module is the fact that a few guys in a garage can actually do this now. That’s usually where all the interesting and inventive stuff comes from.”

“It’s exactly that kind of fun product that you can’t imagine getting through the product approval process at a conventional company,” adds Upton. “It’s a thing that has to be crowdfunded.”

The OTTO wasn't always so sleek; it went through several prototypes, like this clear one (at bottom), before adopting its present blue body (below). The latest, a folded cardboard version, is a software development kit — the core concept, after all, is for OTTO to be easily hacked.
The OTTO wasn’t always so sleek; it went through several prototypes, like this clear one (at bottom), before adopting its present blue body (below). The latest, a folded cardboard version, is a software development kit — the core concept, after all, is for OTTO to be easily hacked.

JBRV_1H2A4281

JBRV_1H2A4284

The team behind OTTO showed off an early prototype of the camera at Maker Faire Bay Area, claiming the title of creating the first-ever product to be powered by the Compute Module. The company achieved its crowdfunding goal of $60,000 in June and expects to ship the cameras to backers in December, but other groups using the Compute Module are hot on the trail.

Sheffield, United Kingdom-based FiveNinjas quickly exceeded the £90,000 ($150,000) Kickstarter goal for Slice, a set-top media player based on the Compute Module, which is also scheduled to ship to backers in December. Other than the onboard Raspberry Pi, what sets Slice apart from other media players is the internal hard drive — users can load it up with media to play even when they don’t have an internet connection.

FiveNinjas already has an advantage because Raspberry Pi’s hardware and soft-ware development leads, James Adams and Gordon Hollingworth, are on the team. But the Compute Module itself also benefits from this arrangement. Designing the module and also developing a product around it helps make it better.

Slice, a sleek, portable media player with internal memory, plays audio, displays photos, and even shows HD and 3D video.
Slice, a sleek, portable media player with internal memory, plays audio, displays photos, and even shows HD and 3D video.
Opened up, Slice reveals a 1 terabyte hard drive, a Raspberry Pi Compute Module, and a custom-designed.
Opened up, Slice reveals a 1 terabyte hard drive, a Raspberry Pi Compute Module, and a custom-designed.

“We’re certainly insiders with the Compute Module,” Adams says. “But it’s allowed us to see what the problems are with it when designing a product. We found stuff that we needed to fix with the software, which has been fed back into the Raspberry Pi software stack.”

And Upton was happy to allow Adams and Hollingworth to take on Slice as a side project. “They’re experiencing the pain of doing a Compute Module-based Kickstarter,” he says. “They’re sanding off some of the rough edges and you can see the software getting better so that the next person coming down the road has a slightly smoother experience.”

A company in Holland called Athom is benefitting from this tight feedback loop. Athom will soon release a crowdfunded Compute Module-based product called Homey, a voice-controlled home automation hub. It started as a personal project for Emile Nijssen. He was running the first version of Homey on a Windows computer three years ago, but moved it to a Raspberry Pi for portability. It was around the time that the Compute Module was announced that Nijssen was thinking of turning his personal project into a product.

“We had a few options,” he says. “One was to build and design our own board with a system-on-chip on it, but that wasn’t feasible in the time frame we had envisioned. The other was to make a shield for the Raspberry Pi or BeagleBone Black, but that’s expensive and not at all optimized for a product.”

Homey, a connected home base station, automates many of your devices through voice control.
Homey, a connected home base station, automates many of your devices through voice control.

It is exactly that gap that Upton hoped the Compute Module would fill. He sees it as a new stepping-stone toward manufacturing consumer electronics with an embedded Linux system-on-chip (SoC).

“Small businesses haven’t had the opportunity to build electronic devices that are competitive with what a large company can build,” he says. “We’ve gone from an era where you can buy 6502’s out of a bucket at a trade show to where everything relies on poorly documented and not generally available SoCs.”

Price is another major factor. It’s not typically cost effective to work with SoCs unless you’re producing in quantities of tens of thousands or higher. “Even if you’re smarter than your average consumer electronics company, you’ve got to be 10 times as smart as they are, because they’re paying one tenth of the price for components,” says Upton. The Raspberry Pi foundation has fixed the price of the Compute Module so that, whether you’re buying 100 or 10,000, it costs $30 per board.

The foundation’s strategy isn’t to lock developers into the Raspberry Pi platform, and it’s not expecting Compute Modules to be used in mass-produced consumer electronics products. Upton says it would be a success for Raspberry Pi if a product can graduate from the Compute Module and take the next step into using SoCs directly. “OTTO and Slice are two really good examples of the sort of thing that I want to see, which is people doing professional-quality consumer electronics at a price which is broadly competitive but at volumes that are accessible to a not particularly extravagant crowdfunding campaign.”

There’s a sense of excitement from the first product developers to use the Raspberry Pi Compute Module. All three of these products are doing something new and uncharted, and they’re eager to see what others will do with it.

“Building embedded hardware today is like building a web app in 1994,” says OTTO’s Rauchwerk. “You have to create all of the tools and all of the infrastructure to build the thing you want to make. We’re laying this groundwork for our own products and open sourcing it for others. What kind of things would people make if they didn’t have to do all the plumbing first?”

Even its creators are waiting to see what path the Compute Module will take.

“This is a step into the unknown for us. There’s a lot of enthusiasm, but I still don’t know if it’s going to work,” says Upton. “But there’s a tantalizing feeling that it could be bigger than Raspberry Pi. It’s exciting.”

0 thoughts on “Raspberry Pi Inside

  1. Kyle says:

    Why not consider manufacturing different versions of modules that use the Broadcom chip? Consider the Propeller and The Teensy boards, which effectively break out the smaller, more powerful chips to a DIP form factor.

    Arduino is slightly different than the Broadcom chip because the supporting circutry is minimal, and there are many different form factors to chose from (DIP, SOIC, QFP, etc)

    The SODIMM connector is only ideal if Broadcom chip actually has that many GPIOs, and the application will make use of them. You also have to have the resources to print and assemble the board with the SO-DIMM socket. Someone that can afford those resources would be able to whip up a circuit to support the Broadcom chip directly.

    1. AlDante says:

      The module uses 90% of the 200 pins on a SODIMM, half of the pins being GPIO and shielding for the GPIO.

      There are many PCB manufacturers who will print, and, if need be, assemble boards at low volume. Having the SOC on a separate board allows designers to stick with cheaper PCB shops, avoiding the expense and trouble of having to manufacture a six layer PCB from the get-go. Should the product prove successful, the Compute Module provides a blueprint for an integrated board design for volume manufacture.

      I see Arduino and the Raspberry PI platforms as complementary rather than competing. The Raspberry PI provides a platform for products with a heavy software element, in particular products with a web interface. Arduino on the other hand is better suited for timing-critical low-level applications.

  2. Josh Allsop says:

    Hi guys, I have just started out with the Pi and found this book very interesting/helpful it details a project just like this one http://amzn.to/1zJaBnN

Discuss this article with the rest of the community on our Discord server!
Tagged

Matt Richardson is a San Francisco-based creative technologist and Contributing Editor at MAKE. He’s the co-author of Getting Started with Raspberry Pi and the author of Getting Started with BeagleBone.

View more articles by Matt Richardson

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK