Virtually Free Rapsberry Pis

One of the nice things about the Raspberry Pi is that it runs Linux and you can do a lot of development right on the board. The converse of that is you can do a lot of development on a Linux desktop and then move things over to the Pi once you get the biggest bugs out. However, sometimes you really need to run code on the actual platform.

There is, however, an in-between solution that has the added benefit of upping your skills: emulate a Pi on your desktop. If you use Linux or Windows on your desktop, you can use QEMU to execute Raspberry Pi software virtually. This might be useful if you don’t have a Pi (or, at least, don’t have it with you). Or you just want to leverage your large computer to simplify development. Of course we would be delighted to see you build the Pi equivalent of the Tamagotchi Singularity but that’s a bit beyond the scope of this article.

Since I use Linux, I’m going to focus on that. If you insist on using Windows, you can find a ready-to-go project on Sourceforge. For the most part, you should find the process similar. The method I’ll talk about works on Kubuntu, but should also work on most other Debian-based systems, including Ubuntu.

Continue reading “Virtually Free Rapsberry Pis”

Raspberry Pi Zero Now With Camera Support, Still Only $5

The latest version (1.3) of everyone’s favorite $5 computer now sports a frequently requested feature: a camera connector. The Pi Zero will now use the same economical camera modules available for the full-sized Raspberry Pi units.

The price of the Pi Zero is unchanged at $5, but there is a small catch. While the Raspberry Pi camera modules themselves will work just fine on the Pi Zero, the usual camera cable they come with will not. The Pi Zero’s camera cable connector is a little smaller than the ones on the full-grown Pi, so it needs a special cable to interface the camera modules to the slightly smaller connector found on the Pi Zero.

This should be good news. The new connector has appeared because another production run is ramping up. Logic points to greater availability of the $5 wonder board, but we’re still not holding our breath.

Adafruit Pi Zero camera cable
Pi Zero with camera module connector cable. [Image source: Adafruit]
With the Pi Zero now able to use camera modules, perhaps camera-based Pi projects like these digital binoculars or time-lapse camera rigs can now get even smaller.

[via Engadget]

Raspberry Pis Sweeten A Library’s Bottom Line

Here’s a great real-world use case for the Pi—a small job for a small computer. [viking–] works in a public library. Like many public libraries, this one has catalog-only terminals that are separate from the computers you reserve to get your fix of cat videos and Bejeweled Blitz. The catalog computers needed to be upgraded, and [viking–] replaced them all with Raspis.

They’re all running Raspbian and boot directly into Chromium with a clean profile every time. The Pis are otherwise completely locked down and accessible only through SSH. A dedicated WiFi network and whitelisted web access help keep them secure. The Pis reboot after five minutes of inactivity which erases all login credentials and bookmarks.

These terminals are scattered throughout the library. Those closest to the front desk have their Pi in a VESA mount on the back of the monitor. The others are locked up in cabinets so they don’t get pinched by the patrons. Library budgets are lean enough already. [viking–] was able to get management sign-off for the project by building a single prototype to show the simplicity of the system and the projected cost savings. Thanks to a couple of cron jobs, the Pis shut the monitors down every night, saving hundreds of dollars per year.

VR Telepresence Tank From Raspberry Pi, Google Cardboard, And Xbox Controller

It’s great to see different kinds of hardware and software tossed into a project together, allowing someone to mix things that don’t normally go together into something new. [Freddy Kilo] did just that with a project he calls his VR Robot Tank. It’s a telepresence device that uses a wireless Xbox controller to drive a tracked platform, which is itself headed by a Raspberry Pi.

The Pi has two cameras on a pan-tilt mount, and those cameras are both aimed and viewed via a Google Cardboard-like setup. A healthy dose of free software glues it together, allowing things like video streaming (with U4VL) and steering via the wireless controller (with xboxdrv). A bit of fiddling was required for some parts – viewing the stereoscopic cameras for example is done by opening and positioning two video windows just right so as to see them through the headset lenses. It doesn’t warp the image to account for the lens distortion in the headset, and the wireless range might be limited, but the end result seems to work well enough.

