Raspberry Pi Learns Slow Morse Code

It wasn’t long ago that you needed to know Morse code to be a ham radio operator. That requirement has gone in most places, but code is still useful and many hams use it, especially hams that like to hack. Now, hams are using the Raspberry Pi to receive highly readable Morse code using very low power. The software is QrssPiG and it can process audio or use a cheap SDR dongle.

There are a few reasons code performs better than voice and many other modes. First, building transmitters for Morse is very simple. In addition, Morse code is highly readable, even under poor conditions. This is partly because it is extremely narrow bandwidth and partly because your brain is an amazing signal processor.

Like most communication methods, the slower you go the easier it is to get a signal through. In ham radio parlance, QRS means “send slower”, so QRSS has come to mean mean “send very slowly”. So hams are using very slow code, and listening for it using computerized methods. Because the data rate is so slow, the computer has time to do extreme methods to recover the signal — essentially, it can employ an extremely narrow filter. Having a QRSS signal detected around the world from a transmitter running much less than a watt is quite common. You can see a video introduction to the mode from [K6BFA] and [KI4WKZ], below.

Continue reading “Raspberry Pi Learns Slow Morse Code”

The VAIO WIth A Pi Inside

Raspberry Pi laptops are not an uncommon sight, as many hardware enthusiasts have shoehorned the tiny board behind LCD panels into home-made cases.

[Frank Adams] has created one of the best Pi laptops we’ve ever seen, (for which we suggest you skip straight to the PDF). He’s removed the guts from an aged Sony VAIO laptop and replaced it with the fruity computer, alongside a Teensy to handle VAIO keyboard, buttons, and LED I/O via the Pi USB port. An M.NT68676 video board interfaces the VAIO display to the Pi HDMI, and a USB to SATA cable is connected to a 240Gb solid state hard drive. The laptop’s Wi-Fi antenna is routed to the Pi via a soldered on co-axial connector, and there is also a real-time clock board. There are a few rough edges such as a USB cable that could be brought inboard, but it’s otherwise well-integrated into the case. His write-up is a very comprehensive PDF, that should serve as a good primer to anyone else considering such a laptop conversion.

The result is a laptop that looks for all the world like a commercially produced machine, yet that is also a Raspberry Pi. In a strange way, a Sony laptop is an apt homecoming for the board from Cambridge, because other than red soldermask or very early Chinese-made models, all Raspberry Pi boards are made in a Sony factory in Wales. Whatever the donor laptop though, this is definitely a step above the run-of-the-mill Pi laptops. To see its competition, take a look at this very ugly machine with a bare LCD panel, or this laser-cut sandwich laptop.

I See Rain In Your Future

Who wouldn’t like to have a crystal ball? Unfortunately, our computers aren’t very good at predicting the future. However they do occasionally get the weather correct, so [Jenny Hanell] built a crystal ball to show the weather forecast. She calls it “Sphaera” and you can see a video of it in operation below.

The user interface is entertaining, and relies on 5 photoresistors. The Raspberry Pi inside detects when you cover one of them up, and interprets that as a command. A piece of plastic allows for projection inside the sphere from an LCD display. [Jenny] calls that a hologram although technically it isn’t a true hologram, of course.

Continue reading “I See Rain In Your Future”

Cat Feeder Has Steampunk Flair And A GMail Account

While it is often said that “necessity is the mother of invention”, we can’t say that’s always been our experience here at Hackaday. You won’t need to search too long before you find a project or hack on this site that definitely falls out of the realm of strict necessity. But that’s part of the fun, there’s a reason this site isn’t called AppropriateUseOfTime.com

But when [Sam Storino] couldn’t seem to stop his cats from howling for their supper at 3:00 AM, he had the perfect opportunity to fulfill that age-old wisdom. Not only did he manage to turn a trip to the plumbing isle of his local home improvement store into a very Steampunk-looking automatic cat feeder, but he also found the time to write up an exceptionally detailed series of blog posts on what he learned during the process.

The heart of the machine is everyone’s favorite Linux board, the Raspberry Pi. You might be thinking the Pi is overkill for a simple timer, and you’d be right. Rather than just dump the food out on a set schedule, [Sam] decided to get a little fancy and come up with some Python scripts that will monitor a GMail inbox and activate the feeder hardware when it receives an email with the title “feed cats”. He then uses IFTTT to send the appropriately named email to the GMail account of his cat feeder on a specific schedule. Hey, nobody said necessity was the mother of straightforward invention.

In the final post of the series, [Sam] goes over the hardware side of the device. Copper pipe makes up the frame, which holds a commercial off-the-shelf dry food dispenser. The feeder was designed for manual operation, but by attaching a continuous rotation servo [Sam] can spin it up and dump a pre-measured amount of food via the Pi’s GPIO pins. The addition of some PVC pipe and fittings takes the food and (at least in theory) divides it equally between the two cat bowls below.

If you think [Sam] may have put a bit more thought than was necessary into something as simple as feeding his pets, keep in mind that he’s in exceptionally good company. Paging through the archives, it seems the intersection of felines and hackers is littered with gloriously complex contraptions.

