Raspberry Pi 4 Benchmarks: 32- Vs 64-bits

[Matteo] bought a new Raspberry Pi 4. Why not? You get a quad-core ARM processor, up to 4 GB of RAM, and a gigabit Ethernet port for $35 $35-55. However, the default operating system is still a 32-bit system and doesn’t take advantage of the Pi 4’s 64-bit capable CPU. So he installed a light version of 64-bit Debian and ran some benchmarks for the Raspberry Pi 4 running both 32-bit and 64-bit operating systems.

It really shouldn’t be surprising that the 64-bit OS did better in nearly every test. If anything is surprising, it may be that the difference is so pronounced. Some of the benchmarks, like Dhrystones, probably don’t relate much to real-life usage. But some things, like computing a hash, is something you probably do pretty often in normal usage, and the timing difference is pronounced.

Continue reading “Raspberry Pi 4 Benchmarks: 32- Vs 64-bits”

CNC Etch-A-Sketch: Stop Motion Is Logical Next Step

It happens to everyone. You get your hands on an Etch-A-Sketch for the first time, and armed with the knowledge of how it works, you’re sure you can draw things other than rectangles and staircases. And then you find out the awful truth: you are not as precise as you think you are, and if you’re [QuintBUILDS], the circles you try to draw look like lemons, potatoes, or microbes.

Okay, yes, this definitely isn’t the first CNC-ified Etch-A-Sketch we’ve seen, but it just might be the coolest one. It’s certainly the most kid-friendly, anyway.

Most importantly, you can still pick it up and shake it to clear the screen, a feature sorely lacking in many of the auto-sketchers we scratch about. And if you’re not fully satisfied by this hack, be sure to check out the stop-motion video after the break that turns this baby into a touch-screen video player for Flatlanders.

Turn it over and you’ll find a Raspberry Pi 3 and a CNC hat. The knobs are belt-driven from a pair of NEMA-17 size stepper motors that interface to the knobs with tight-fitting pulleys. Power comes from four 18650s, and is metered by a battery management board that provides both overcharge and drain protection. At some point in the future, [QuintBUILDS] plans to move to a battery pack, because the cell holder is electrically unstable.

We love the welded frame and acrylic enclosure because they make the thing sturdy and portable. Also, we’re suckers for see-through enclosures. They’re clearly superior if you want to do what [QuintBUILDS] did and take it to an elementary school science fair to show the kids just how cool science can be if you stick with it.

If you don’t think motorized Etch-A-Sketches can be useful, maybe you just haven’t seen this clock build yet.

Continue reading “CNC Etch-A-Sketch: Stop Motion Is Logical Next Step”

Keeping A 3D Printed NAS Updated With The Times

Back in 2018, [Paul-Louis Ageneau] created a 3D printed network-attached storage (NAS) enclosure for his Raspberry Pi. The design worked well, the Internet liked it when he posted the details on his blog, and all was right with the world. But of course, such glories are fleeting. Two years later that design needs updating, and thanks to the parametric nature of OpenSCAD, he’s been able to refresh his design for another tour of duty.

In our book, this is as much a cautionary tale as it is a success story. On one hand, it’s a testament to the power of CAD and desktop 3D printing. That a design can be tweaked and reproduced down the line with only minimal hassle is great for folks like us. But it’s also a shame that he didn’t get more than two years before some of the parts he used in the original NAS became unobtainium.

The main issue was that the integrated USB hub he used for the first version is no longer available, so the design had to be modified to accept a similar board. Unfortunately, the new hub is quite a bit wider than the old one. Resizing the entire case isn’t really an option since the Pi has to slide into it, so the hub now bumps out a bit on one side. He’s added a printable cover that cleans it up a bit, but the asymmetrical look might be a problem for some. While fiddling with the design, he also changed around the cooling setup so a larger fan could be mounted; now that the Raspberry Pi 4 is out, it can use all the cooling help it can get.

We covered the original version of the printed NAS back when it was first released, and it’s always good to see a creator coming back and keeping a project updated; even if it’s because hardware availability forced their hand.

A Raspberry Pi Terminal That’s Always Within Reach

Inspired by films such asĀ The Matrix, where hackers are surrounded by displays and keyboards on articulated arms, [Jay Doscher] created this cyberpunk “floating” terminal so your favorite Linux single board computer is always close at hand. Do you actually need such a thing mounted to the wall next to the workbench? Probably not. But when has that ever stopped a Hackaday reader?

[Jay] has come up with a modular design for the “A.R.M. Terminal” that allows the user to easily augment it with additional hardware. The 3D printed frame of the terminal has hardpoints to bolt on new modules, which thanks to threaded metal inserts, will have no problem surviving multiple configurations.

