Code Craft: Cross Compiling For The Raspberry Pi

Sometimes there’s just no place like your desktop. You’ve already got your favorite development tools and references setup or installed and it’s a pain when you’re trying to work on an unfamiliar, or simply uncustomized, system. On your desktop everything is at your fingertips. If you want to search the web, the browser is just an alt-tab away. If you need a calculator, it’s right there to run. Your editor highlights syntax in your favorite colors already.

When developing on a Raspberry Pi, you leave all these creature comforts behind unless you spend the time to configure the Pi to your liking. Then it all gets wiped when you install a new distribution, like the recent change from Wheezy to Jessie. Even then it’s frustrating to switch back and forth between the desktop and the Pi because there is always something on the other system that you need. My usual comment is, “dirty word”, literally.

Cross-developing on your desktop is a very workable solution. We’re going to walk through setting up your desktop and a Pi to do this. This means loading a Pi ARM toolchain on your desktop and a debugging server on the Pi. This’ll let you develop and debug from in the comfort of your desktop. An added advantage is when you put that Pi in a robot you can debug over a wireless link.

Continue reading “Code Craft: Cross Compiling For The Raspberry Pi”

Cramming A Pi Zero Into A USB Hub

We kinda feel bad posting all these awesome hacks you can do with a Raspberry Pi Zero when we know most of our audience here probably doesn’t have one due to the backlog of orders… but regardless — here’s another one you can try — if you have one anyway. A Raspberry Pi USB Hub!

In case you didn’t know, Amazon has a series of electronics accessories called Amazon Basics — and they’re actually pretty good quality accessories. One of them is a 7-port, 4A USB hub. Looking at this [gittenlucky] figured he might just have enough room to fit a Pi Zero inside… and as it turns out. He did.

Continue reading “Cramming A Pi Zero Into A USB Hub”

Turning A Lapdock Into A Laptop With The Pi Zero

Do you remember the Motorola Lapdock 100? It was a CPU-less laptop designed for plugging in your smartphone that enabled you to use your phone as a computer! Perhaps a bit ahead of its time, they never really caught on — but now you can buy them pretty cheap, and with the release of the Raspberry Pi Zero, it was only a matter of time before someone combined the two.

The Lapdock 100 has long been a useful accessory for the Raspberry Pi, but until the Zero came out, it was always a messy bundle of wires running to and from the devices, making it a less than ideal solution. The Zero changes everything. [Ax0n] knew he had to try combining the two.

Continue reading “Turning A Lapdock Into A Laptop With The Pi Zero”

Raspberry Pi Zero Cluster Packs A Punch

If you could actually buy 16 Raspberry Pi Zeros, you might be able to build your very own Raspberry Pi Cluster for only $80! Well… minus the cost of the board to tie them all together…

A Japanese company called Idein is developing a Raspberry Pi module called the Actbulb for computational sensing and data analysis. In order to perform internal testing they decided to make things easier for themselves by developing a board to allow them to plug in not one, not two, but sixteen Raspberry Pi Zeros:

Since we will use Pi’s GPU for image processing, deep learning, etc. We need real Pis but not just Linux machines. Another reason. It can be used for flashing eMMCs of our devices via USB ports when we have to do that by ourselves.

Continue reading “Raspberry Pi Zero Cluster Packs A Punch”

Cricket Scoreboard Is A Big Win For Novice Hackers

The game of cricket boggles most Americans in the same way our football perplexes the rest of the world. We won’t even pretend to understand what a “wicket” or an “over” is, but apparently it’s important enough to keep track of that so an English cricket club decided to build their own electronic scoreboard for their – pitch? Field? Help us out here.

This scoreboard build was undertaken by what team member [Ian] refers to as some “middle-aged blokes from Gloucestershire” with no previous electronics experience. That’s tough enough to deal with, but add to it virtually no budget, a huge physical size for the board, exposure to the elements, and a publicly visible project where failure would be embarrassingly obvious, and this was indeed an intimidating project to even consider. Yet despite the handicaps, they came up with a great rig, with a laser-cut acrylic cover for a professional look. A Raspberry Pi runs the LED segments and allows WiFi connections from a laptop or phone in the stands. They’ve even recently upgraded to solar power for the system.

And we’ll toot our own horn here, since this build was inspired at least in part by a Hackaday post. The builders have a long list of other links that inspired or instructed them, and we think that says something powerful about the hacker community that we’ve all been building – a group with no previous experience manages a major build with the guidance of seasoned hackers. That’s something to feel good about.

Pi Zero Recipe Kiosk

Why do you want to have a tiny $5 Linux system on a chip? Because you can cram it into a discarded LCD monitor and you’ve got a useful device. [zarderxio] did just that, satisfying the age-old dream of the kitchen computer with junk that was lying around in the basement.

There’s not much to this hack. The Raspberry Pi Zero needs a 5V power supply and the screen has 12V, so a step-down converter takes care of that. [zarderxio] hard-wires the monitor out of the Zero straight up to the monitor’s input jack, and hot-glues a USB hub to the outside of the monitor for a keyboard and mouse. (Because if there’s one thing we know, it’s that the Raspberry Pi Zero needs more USB ports: see exhibit A and exhibit B just for example.)

Now you’re all thinking, “USB keyboard and mouse?!?! I want a touchscreen!” Do you really? In the kitchen, with sticky fingers? Well, the screen in [zarderxio]’s junk box didn’t have a touchscreen, and this makes it more flexible, so we’re on the side of the quick hack done. Who knows, maybe he’ll hack yet another Raspberry Pi Zero into a smudge-proof recipe controller?

[via reddit.]