UAV Flight Controller Saves Weight

When building autonomous airborne vehicles like drones or UAVs, saving a little bit of weight goes a long way, literally. Every gram saved means less energy needed to keep the aircraft aloft and ultimately more time in the air, but unmanned vehicles often need to compromise some on weight in order to carry increased computing abilities. Thankfully this one carries a dizzying quantity of computer power for an absolute minimum of weight, and has some clever design considerations to improve its performance as well.

The advantage of this board compared to other similar offerings is that it is built to host a Raspberry Pi Compute Module 4, while the rest of the flight controllers are separated out onto a single circuit board. This means that the Pi is completely sandboxed from the flight control code, freeing up computing power on the Pi and allowing it to run a UAV-specific OS like OpenHD or RubyFPV. These have a number of valuable tools available for unmanned flight, such as setting up a long range telemetry and camera links. The system itself supports dual HD camera input as well as additional support for other USB devices, and also includes an electronic speed controller mezzanine which has support for quadcopters and fixed wing crafts.

Separating non-critical tasks like cameras and telemetry from the more important flight controls has a number of benefits as well, including improved reliability and simpler software and program design. And with a weight of only 30 grams, it won’t take too much cargo space on most UAVs. While the flight computer is fairly capable of controlling various autonomous aircraft, whether it’s a multi-rotor like a quadcopter or a fixed wing device, you might need a little more computing power if you want to build something more complicated.

Handheld PC Looks Great

[Bytewelder] fondly remembers the Palm III and Sharp HC-4500, so taking on the design of Decktility, a custom handheld cyberdeck , was a natural next step. The blog post goes into much detail about the design decisions and challenges throughout the project. The end result, though, looks great.

The device uses a Raspberry Pi CM4 and an IPS touchscreen. The bulk of the design work was to get the power system working. There is a custom FET board and an Arduino that manages charging and battery state.

Continue reading “Handheld PC Looks Great”

ChatGPT Rules The World… Or, At Least, The Home

With all the hype about ChatGPT, it has to have crossed your mind: how can I make it control devices? On the utopia side, you could say, “Hey, ChatGPT, figure out what hours I’m usually home and set the thermostat higher when I am away.” On the dysfunctional side, the AI could lock you in your home and torment you like some horror movie. We aren’t to either extreme yet, but [Chris] couldn’t resist writing a ChatGPT plugin to control a Raspberry Pi. You can see a video of how it turned out below.

According to [Chris], writing a ChatGPT plugin is actually much simpler than you think. You can see in the video the AI can intuit what lights to turn on and off based on your activity, and, of course, many more things are possible. It can even detect snoring.

Continue reading “ChatGPT Rules The World… Or, At Least, The Home”

Hackaday Prize 2023: The NEOKlacker Pocket Computer

Science fiction always promised us pocket computers. These days, we’re spoiled for choice. [Spider Jerusalem] eschewed a simple smartphone or tablet, though, instead building a custom pocket computer of their own design. 

Like so many other DIY cyberdecks and handheld computers, this one relies on a Raspberry Pi. In this case, it’s built using a Pi 4 with 8GB of RAM, which offers a snappy experience that wasn’t available on the earliest boards. [Spider] paired it with a nifty 720×720 LCD screen and a full QWERTY button pad, wrapped up in a tidy 3D-printed case. Like any good pocket computer, it’s well-connected, thanks to a 4G LTE cellular data connection.

It might seem to be a build without a purpose in this era, but that’s not necessarily the case. When it comes to running barebones Linux utilities at a real command line, a Raspberry Pi offers some utility that the average smartphone doesn’t have out of the box. It’s a useful tool if you need to interface with a server on the go or do some low-level network diagnostics without carrying a whole laptop around. Video after the break.

Continue reading “Hackaday Prize 2023: The NEOKlacker Pocket Computer”

Tiny Bitcoin Miner Plays The Lottery

Usually when we think of Bitcoin miners, we imagine huge facilities of server racks doing nothing but essentially wasting energy, all for the chance that one of those computers amongst the rows will stumble upon the correct set of numbers to get rewarded with imaginary money. The idea being that the more computers, the more chances to win. But just buying one lottery ticket is the only thing technically required to win, at least in theory. And [Data Slayer] is putting this theory to the test with this Bitcoin miner built around a single Raspberry Pi.