This initial version features a panel on the left side that holds various buttons and switches attached to the Pi’s GPIO pins. With a bit of code, it’s easy to pick up the status of these controls and use them to fire off whatever tasks your imagination can come up with. On the bottom [Jay] has mounted a stand-alone VFD audio spectrum display that’s hooked up to the Pi’s 3.5 mm jack. It’s totally unnecessary and costs as much as the Raspberry Pi itself, but it sure is pretty.

If there’s a downside to the design, it’s that the only display currently supported is the official Raspberry Pi touchscreen which is only 800×480 and a bit pricey compared to more modern panels. On the other hand, there’s something to be said for the standardized bolt pattern on the back of the official screen; so if you want to use a higher resolution display, be prepared to design your own mounting bracket. Extra points if you share your changes with the rest of the class.

For anyone who likes the look of the A.R.M. Terminal but isn’t too keen on being tethered to the wall, you’re in luck. [Jay] previously created the Raspberry Pi Recovery Kit which shares many of the same design principles but puts them into a ruggedized case that’s ready for life in the field.

Pi 4 Emulator In A Durable, Dumpstered Cabinet

We must be looking in the wrong Dumpsters, because we never find anything as cool as [Queen_Combat] did. It’s one of those Kidzspace kid-proof waiting room game systems, complete with the original TV and an XBOX 360 that hasn’t been updated since 2009. When life hands you a sturdy game console box, it’s almost your duty to turn it into an all-in-one Raspberry Pi 4 emulation station.

[Queen_Combat] relocated the speakers from the top to the inside, just behind the vent holes on the sides, and printed a couple of mountable custom enclosures to hold them there. These are driven with a little 5W amplifier board, and everything is run from the XBOX’s power supply.

We particularly like the use of extenders in cigarette-lighter form factor, because we hadn’t seen those before. [Queen_Combat] printed a couple of adapters to make them fit nicely into the large holes on the front where the XBOX controllers were once attached — one has a volume knob, and the other has a USB3 port and a 3.5mm audio jack. [Queen_Combat] wanted to have HDMI audio out as well, so there’s an HDMI audio extractor in the mix, too, and another extender around back. Only thing missing is a paint job and some sweet vinyl graphics.

Yes, vinyl graphics would be sweet, but how? Not on the laser cutter, if that’s what you’re thinking. Don’t dismiss vinyl cutters out of hand, because they can do a whole lot more than that.

Via r/raspberry_pi

Destroy My Vegetable Garden? Oh Hail No!

Building and maintaining a garden takes a lot of work. And unless you have a greenhouse, you’re forced to leave your hard work outside to fend for itself against the double-edged sword of the elements. Rain and sun are necessary, but hard, pelting hail is never welcome. Just ask [Nick Rogness]. He didn’t go through all the trouble of building a 12’x12′ garden and planting tasty vegetables just to have Mother Nature spew her impurity-filled ice balls on it every other night during the summertime.

[Nick] did what any of us would do: fight back with technology. His solution was to build a retractable roof that covers the garden with a heavy duty tarp. A Raspberry Pi Zero W controls pair of linear actuators via motor controllers, and [Nick] put a limit switch in each of the four corners to report on the roof status. He can run the roof manually, or control it with his phone using MQTT. The whole thing runs on a 12V marine battery that gets charged up by a solar panel, so part of the interface is dedicated to reporting the battery stats.

[Nick] ran out of time to implement all the features he wanted before the season started, but there’s always next year. He has big plans that include soil moisture sensors, rain detection sensors, and an automatic watering system that collects and uses rain water. We planted the bite-size demo video for you after the break — just wash the dirt off and you’re good to go.

Maybe someday [Nick] will create a system that can automate the entire garden, like the FarmBot. Hey, we’re just trying to plant seeds of ideas.

Continue reading “Destroy My Vegetable Garden? Oh Hail No!”

Raspberry Pi 4 And The State Of Video Game Emulation

The modern ideal of pixel art is a fallacy. Videogame art crammed onto cartridges and floppy discs were beholden to the CRT display technology of their day. Transmitting analog video within the confines of dingy yellow-RCA-connector-blur, the images were really just a suggestion of on-screen shapes rather than clearly defined graphics. Even when using the superior RGB-video-over-SCART cables, most consumer grade CRT televisions never generated more than about 400 lines, so the exacting nature of digitized plots became a fuzzy raster when traced by an electron beam. It wasn’t until the late 90s when the confluence of high resolution PC monitors, file sharing, and open source emulation software that the masses saw pixels for the sharp square blocks of color that they are.

More importantly, emulation software is not restricted to any one type of display technology any more than the strata of device it runs on. The open-source nature of videogame emulators always seems to congregate around the Lowest Common Denominator of devices, giving the widest swath of gamers the chance to play. Now, that “L.C.D.” may very well be the Raspberry Pi 4. The single board computer’s mix of tinker-friendly IO at an astonishingly affordable entry price has made it a natural home for emulators, but at fifty bucks what options unlock within the emulation scene?

Continue reading “Raspberry Pi 4 And The State Of Video Game Emulation”