The Anxiety Of Open Source: Why We Struggle With Putting It Out There

You’ve just finished your project. Well, not finished, but it works and you’ve solved all the problems worth solving, and you have a thing that works for you. Then you think about sharing your creation with the world. “This is cool” you think. “Other people might think it’s cool, too.” So you have to take pictures and video, and you wish you had documented some more of the assembly steps, and you have to do a writeup, and comment your code, and create a repository for it, maybe think about licensing. All of a sudden, the actual project was only the beginning, and now you’re stressing out about all the other things involved in telling other people about your project, because you know from past experience that there are a lot of haters out there who are going to tear it down unless it’s perfect, or even if it is, and even if people like it they are going to ask you for help or to make one for them, and now it’s 7 years later and people are STILL asking you for the source code for some quick little thing you did and threw up on YouTube when you were just out of college, and of course it won’t work anymore because that was on Windows XP when people still used Java.

Take a deep breath. We’ve all been there. This is an article about finding a good solution to sharing your work without dealing with the hassle. If you read the previous paragraph and finished with a heart rate twice what you started, you know the problem. You just want to share something with the world, but you don’t want to support that project for the rest of your life; you want to move on to new and better and more interesting projects. Here are some tips.

Continue reading “The Anxiety Of Open Source: Why We Struggle With Putting It Out There”

Recycling And Casting Styrofoam With Solvents

Styrofoam is an ever-present waste material in modern society, being used to package everything from food to futons. It’s also not the easiest thing to deal with as a waste stream, either. With this in mind, [killbox] decided to have a go at recycling some styrofoam and putting it to better use.

The process starts by combining the EPS styrofoam with a solvent called D-limonene. This was specifically chosen due to its low toxicity and ease of use. The solvent liquifies the solid foam and the air bubbles are then allowed to make their way out of the solution. If it’s desired to create a coloured end product, it’s noted that this can be achieved by using other plastic items to provide colour at this stage, such as a red Solo cup.

It’s a slow process thanks to the choice of solvent, but it makes the process much more palatable to carry out in the average home lab setup. It’s possible to then perform casting operations or further work with the recovered material, which could have some interesting applications. It’s not the first plastics recycling project we’ve seen, either – check out this full setup.

[Thanks to Adric for the tip!]

Inside Mechanical Calculators

For as busy as things can get at the grocery store on a typical afternoon just before the dinner hour, at least the modern experience has one thing going for it: it’s relatively quiet. Aside from the mumbled greetings and “Paper or plastic?” questions from the cashier, and the occasional screaming baby in the next aisle, the only sound you tend to hear is the beeping of the barcode scanner as your purchase is tallied up.

Jump back just 40 years and the same scene was raucous, with cashiers reading price tags and pounding numbers into behemoth electromechanical cash registers. Back then, if you wanted help with any arithmetic with more than just a few operations, some kind of mechanical calculator was your only choice. From simple “one-banger” adding machines to complex analog computers, mechanical devices were surprisingly capable data processing tools. Here’s a brief look at how some of the simpler ones worked.

Continue reading “Inside Mechanical Calculators”

Battery Backup Conceals A Pentesting Pi

Over the last few years one thing has become abundantly clear: hackers love cramming the Raspberry Pi into stuff. From classic game systems to mirrors, there’s few places that haven’t been invaded by everyone’s favorite Linux SBC. From the inspired to the bizarre, we’ve brought such projects to your attention with minimal editorialization. As we’ve said before: it’s not the job of Hackaday to ask why, we’re here to examine how.

That said, some builds do stand out from the crowd. One such project is the “Pentesting BBU Dropbox” which [b1tbang3r] has recently posted to Hackaday.io. Noticing the battery bay in a cheap Cyberpower 350VA battery backup was just about the same size as the Raspberry Pi, he decided to convert it into a covert penetration testing device. Of course the illusion isn’t perfect as the battery backup function itself doesn’t work anymore. But if you hid this thing in an office or server room, there’s very little chance anyone would ever suspect it didn’t belong.

