Giving Linux The Remote Boot

A lot of embedded systems are running Linux on platforms like Raspberry Pi. Since Linux is fully functional from a command line and fully network-capable, it is possible to run servers that you’ve never had physical access to.

There are a few problems, though. Sometimes you really need to reboot the box physically. You also need to be at the console to do things like totally install a new operating system. Or do you? Over on GitHub, user [marcan] has a C program and a shell script that allows you to take over a running system without using any software on the root filesystem. It starts an ssh server and you can remotely unmount the main drive, do any maintenance you want and –presumably–reboot into a new operating system.

Continue reading “Giving Linux The Remote Boot”

Raspberry Pi Laptop Uses The Official Touchscreen

We’ve seen a variety of home-made laptops using the Raspberry Pi and other single board computers over the years. Usually, they combine off-the-shelf USB keyboards and trackpads with HDMI monitor panels, and cases made from layered laser cut sheet, or 3D printed plastic.

[Surferboy]’s Raspberry Pi laptop is the latest effort to come before us, and its claim to fame is the use of the official Raspberry Pi 7″ touchscreen as a display. Full instructions and 3D printer files are available on Thingiverse so you can have a go at replicating it if a portable Pi is your thing.

He’s taken the bold step of not attempting to place all the Pi’s interfaces next to the outside of the case. Instead, he’s desoldered the Ethernet and USB ports. The USB connections were wired directly to the keyboard, display, and a couple of external ports on the right-hand side of his case. This leaves the finished laptop with no Ethernet. However, losing ethernet is a worthy tradeoff for the thinner package.

[Surferboy] also brought the GPIO header to a female socket on the rear of the unit. It’s unclear exactly what battery he uses except for a reference to the battery from his keyboard. Since a keyboard battery will be too small for Pi and display we are guessing a larger pack will be necessary.

Though the Ethernet port and battery issue would probably be a dealbreaker here this has the makings of a useful and compact laptop, it will be interesting to see if it is picked up and refined by the community.

Quite a few early Pi laptops used the Motorola Lapdock, a mobile-phone-into-netbook peripheral. Some others we’ve featured have been a bit chunky, but sometimes they can be objects of beauty.

Via Recantha.co.uk.

LoRaWAN And Raspberry Pi Compute Module For A Remote Display

We see a lot of Raspberry Pi projects on these pages featuring all variants of the little board from Cambridge, but with one notable exception. Surprisingly few of them have featured its industrial embedded cousin, the Raspberry Pi Compute Module. The Pi-on-a-SODIMM form factor is a neat idea, but we are guessing that the high price of the development board relative to that of a Model B or a Pi Zero has pushed most people in our community towards the latter choice.

[Andrew Back] has put up a straightforward demonstration project on the RS DesignSpark site that provides an introduction to the Compute Module 3, using it to run a remotely operated display. In addition it uses an RN2483 LoRaWan radio module and The Things Network for communication, which makes it worth a look even if the Compute Module wasn’t of interest. Continue reading “LoRaWAN And Raspberry Pi Compute Module For A Remote Display”

Adding IceZero To The Raspberry Pi

[Kevinhub] noticed there were quite a few FPGA hats for the Raspberry Pi. Instead going out and buying one of these boards like a filthy commoner, he decided to spin up his own FPGA Pi accessory. This IceZero FPGA board combines the best features from other FPiGA boards, and does it in a form factor that fits right on top of the minuscule Pi Zero.

If you think slapping a Lattice FPGA onto a Pi has been done before, you’re right. Here’s a hat for the Pi using an iCE5LP4K-SG48, an FPGA with 3520 LUTs. The CAT Board from Xess has a slightly bigger FPGA with 7680 logic cells, and the FleaOhm has a monster FPGA on board that costs about $70 USD.

[Kevin]’s IceZero is at the lower end of these Raspberry Pi FPGA hats, using a Lattice ICE40HX4K. That’s only 3520 logic cells, but it only costs about $7 USD in quantity one. The board design is a standard two layer board that shouldn’t be too terrible for hand soldering. The boards are shared on OSH Park, should you want to test this little guy out.

This Pi Hat is specifically designed to be used with Project IceStorm, the Open toolchain for Lattice’s iCE40 FPGAs. That means there’s already a few projects out in the wild that can be easily ported to this platform, and already [Kevin] has a logic SUMP example going on his board.

Open Your Garage Door With Your Smartphone

The eternal enemy of [James Puderer]’s pockets is anything that isn’t his smartphone. When the apartment building he resides in added a garage door, the forces of evil gained another ally in the form of a garage door opener. So, he dealt with the insult by rigging up a Raspberry Pi to act as a relay between the opener and his phone.

The crux of the setup is Firebase Cloud Messaging (FCM) — a Google service that allows messages to be sent to devices that generally have dynamic IP addresses, as well as the capacity to send messages upstream, in this case from [Puderer]’s cell phone to his Raspberry Pi. After whipping up an app — functionally a button widget — that sends the command to open the door over FCM, he set up the Pi in a storage locker near the garage door and was able to fish a cable with both ethernet and power to it. A script running on the Pi triggers the garage door opener when it receives the FCM message and — presto — open sesame.

Continue reading “Open Your Garage Door With Your Smartphone”

Raspberry Pi SDR

[Chris D] noticed that the excellent software defined radio (SDR) software gqrx will run on the Raspberry Pi now. So he married a Raspberry Pi 3, a touchscreen, an RTL-SDR dongle, and an upconverter to make a very nice receiver setup. You can see the receiver in action below.

The video is a little light on build details, but there is a shot of the setup with the pieces labeled, and you should be able to figure it out from there. Of course, gqrx works with lots of different SDR devices so you might have to make adjustments depending on what you use (for example, many of the supported dongles won’t need the upconverter that [Chris] uses).

Continue reading “Raspberry Pi SDR”

Build Your Own P-Brain

I don’t think we’ll call virtual assistants done until we can say, “Make me a sandwich” (without adding “sudo”) and have a sandwich made and delivered to us while sitting in front of our televisions. However, they are not completely without use as they are currently – they can let you know the time, weather and traffic, schedule or remind you of meetings and they can also be used to order things from Amazon. [Pat AI] was interested in building an open source, extensible, virtual assistant, so he built P-Brain.

Think of P-Brain as the base for a more complex virtual assistant. It is designed from the beginning to have more skills added on in order to grow its complexity, the number of things it can do. P-Brain is written in Node.js and using a Node package called Natural, P-Brain parses your request and matches it to a ‘skill.’ At the moment, P-Brain can get the time, date and weather, it can get facts from the internet, find and play music and can flip a virtual coin for you. Currently, P-Brain only runs in Chrome, but [Pat AI] has plans to remove that as a dependency. After the break, [Pat AI] goes into some detail about P-Brain and shows off its capabilities. In an upcoming video, [Pat AI]’s going to go over more details about how to add new skills. Continue reading “Build Your Own P-Brain”