Turning The Raspberry Pi Into A MCU Programmer

Once you graduate beyond development boards like the Arduino or Wemos D1, you’ll find yourself in the market for a dedicated programmer. In most cases, your needs can be met with a cheap USB to serial adapter that’s not much bigger than a flash drive. The only downside is that you’ve got to manually wire it up to your microcontroller of choice.

Unless you’re [Roey Benamotz], that is. He’s recently created the LEan Mean Programming mAchine (LEMPA), an add-on board for the Raspberry Pi that includes all the sockets, jumpers, and indicator LEDs you need to successfully flash a whole suite of popular MCUs. What’s more, he’s written a Python tool that handles all the nuances of getting the firmware written out.

After you’ve configured the JSON file with the information about your hardware targets and firmware files, they can easily be called up again by providing a user-defined ID name. This might seem overkill if you’re just burning the occasional hex, but if you’re doing small scale production and need to flash dozens of chips, you’ll quickly appreciate a little automation in your process.

Of course, if you’re just trying to flash some code in a pinch, there are some more expedient options out there. We’re particularly fond of using a development board to program the bare MCU.

Continue reading “Turning The Raspberry Pi Into A MCU Programmer”

Incredible Soldering In The Name Of Hardware Support

If you’re developing a performant IP-KVM based on the Raspberry Pi, an HDMI capture device that plugs into the board’s CSI port would certainly be pretty high on your list of dream peripherals. Turns out such devices actually exist, and somewhat surprisingly, are being sold for reasonable prices. Unfortunately the documentation for the chipset they use is a bit lacking, which is a problem if you’re trying to wring as much performance out of them as possible.

As the creator of Pi-KVM, [Maxim Devaev] needed to truly understand how the Toshiba TC358743 chip used in these capture devices worked, so he decided to build his own version from scratch. In the name of expediency, he didn’t have a proper breakout board made and instead decided to hand-solder the tiny BGA chip directly to some parts bin finds. The resulting perfboard capture device is equal parts art and madness, but more importantly, actually works as expected even with 1080p video signals.

Ultimately, the lessons learned during this experiment will lead to a dedicated KVM board that will plug into the Pi’s expansion header and provide all the necessary hardware in one shot. As [Maxim] explains in the Pi-KVM docs, the move to the CSI connected Toshiba TC358743 cuts latency in half compared to using a USB capture device. That said, USB capture devices will remain fully supported for anyone who just needs a quick way to get things working.

This DIY capture card is a perfect example of how the skills demonstrated while working on a project can be just as impressive as the end result. [Maxim] didn’t set out to hand-solder a BGA HDMI capture chip, it was merely one step in the process towards creating something better. Those intermediary achievements are often lost in the rush to document the final project, so we’re always glad when folks take the time to share them.

[Thanks to Eric for the tip.]

YARH.IO Is The Hackable Pi Portable Of Our Dreams

Less than a decade ago, building a completely custom portable computer was more or less out of the question. Sure you could have cobbled something together with a Gumstix board and the dinky NTSC/PAL screen pulled from a portable DVD player, but it wouldn’t exactly have been a daily driver. But now we have cheap high definition LCD panels, desktop 3D printers, and of course, the Raspberry Pi.

We’ve seen these elements combined into bespoke personal computing devices too many times to count now, but very few of them can compare to the incredible YARH.IO. It’s been designed from the ground up for easy assembly and customization; you don’t have to worry about getting custom PCBs made or tracking down some piece of unobtanium hardware. Everything inside of the 3D printed enclosure is an off-the-shelf module, needing little more than the occasional scrap of protoboard to tie them all together.

YARH.IO in tablet mode.

One glance at the rugged design of the YARH.IO, and it’s clear this device wasn’t meant to live on a shelf. Whether it’s getting tossed around the workbench or thrown into a bag on the way to a hacker con, the militarized design of this portable is ready for action. Using appropriately strong materials such as PETG and ABS, we have no doubt the enclosure will survive whatever the on-the-go hacker can throw at it.

But what’s arguably the best feature of the YARH.IO also happens to be the least obvious: the modular design of the enclosure allows you to remove the lower keyboard section and use it as a battery powered Linux tablet (albeit a rather chunky one). Whether the keyboard is attached or not, you still have access to the Pi’s expansion header thanks to a clever pass-through.

Like with the Mil-Plastic that [Jay Doscher] released recently, we know these 3D printed kits will never be as strong as the real military gear they’re emulating. But let’s be realistic, none of us keyboard warriors will be taking them into an actual battlefield anytime soon. What’s more important is that their modular construction allows them to be easily modified for whatever the user’s needs might be. With as far as the state-of-the-art in DIY bespoke computing as come in the last decade, we can’t wait to see what the future holds.

A Cyclopic LCD Case For Your Raspberry Pi Server

If you’ve got a personal website that needs hosting or a few hundred gigabytes of files that could use a centralized storage location, the Raspberry Pi’s small size and extreme energy efficiency make it a compelling server choice compared to that curbside Pentium 4 box you’ve been trying to find a home for. All you need is something to put in.

Of course there’s no shortage of Pi case designs ready to be extruded from your 3D printer, but we recently found ourselves particularly taken with this unique one designed by [Ken Segler]. It’s not only small and sleek with a dash of futuristic flair, but it includes a front-mounted two inch 240 x 320 IPS display that connects to the Pi over SPI. At the minimum that gives you a way to see all those beautiful boot messages on startup, but with a little code, it could provide you with various system statics and status messages at a glance.