This tiny Raspberry Pi Zero does get a little bit of support from an Ant Miner, a USB peripheral which is optimized to run the SHA256 hashing algorithm and solve the complex mathematical operations needed to “win” the round of Bitcoin mining. Typically a large number of these would be arrayed together to provide more chances at winning (or “earning”, to use the term generously) Bitcoin but there’s no reason other than extreme statistical improbability that a single one can’t work on its own. The only other thing needed to get this setup working is to give the Pi all of the configuration information it needs such as wallet information and pool information.

This type of miner isn’t novel by any means, and in fact it’s a style of mining cryptocurrency called “lottery mining” where contributing to a pool is omitted in favor of attempting to solve the entire block by pure random chance alone in the hopes that if it’s solved, the entire reward will be claimed by that device alone. In the case of this device, the current hash rate calculated when it was contributing to a pool means that when lottery mining, it has about a one-in-two-billion chance of winning. That’s essentially zero, which is basically the same chance of winning a lottery that pays out actual usable currency.

Continue reading “Tiny Bitcoin Miner Plays The Lottery”

A Non-Destructive Digital Back For A Classic Leica

As digital photography has become so good, perhaps just too good, at capturing near-perfect pictures, some photographers have ventured back into the world of film. There they have found the imperfections requiring technical skill to cope with that they desire, but they’ve also come face-to-face with the very high cost and sometimes sketchy availability of film stocks. From this has come the so-called post-digital movement which marries analog cameras and lenses with digital sensors, and of this a particularly nice example comes from [

Perhaps the best thing about this conversion, and something which should propagate forward into other builds, is the way it does not hack or modify the original camera beyond the replacement of the already-removable back. A vintage Leica is a pricey item, so it would be a foolhardy hacker who would proceed to gut it for a digital conversion. Instead he’s mounted everything that makes a digital camera, the sensor, Pi Zero, and screen board, behind the camera body. The Pi shutter trigger comes from the Leica’s flash terminal, meaning that there’s plenty of time for it to take a photo while the shutter is open.

He’s admirably preserved the usage and properties of the Leica, and his photographs as can be seen in the video below the break bear testament to what is possible with the camera. He still has to work with the tiny sensor size though, meaning that all photographs are at a much higher zoom level than on the original. We would love to see a camera conversion like this one that incorporates appropriate lenses to bring the picture to focus on this small sensor.

We won’t own a Leica any time soon, but we like this conversion. It’s by far the most sympathetic, but it’s not the first rangefinder conversion we’ve seen.

Continue reading “A Non-Destructive Digital Back For A Classic Leica”

A Dedicated GPU For Your Favorite SBC

The Raspberry Pi is famous for its low cost, versatile and open Linux environment, and plentiful I/O, making it a perfect device not only for its originally-intended educational purposes but for basically every hobbyist from gardeners to roboticists to amateur radio operators. Most builds tend to make use of the GPIO pins which allow easy connections to various peripherals and sensors, but the Pi also supports PCI devices which means that, in theory, it could use a GPU in much the same way that a modern computer would. After plenty of testing and development, [Jeff Geerling] brings us this custom graphics card interface for the Raspberry Pi.

The testing for all of these graphics cards has been done with a Pi Compute Module 4 and the end result is an interface device which looks much like a graphics card itself. It splits the PCI bus out onto a more familiar x16 slot connector and adds physical connections for power, USB, and Ethernet. When plugged into the carrier board, the Compute Module can be attached to any of a number of graphics cards, including the latest and highest-end of Nvidia and AMD offerings.

Perhaps unsurprisingly, though, the 4090 and 7900 cards don’t work with the Raspberry Pi. This is partially due to the 32-bit limitations of the Pi and other memory mapping issues, but even after attempting some workarounds Nvidia’s cards aren’t open-source enough to test properly (although the card is recognized by the Pi) and AMD’s drivers crash the system even after compiling a custom kernel. [Jeff] did find an Nvidia card that worked, although it requires using the USB interface and second-hand cards are selling for around $3000 USD. For a more economical choice there are some other graphics cards that he was eventually able to get working, albeit not with perfect performance, including some of the ones we’ve seen him test already.

Continue reading “A Dedicated GPU For Your Favorite SBC”