Hackaday Podcast 056: Cat Of 9 Heads, Robot Squats, PhD In ESP32, And Did You Hear About Sonos?

Hackaday editors Elliot Williams and Mike Szczys gab on great hacks of the past week. Did you hear that there’s a new rev of the Pi 4 out there? We just heard… but apparently it’s release into the wild was months ago. Fans of the ESP8266 are going to love this tool that flashes and configures the board, especially for Sonoff devices. Bitluni’s Supercon talk was published this week and it’s a great roadmap of all the things you should try to do with an ESP32. Plus we take on the Sonos IoT speaker debacle and the wacky suspension system James Bruton’s been building into his humanoid robot.

Take a look at the links below if you want to follow along, and as always tell us what you think about this episode in the comments!

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (60 MB or so.)

Continue reading “Hackaday Podcast 056: Cat Of 9 Heads, Robot Squats, PhD In ESP32, And Did You Hear About Sonos?”

Raspberry Pi 4 Offers Up 2 GB For The Price Of One

The Raspberry Pi 4 represents a significant performance increase over previous generations, unlocking potential applications that were simply beyond the abilities of these diminutive Single Board Computers (SBCs) in the past. Some would even argue that the Pi 4, with a quad-core Cortex-A72 running at 1.5 GHz, now holds its own as a lightweight ARM desktop computer for those interested in finally breaking free from x86.

In light of the considerable upgrade in processing power, the choice to outfit the base model Pi 4 with just 1 GB of RAM always seemed a bit odd. So it’s little surprise that the Raspberry Pi Foundation has decided to shift things around and lower the price of the 2 GB model to the traditional $35. In a blog post this morning, Eben Upton said that with RAM prices falling over the last year, the company thought it was time they passed the savings onto the customer.

This change comes just two days before the Pi’s 8th birthday. There has been speculation that the Pi 4 is capable of operating with 8 GB of RAM and unveiling that news to coincide with this anniversary would have been a clever marketing move. Alas, it looks like we’ll have to continue to wait.

For those who are invested in the 1 GB model, have no fear. Rather than delete the product from the lineup entirely, the company will be keeping it available for anyone who needs it. So if you’ve got a commercial or industrial application that might not take kindly to the hardware getting switched out, you’ll still have a source of spares. That said, the pricing for the 1 GB model won’t be changing, so there’s no cost advantage to using it in new designs.

Combined with news that compatibility issues the Pi 4 had with generic USB-C power supplies was fixed with an under the radar board revision, it seems there’s never been a better time to upgrade to the latest and greatest version of everyone’s favorite Linux board. Happy Birthday, Raspberry Pi.

Raspberry Pi Slips Out New PCB Version With USB C Power Fix

When the Raspberry Pi people release a fresh model in their line of fruity single board computers, it’s always an event of great interest. The Raspberry Pi 4 brought some significant changes to the formula: they moved to mini micro HDMI and USB-C power sockets, for instance. The early adopters who scored one of those Pi 4s were in for a shock though, if they had all but the most basic USB C power cables the device wouldn’t power up. Now the Register has news that they have slipped out with little fanfare an updated version of the board containing a fix for this problem.

Our colleague Maya Posch delved deeply into the USB C specification and delivered a pithy analysis at the time which demonstrated that the fault lay with the configuration of the sense resistors used by intelligent USB C power sources to determine what power to supply. For the addition of a single surface mount resistor the problem need never have existed, and we’re guessing that’s how they fixed it.

There’s no need to despair should you have one of the older boards, though. They will still work as they always have done with the so-called “dumb” power supplies and cables, and meanwhile we’re sure that future Pi boards will have had a lot of attention paid to their USB power circuitry.

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”

A Custom Raspberry Pi 4 Arcade Cabinet

Over the years we’ve covered quite a few Raspberry Pi based arcade cabinets, and admittedly many of them have been fairly similar. After all, there’s only so much variation you can make before it stops looking like a traditional arcade machine. But even still, we never tire of seeing a well executed build like the one [Dawid Zittrich] recently shared with us.

These days you can order a kit that has pre-cut panels to build your cabinet with, but looking for a completely custom build, [Dawid] decided to first model his design in SketchUp and then cut out the panels himself with a jigsaw. This obviously is quite a bit more work, and assumes you’ve got sufficient woodworking tools, but we think the final result looks great. Not to mention the fact that it’s going to be a lot stronger than something made out of MDF.

He also created the side artwork himself, taking the logos and names from his favorite arcade and Amiga games and putting them on a retro-looking gradient pattern.  The marquee on the top has an acrylic front and is illuminated from behind with strips of LEDs. It’s mounted on a hinge so that it can be lifted up and a new piece of art slid in without taking apart the whole cabinet. While it might be a little more labor intensive to switch out than some of the electronic marquees we’ve seen, we do like that you still have the ability to change the artwork on a whim.

With the cabinet itself completed, [Dawid] turned his attention to the electronics. Inside you’ve got the aforementioned Raspberry Pi 4 (with a Noctua fan to keep it cool), an external hard drive, a HDMI to VGA converter with scanline generator to drive the 4:3 ratio Eizo Flex Scan S2100 monitor, and a rather beefy amplifier hanging off the Pi’s 3.5 mm analog audio output. All of which is easily accessible via a maintenance hatch built into the cabinet so [Dawid] doesn’t need to tear everything down when he wants to tweak something.

If you’d like to have that arcade cabinet feel but don’t have the space and equipment to put something like this together, you could always stick a Raspberry Pi into an iCade and call it a day.

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

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”