The key to the final device’s plausibility is that from stock it had dual RJ-11 jacks for analog modem surge protection. Swapping those jacks out for RJ-45 network connectors gives the BBU Dropbox an excuse to be plugged into the network. At a cursory glance, at least. Internally there is a TRENDnet Ethernet switch which allows the Pi to get on the network when an Ethernet cable is plugged into the battery backup.

We especially like the little details [b1tbang3r] put in to make the final device look as real as possible. The “Reset” button and “Wiring Fault” LED have been connected to the GPIO pins of the Pi, allowing for an exceptionally discrete user interface. For instance the LED could be setup to blink when a scan is complete, or the button could be used to wipe the device in an emergency.

This build reminds us of the Power Pwn released back in 2012 by Pwnie Express. That device was based around a relatively bulky power strip, and the only “feature” it looks like this DIY build is missing from the professional version is the $1,300 price.

Make or buy lithium ion battery pack

Comparing Making To Buying A Lithium Ion Battery Pack

At Hackaday we’re all about DIY. However, projects can have many components, and so there’s sometimes a choice between making something or buying it. In this case, [GreatScott!] wondered if it would be cheaper to make or buy a lithium-ion battery pack for his new eBike kit. To find out, he decided to make one.

After some calculations, he found he’d need thirteen 18650 cells in series but decided to double the capacity by connecting another thirteen in parallel. That gave him a 5 Ah capacity battery pack with a nominal voltage of 48.1 V and one capable of supplying a constant current of 40 A. Rather than connect them by soldering the nickel strips, he purchased a kWeld battery spot welder, adding to the cost of the build. He charged his new battery pack using his bench power supply but being concerned about uneven charging of the cells over the battery pack’s lifetime, he added a Battery Management System (BMS). The resulting battery pack powers his eBike motor just fine.

After adding up all the costs, he found it was only a tiny bit cheaper than prices for comparable battery packs on eBay, which were €24.4 per Ah (US$29.5 per Ah). The only way it would be cheaper is if he made multiple packs, spreading out the one-time cost of the battery spot welder. So that means it’s really up to your preference. See his video below to judge for yourself if you’d rather do it the DIY way. And then let us know what you’d do in the comments below.

Continue reading “Comparing Making To Buying A Lithium Ion Battery Pack”

Playing Pong With Micro:bits!

Where would the world be today without Pong, perhaps a lot less fun? For people like [Linker3000] the game is an inspiration toward teaching the next generation of hackers to build and play their own version using Micro:bits as controllers!

Aiming for doing all manner of diligence, [Linker3000] says the code can simply be uploaded to an Arduino — foregoing throwing together a circuit of your own — if you want to jump right into things. For the workshop environment, this setup uses composite video outputs — but this shouldn’t be an issue as most TVs still retain these inputs.

Once built — or sketch uploaded — the Micro:bit paddles can be connected to the ATmega328p and played like an old-school controller, but [Linker3000] has enabled Bluetooth control of the paddles’ A and B buttons via the Bitty app. Additionally — if wires really aren’t your thing and Bluetooth is too new-school for such an old game — a second Micro:bit can control the wired paddle using their built-in radio, provided they’re configured accordingly.

On top of Pong, there are also squash and soccer game modes! Check out the demo after the break.

Continue reading “Playing Pong With Micro:bits!”

Game-Ception: Pokemon Red Playable Inside Minecraft

If you’ve ever wanted to take a dive into and visualize a game’s code, this could be a seminal example in a literal sense. After twenty-one months of effort, the entire Pokemon Red game is now playable inside Minecraft.

[Mr. Squishy] is the mad genius behind this project, laboriously re-coding the game literally block by block. A texture pack is needed for the specific sprites, but otherwise it is playable without mods. It’s not immediately apparent when loading in to the level, but chip your way through the floor of the stadium and you are confronted by something awe-inspiring: sprawling constructions, like great soaring cliffs, comprising approximately 357,000 command blocks — equating to the same in lines of code. Every animation, tracked stat, attack and their effects, the various pokemon and their properties, and so on are rendered in the game’s physical space for you to wander through.

Beneath that are levels of maps, positional data, properties of those areas, NPCs, and a clever glitch that [Mr. Squishy] used to keep everything loaded at once.

Continue reading “Game-Ception: Pokemon Red Playable Inside Minecraft”