The tank is driven with the wireless controller while a mobile phone mounted in a headset lets the user see through the cameras; motion sensing in the phone moves those cameras whenever you move your head to look around. Remote Control hobbyists will recognize the project as doing essentially the same job as FPV setups for model aircraft (for example, Drone Racing or even Snow Sleds) but this project uses a completely different hardware and software toolchain. It demonstrates the benefits of having access to open tools to use as virtual “duct tape”, letting people stick different things together to test a concept. It proves almost anything can be made to work if you have a willingness to fiddle!

Continue reading “VR Telepresence Tank From Raspberry Pi, Google Cardboard, And Xbox Controller”

Hackaday Prize Entry: Powering A Pi From A Battery

Knocking a microcontroller into sleep mode and waking it up on demand or in intervals is common practice in many low power applications, enabling devices to stay in operation for years on a single coin cell battery. Since there are tons of applications where you might want to do similar things with a Raspberry Pi, [Patrick Van Oosterwijck] created the LiFePO4wered/Pi. The module that snaps on to eight GPIO pins of a Pi, extending it by a long life LiFePO4 battery, a charging regulator, and a proper power management. Obviously, it also makes a great UPS.

lifepo_pcbs[Patrick] realized this project by expanding his already available and equally useful LiFePO4wered/USB charging regulator module by a low power MSP430G2131 microcontroller and a load switch. A daemon on the Raspberry Pi speaks to the module over I2C, allowing you to schedule a wake-up timer, let your Pi autoboot after a power outage or just read out the current battery voltage through a command line tool. Once the Pi is safely shut down, the microcontroller will also go to sleep, resulting in a standby current of 8 uA for the whole system. Together with the 500 mAh LiFePo4 cell, that’s theoretically low enough to send your Pi-ncess into a seven-year-long sleep.

LiFePO4wered/Pi is not only good for sleeping, though. [Patrick’s] runtime tests show, that the 500 mAh cell will power a Raspberry Pi Zero and a WiFi dongle for about two hours. Because the Raspberry Pi and many USB peripherals won’t complain when only 3.2 V are present on the VBUS, [Patrick] was able to squeeze out even more runtime by dismissing the boost converter from the design and driving the Pi directly from the battery voltage. If that worries you, you can either read a detailed explanation on why that works so well or just have a look at the more compliant 5 V version.

lifepo_time_laps_cameraEventually, [Patrick] used his module to create a Raspberry Pi time-lapse camera. A little script lets the Pi take a picture on boot up, set a wake-up timer and go back to sleep again. Safely enclosed in a waterproof electric box and deployed into the wild, the camera took 120 pictures on a single charge.

We’re sure the module will find it’s way into many cool projects and we’re counting the hours until we can get one in [Patrick’s] tindie store. Until then, enjoy the time-lapse video:

The HackadayPrize2016 is Sponsored by:

 

Rasberry Pi Zero Plays Every Simpsons Episode Ever At Random

If there’s a better use for Raspberry Pi Zero than a shuffler for episodes of “The Simpsons”, we haven’t heard about it.

Creator [Stephen Coyle] took inspiration from [Will Smith]’s mention of the burning need for such a device on the Tested podcast years back. The gadget is just a Zero with a familiar yellow button – hopefully it’s Pantone 116 C – that randomly selects an episode from the SD card. [Stephen] is clear on his opinion of over half of the program’s oeuvre, having found only seasons 2 through 10 worthy to load on the card. As an aside, we feel pretty old after seeing that all 593 episodes can easily fit on a 128GB SD card – we started out religiously recording every episode on VHS tapes, but had to stop after a few seasons when the collection got too big to handle.

If ripping episodes from DVDs isn’t your style, or you’re still into the first-run stuff, you might want to check out this confusingly named Smart Homer so you never miss an episode.

Continue reading “Rasberry Pi Zero Plays Every Simpsons Episode Ever At Random”

Raspberry Pi Balloon Goes Too High, Goes Boom, But Survives

Some people like to get high on a Wednesday afternoon. [Kevin Hubbard] of Black Mesa Labs likes to get really high. Even higher than intended: last month, he flew a helium balloon powered by a Raspberry Pi to 103,000 feet. It was only supposed to go to 90,000, but a fault in the code for the controller meant that it went higher, burst and plunged to the ground. All thanks to an extra hash mark in his code.

Continue reading “Raspberry Pi Balloon Goes Too High, Goes Boom, But Survives”