Pew Pew In The Palm Of Your Hand

It’s often said that “getting there is half the fun”, and we think that can be just as true when building hardware as it is during the roadtrip to your favorite hacker con. Many of us enjoy the process of planning, designing, and building a new gadget as much as playing with it when it’s done. We get the impression [Radomir Dopieralski] feels the same way, as he’s currently working on yet another iteration of his PewPew project.

For the uninitiated, [Radomir] has already created a number of devices in the PewPew line, which are designed to make programming games on “bare metal” easier and more approachable for newcomers by using CircuitPython.

The original version was a shield for the Adafruit Feather, which eventually evolved into a standalone device. The latest version, called the M4, includes many niceties such as a large TFT screen and an acrylic enclosure. It’s also switched over to the iconic Game Boy layout, to really drive home that classic gaming feel.

As [Radomir] explains, previous versions of the PewPew were designed to be as cheap and easy to manufacture as possible, since they were to be used in game programming workshops. But outside of that environment, they left a little something to be desired. With the M4, he’s created something that’s much closer to a traditional game system. In that respect it’s a bit like the Arduboy: you can still use it to learn game development, but it’s also appealing enough that you might just play other people’s games on it instead.

Badge builder's meetup at DC27

Pictorial Guide To The Unofficial Electronic Badges Of DEF CON 27

DEF CON has become the de facto showplace of the #Badgelife movement. It’s a pageant for clever tricks that transform traditional green rectangular circuit boards into something beautiful, unique, and often times hacky.

Today I’ve gathered up about three dozen badge designs seen at DC27. It’s a hint of what you’ll see in the hallways and meetups of the conference. From hot-glue light pipes and smartphone terminal debugging consoles to block printing effects and time of flight sensors, this is a great place to get inspiration if you’re thinking of trying your hand at unofficial badge design.

If you didn’t catch “The Badgies” you’ll want to go back and read that article too as it rounds up the designs I found to be the craziest and most interesting including the Car Hacking Village, Space Force, SecKC, DC503, and Frankenbadge. Do swing by the Hands-On articles for the AND!XOR badge and for [Joe Grand’s] official DC27 badge. There was also a lot of non-badge hardware on display during Hackaday’s Breakfast at DEF CON so check out that article as well.

Enough preamble, let’s get to the badges!

Continue reading “Pictorial Guide To The Unofficial Electronic Badges Of DEF CON 27”

3D Print A Complete Wind Generator

For many of us our landscapes are dotted with wind turbines, the vast majority of which are horizontally aligned as if they were giant aircraft propellers. A much rarer sight is the vertical wind turbine, which remains a staple of the wind power experimenter. [Troy] and his brother have posted a video showing a small wind 3D printed vertical turbine, which unusually includes an alternator made from scratch as well as the rotor itself.

The machine adopts a Savonius rotor design with three scoops, which offers simplicity and high torque at a lower rotational speed than some of the alternatives. The scoops are assembled from a number of 3D-printed sections, and directly drive the generator which uses a large number of coils on a stator encircled by a rotor containing an array of magnets. A simple rectifier and three-terminal regulator produces a 5-volt output.

Sadly there was not enough wind to give it a decent test for the video, but they demonstrate it with a very large fan standing in. We like the alternator design but we’d be interested to see how the sectional rotors hold up in outdoor conditions, and perhaps that regulator could benefit from a switch-mode component. If you fancy a go he says he’ll release the files as open source if there’s enough interest. We’re interested [Troy], please do!

Many wind turbines have passed through these pages over the years, and for contrast here’s a horizontal 3D printed example.

Continue reading “3D Print A Complete Wind Generator”

Solar System Wars: Walmart Versus Tesla

It seems like hardly a day goes by that doesn’t see some news story splashed across our feeds that has something to do with Elon Musk and one or another of his myriad companies. The news is often spectacular and the coverage deservedly laudatory, as when Space X nails another double landing of its boosters after a successful trip to space. But all too often, it’s Elon’s baby Tesla that makes headlines, and usually of the kind that gives media relations people ulcers.

The PR team on the automotive side of Tesla can take a bit of a breather now, though. This time it’s Elon’s solar power venture, Tesla Energy Operations, that’s taking the heat. Literally — they’ve been sued by Walmart for rooftop solar installations that have burst into flames atop several of the retail giant’s stores. While thankfully no lives have been lost and no major injuries were reported, Walmart is understandably miffed at the turn of events, leading to the litigation.