Weatherproof Pi Looks Up So You Don’t Have To

Skywatching is a fascinating hobby, but does have the rather large drawback of needing to be outside staring at the sky for extended periods of time. Then there’s the weather to contend with, even if you’ve got yourself a nice blanket and it isn’t miserably cold, there might be nothing to see if cloud cover or light pollution is blocking your view.

Highly scientific testing procedure.

To address these issues, [Jason Bowling] decided to put a Raspberry Pi in a weatherproof enclosure and use it as a low-cost sky monitoring device. His setup uses the No-IR camera coupled with a cheap wide-angle lens designed for use with smartphone camera. The whole setup is protected from the elements by a clear acrylic dome intended for a security camera, and a generous helping of gasket material. Some experiments convinced [Jason] to add a light pollution filter to the mix, which helped improve image contrast in his less than ideal viewing area.

The software side is fairly straightforward: 10 second exposures are taken all night long, which can then be stitched together with ffmpeg into a timelapse video. [Jason] was concerned that the constant writing of images to the Pi’s SD card would cause a premature failure, so he set it up to write to a server in the house over SSHFS. Adding a USB flash drive would have accomplished the same thing, but as he wanted to do the image processing on a more powerful machine anyway this saved the trouble of having to retrieve the storage device every morning.

This isn’t the first time [Jason] has used a Pi to peer up into the heavens, and while his previous attempts might not be up to par with commercial offerings, they definitely are very impressive considering the cost of the hardware.

Continue reading “Weatherproof Pi Looks Up So You Don’t Have To”

Twin Pis For Remote Computer Management

Sometimes you have a whole bunch of computers that you need to work with, and having a keyboard, monitor, and mouse for each one becomes too much to deal with. There are a multitude of solutions to this problem, but [Fmstrat] went the hacker route, and built their own.

The build is a rather unique way of controlling PCs remotely, but it does the job. A Raspberry Pi 3 is pressed into service as the core of the operation. It’s accessible over IP for remote control. Video is captured from the controlled machines through the combination of an HDMI-to-S-Video adapter and an analog video capture card plugged into the Pi. Keystrokes are sent in a roundabout way, first sent to a Pi Zero over a USB-to-Serial adapter. From there, the Pi acts as an emulated mouse and keyboard to the PC under control.

One caveat of remotely controlling computers over a network is that if things go pearshaped, it can become necessary to power cycle the machine. [Fmstrat] deals with this by fitting a relay board to the Pi 3, which is connected to the reset buttons of the machines under control.

It may not be the quickest, easiest, or industry standard way of controlling remote computers, but it works. [Fmstrat] tells us this build was primarily designed to get around the fact that there aren’t any decent cheap IP-KVM systems, and consumer motherboards don’t support the IPMI standard that would otherwise be useful here.

We particularly like the hard-wired relays for rebooting a machine – great for when a network dropout is stopping Wake-on-LAN packets from achieving their goal. While the conversion of HDMI outputs into analog video for capture is unusual and somewhat costly on a per-machine basis, it’s functional and gives the system the ability to work with any machine capable of outputting a basic analog video signal. With the Pi Zero keyboard emulation and analog video capture, we could see this being used with everything from modern computers to vintage 80s hardware. If you’ve ever needed to control an Amiga 2000 remotely for whatever reason, this could be the way to do it.

We’ve seen plenty of other KVM builds over the years, too – like this low-cost HDMI switcher.

DIY Multi-Touch All The Surfaces

Ever wanted to build a touch table or other touch-input project, but got stuck figuring out the ‘touch’ part? [Jean Perardel] has your back with his multi-touch frame over on IO that makes any surface touch-reactive. In [Jean]’s case, that surface is ultimately a TV inside of a table.

Of course, it’s a bit of a misnomer to say the surface itself becomes touch-reactive. What’s really happening here is that [Jean] is using light triangulation to detect shadows and determine the coordinates of the shadow-casting object. Many barcode scanners and consumer-level document scanners use a contact image sensor (CIS) to detect objects in the path of IR LEDs. These are a low-power, lower-resolution alternative to the CCDs found in high-grade scanners.

As [Jean] explains in the video below, an object placed in the path of a single IR LED facing a sensor array of either type will block the light from reaching the sensors. Keep adding LEDs and their emission angles will begin to overlap, increasing the detection precision. [Jean] reverse engineered a couple of different types of scanners until he found a suitable one. He ended up with CIS that has 2700 light sensors lined up in the space of 20cm (7.87″).

[Jean] designed a 3D-printable frame to hold 96 IR LEDs in stacks of three. A Teensy turns on the LEDs, detects the touch event, calculates the position, and sends those coordinates to a Pi to be displayed on the screen. He eventually went wireless and then built a nice looking touch table to house a 32″ TV.

This is not the only way to build a multi-touch table, nor is it the simplest. Here’s one that uses finger presses to scatter light and an industrial strength projection-based table that was open-sourced a few years ago.

Continue reading “DIY Multi-Touch All The Surfaces”