While the LCD is clearly the star of the show here, the case also has a few other nice features that make it worthy of your consideration. The magnetically attached fan filter on the the top, for one. The stacked layout that puts the Pi directly above the SSD also makes for a relatively compact final product.

One thing to note though is that [Ken] is using Power-over-Ethernet, meaning there’s no spot for a dedicated power jack on the case. It’s an easy enough feature to add into your own build, but naturally not everyone’s network is suitably equipped. In that case, beyond the normal annoyances of editing STL files, it shouldn’t be too much trouble to add one in without having to literally hack your way through the printed plastic.

The Hurricanes Are Coming

It’s hurricane season in the northern hemisphere right now, and plenty of news and weather organizations remain dedicated to alerting people if a storm is about to impact their area. There’s no shortage of ways to receive this information, either. We all have our favorite weather app or forecasting site, and there are emergency alerts to cell phones, TV, and radio stations as well. If none of that suits you, though, you can also roll out your own weather alert readerboard.

[Damaged Dolphin] built a weather alert readerboard using a Raspberry Pi and a 64×128 LED matrix. The Raspberry Pi runs Raspbian and uses a HAT from Adafruit, and once connected to the internet pulls down weather information for a specific area using custom python code. From there it can display any emergency weather alerts instantly on the readerboard screen including alerts for hurricanes. It does rely on data from the National Weather Service though, so if that is not available in your area some modifications will need to be made to the code.

While he notes that you probably shouldn’t rely on his non-professional python code exclusively when getting weather information, it would still be a good way of retrieving information about weather events without having to refresh a browser all the time. Once the storms have passed though, be sure you’re prepared for the days following.

Thanks to [b00tfa|l] for the tip!

Continue reading “The Hurricanes Are Coming”

Mil-Spec Looks Without Defense Department Budget

While hackers and makers have a tendency to focus on functionality above all else, that doesn’t mean there isn’t room for some visual flair. A device that works well and looks good will always be more impressive than the bare bones approach, but the extra time and money it usually takes to polish up the visual component of a build means it’s often overlooked. Which is exactly what [Jay Doscher] wanted to address with his Mil-Plastic project.

On the surface, the Mil-Plastic is yet another entry in the rapidly growing and often ill-defined world of cyberdecks: custom computing devices that forgo the standard laptop and desktop dichotomy and instead explore the road not taken by mainstream consumer electronics. To that end, it’s a solid build more than worthy of praise. But more than that, it’s also a lesson on how 3D printing and some clever design can create a truly impressive visual for little more than the cost of a spool of PLA.

The modular design allows parts to be printed in parallel.

The Mil-Plastic, as the name implies, looks like it was pulled from a Humvee or an Abrams tank. While the gorgeous olive green PETG filament that [Jay] has stumbled upon certainly helps, his eye for detail and design chops aren’t to be underestimated. He’s given the case a rugged and armored look that simply screams “Your Tax Dollars At Work”, complete with faux cooling fins running along the back and a generous application of low-profile stainless steel fasteners. We’ve taken a close look at the decadence of military engineering in the past, and the Mil-Plastic could hang with the best of them.

Most importantly, [Jay] has given us all the tools and information we need to recreate the look on our own terms. You don’t have to be in the market for yet another Raspberry Pi gadget to appreciate the Mil-Plastic; the design can serve as the backbone for whatever you happen to be building. The printed case not only looks impressive, but can easily be modified and expanded as needed.

[Jay] kicked off a minor revolution late last year with his Raspberry Pi Recovery Kit, and has continued to produce well-documented designs that illustrate the incredible power of desktop 3D printing. If you can look through his portfolio and not get inspired, you may want to speak with a doctor.

Tiny Raspberry Pi Mac Nails The Apple Aesthetic

We know that some in the audience will take issue with calling a Raspberry Pi in a 3D-printed case the “World’s Smallest iMac”, but you’ve got to admit, [Michael Pick] has certainly done a good job recreating the sleek look of the real hardware. While there might not be any Cupertino wizardry under all that PLA, it does have a properly themed user interface and the general aversion to external ports and wires that you’d expect to see on an Apple desktop machine.

The clean lines of this build are made possible in large part by the LCD itself. Designed specifically for the Raspberry Pi, it offers mounting stand-offs on the rear, integrated speakers, a dedicated 5 V power connection, and a FFC in place of the traditional HDMI cable. All that allows the Pi to sit neatly on the back of the panel without the normal assortment of awkward cables and adapters going in every direction. Even if you’re not in the market for a miniature Macintosh, you may want to keep this display in mind for your future Pi hacking needs.

Well, that’s one way to do it.

Despite this clean installation, the diminutive Raspberry Pi was still a bit too thick to fit inside the 3D-printed shell [Michael] designed. So he slimmed it down in a somewhat unconventional, but admittedly expedient, way. With a rotary tool and a steady hand, he simply cut the double stacked USB ports in half. With no need for Ethernet in this build, he bisected the RJ-45 connector as well. We expect some groans in the comments about this one, but it’s hard to argue that this isn’t a hack in both the literal and figurative sense.

We really appreciate the small details on this build, from the relocated USB connectors to the vent holes that double as access to the LCDs controls. [Michael] went all out, even going so far as to print a little insert for the iconic Macintosh logo on the front of the machine. Though given the impressive work he put into his miniature “gaming PC” a couple months back, it should come as no surprise; clearly this is a man who takes his tiny computers very seriously.

Continue reading “Tiny Raspberry Pi Mac Nails The Apple Aesthetic”