Walmart isn’t alone in their exposure to potential Tesla solar problems, so it’s worth a look to see what exactly happened with these installations, why they failed, and what we as hackers can learn from the situation. As we’ll see, it all boils down to taking electrical work very seriously and adhering to standards designed to keep everyone safe, even when they just seem like a nuisance.

Continue reading “Solar System Wars: Walmart Versus Tesla”

How Would You Like Your Steak Printed?

An Israeli start-up company, Redefine Meat recently raisedabout $6 million to perfect and commercialize its technology to 3D print meat alternatives, sometimes called alt-meat. The company claims that producing animal protein for consumption is unsustainable but that their product reduces environmental impact by 95% and has other benefits such as containing no cholesterol and a lower cost to consumers.

Reports say the ingredients of the faux meat includes three different plant protein sources, fat, and water. We assume the fat is also plant-based. The prototype printer can produce about two pounds of “meat” an hour, but their next machine is supposed to be capable of about ten times that production.

They aren’t the only company in the space, either. Novameat is also 3D printing meat. There’s also competition from companies that are basically growing real animal tissue in labs without the animals–so-called cultured meat.

Continue reading “How Would You Like Your Steak Printed?”

That Game Cartridge Isn’t As Straightforward As You’d Think

Classic games consoles played their games from cartridges, plastic bricks that held a PCB with the game code on it ready to be run by the console hardware. You might therefore expect them to be an easy prospect for emulation, given that the code can be extracted from whatever ROM they contain. But as anyone with an interest in the subject will tell you, some cartridges included extra hardware to boost the capabilities of their games, and this makes the job of an emulator significantly more complex.

[Byuu] has penned an article exploring this topic across a variety of consoles, with in-depth analyses of special-case cartridges. We see the obvious examples such as the DSP coprocessors famously used on some SNES games, as well as Nintendo’s Super Game Boy that contained an entire Game Boy on a chip.

But perhaps more interesting are the edge-case cartridges which didn’t contain special hardware. Capcom’s Rockman X had a copy protection feature that sabotaged the game if it detected RAM at a frequently used save game address emulated by copiers. Unfortunately this could also be triggered accidentally, so every one of the first generation Rockman X cartridges had a manually attached bodge wire that a faithful emulator must replicate. There is also the case of the Sega Genesis F22 Interceptor, which contained an 8-bit ROM where most cartridges for this 68000-powered platform had a 16-bit part. Simple attempts to copy this cartridge result in the upper 8 bits having random values due to the floating data lines, which yet again an emulator must handle correctly.

It’s a subject with a variety as huge as the number of console developers and their games, and a field in which new quirks are constantly being unearthed. While most of us don’t spend our time peering into dusty cartridges, we’re grateful for this insight into that world.

We’ve visited the world of emulators a few times before, such as when we looked at combatting in-game lag.

WiringPi Library To Be Deprecated

Since the release of the original Raspberry Pi single board computer, the WiringPi library by [Gordon] has been the easy way to interface with the GPIO and peripherals – such as I2C and SPI – on the Broadcom SoCs which power these platforms. Unfortunately, [Gordon] is now deprecating the library, choosing to move on rather than deal with a community which he no longer recognizes.

Among the points which he lists are the (commercial) abuse of his code, and the increasing amount of emails and messages on social media from folk who either failed to read the friendly manual, or are simply rude and inconsiderate. As [Gordon] puts it, WiringPi was never meant to be statically linked into code, nor to be used with anything other than C and RTB BASIC programmers. He never supported the use of the library with other languages, or having it statically integrated into some Java/JavaScript/NodeJS project.

As this secondary use is what’s draining the fun out of the project, he has decided to put out one final release, before making it a closed-source project, for use by himself and presumably paying clients. What the impact of this will be has to be seen. Perhaps a new fork will become the new ‘WiringPi’?

Suffice it to say, none of this is a good thing. The illegal use of open source code and the support nightmare that gets poured on the authors of said code by less than informed users is enough to drive anyone away from putting their projects out there. Fighting abuse and junking the ‘spam’ is one way to deal with it, but who has the time and energy (and money) for this?

What are your thoughts on this news, and this issue in general? How should an open source developer deal with it?

Thanks to [Dirk-Jan Faber] for sending this one in.