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.

Bus Pirate Commandeers I2C

The Bus Pirate is one of our favorite tool for quick-and-dirty debugging in the microcontroller world. Essentially it makes it easy to communicate with a wide variety of different chips via a serial terminal regardless of the type of bus that the microcontroller uses. Although it was intended as a time-saving prototyping device, there are a lot of real-world applications where a Bus Pirate can be employed full-time, as [Scott] shows us with his Bus Pirate data logger.

[Scott] needed to constantly measure temperature, and the parts he had on hand included an LM75A breakout board that has a temperature sensor on board. These boards communicate with I2C, so it was relatively straightforward to gather data from the serial terminal. From there, [Scott] uses a Python script to automate the process of gathering the data. The process he uses to set everything up using a Raspberry Pi is available on the project site, including the code that he used in the project.

[Scott] has already used this device for a variety of different projects around his house and it has already proven incredibly useful. If you don’t already have a Bus Pirate lying around there are a few other ways to gather temperature data, but if you have an extra one around or you were thinking about purchasing one, then [Scott]’s project is a great illustration of the versatility of this device.

Security camera detecting a human

Motion Detecting Camera Recognizes Humans Using The Cloud

[Mark West] and his wife had a problem, they’d been getting unwanted guests in their garden. Mark’s solution was to come up with a motion activated security camera system that emails him when a human moves in the garden. That’s right, only a human. And to make things more interesting from a technical standpoint, he does much of the processing in the cloud. He sends the cloud a photo with something moving in it, and he’s sent an email only if it has a human in it.

Continue reading “Motion Detecting Camera Recognizes Humans Using The Cloud”

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”