Cardboard And Paper Gun Shows Off Clever Construction

This project by [blackfish] shows off a cardboard lookalike of an MP5 that loads from a working magazine, has a functional charging handle, and flings paper projectiles with at least enough accuracy to plink some red party cups. It was made entirely from corrugated cardboard, paper, rubber bands, and toothpicks.

In the video (embedded below) you can see some clever construction techniques. For example, using a cyanoacrylate adhesive to saturate areas of wood, cardboard, or paper to give them added strength and rigidity. The video is well-edited and worth a watch to see the whole process; [blackfish] even uses a peeled piece of cardboard — exposing the corrugated part — as a set of detents (6:56) to retain the magazine.

Continue reading “Cardboard And Paper Gun Shows Off Clever Construction”

Designing Your Project To Scale: Crossing The Chasm

Hackaday is all about the neat hacks and the repurposing of old components into new projects, but many people then try to take those projects and turn them into businesses. We’ve seen lots of people offer their stuff as kits and sell them on Tindie, with the rare few going on to develop a consumer electronic product at scale.

The Hackaday Prize 2017 Best Product highlights this journey. “Scale” itself is a vague term, but essentially it means to be able to produce enough to meet market demand. We hope that market demand is roughly 7 billion units, purchasing yearly, but the reality is that it is somewhere between 1 and a few hundred thousand, with very big differences in manufacturing at each order of magnitude. So how do you start with a proof of concept and design your product from the very beginning to be optimized to scale to meet whatever demand you can handle?

Continue reading “Designing Your Project To Scale: Crossing The Chasm”

The Red Special: Brian May’s Handmade Guitar

Guitarists are a special breed, and many of them have a close connection with the instruments they play. It might be a specific brand of guitar, or a certain setup required to achieve the sound they’re looking for. No one has a closer bond with an instrument than Brian May to his Red Special. The guitar he toured with and played through his career with Queen and beyond had very humble beginnings. It was built from scratch by Brian and his father Harold May.

A young Brian May playing the brand new Red Special. Note the disk magnets of the original handmade pickups

It was the early 1960’s and a young teenaged Brian May wanted an electric guitar. The problem was that the relatively new instruments were still quite expensive — into the hundreds of dollars. Well beyond the means of the modest family’s budget. All was not lost though. Brian’s father Harold was an electrical engineer and a hacker of sorts. He built the family’s radio, TV, and even furniture around the house. Harold proposed the two build a new electric guitar from scratch as a father-son project. This was the beginning of a two-year odyssey that resulted in the creation of one of the world’s most famous musical instruments.

Brian was already an accomplished guitarist, learning first on his dad’s George Formby Banjo-ukulele, and graduating to an Egmond acoustic guitar. Brian’s first forays into electric guitars came from experimenting with that Egmond. If you look close, you can even see the influence it had on the final design of the Red Special.

Continue reading “The Red Special: Brian May’s Handmade Guitar”

How Smart Is The Grid?

Marketing and advertising groups often have a tendency to capitalize on technological trends faster than engineers and users can settle into the technology itself. Perhaps it’s no surprise that it is difficult to hold back the motivation to get a product to market and profit. Right now the most glaring example is the practice of carelessly putting WiFi in appliances and toys and putting them on the Internet of Things, but there is a similar type of fiasco playing out in the electric power industry as well. Known as the “smart grid”, an effort is underway to modernize the electric power grid in much the same way that the Internet of Things seeks to modernize household appliances, but to much greater and immediate benefit.

A Cutler-Hammer industrial breaker ominously predicts the coming confusion in the smart grid arena.
Photo by Bryan Cockfield

To that end, if there’s anything in need of modernization it’s the electric grid. Often still extensively using technology that was pioneered in the 1800s like synchronous generators and transformers (not to mention metering and billing techniques that were perfected before the invention of the transistor), there is a lot of opportunity to add oversight and connectivity to almost every part of the grid from the power plant to the customer. Additionally, most modern grids are aging rapidly at the same time that we are asking them to carry more and more electricity. Modernization can also help the aging infrastructure become more efficient at delivering energy.

While the term “smart grid” is as nebulous and as ill-defined as “Internet of Things” (even the US Government’s definition is muddied and vague), the smart grid actually has a unifying purpose behind it and, so far, has been an extremely useful way to bring needed improvements to the power grid despite the lack of a cohesive definition. While there’s no single thing that suddenly transforms a grid into a smart grid, there are a lot of things going on at once that each improve the grid’s performance and status reporting ability.

Continue reading “How Smart Is The Grid?”

Raspberry Pi Malware Mines BitCoin

According to Russian security site [Dr.Web], there’s a new malware called Linux.MulDrop.14 striking Raspberry Pi computers. In a separate posting, the site examines two different Pi-based trojans including Linux.MulDrop.14. That trojan uses your Pi to mine BitCoins some form of cryptocurrency. The other trojan sets up a proxy server.

According to the site:

Linux Trojan that is a bash script containing a mining program, which is compressed with gzip and encrypted with base64. Once launched, the script shuts down several processes and installs libraries required for its operation. It also installs zmap and sshpass.

It changes the password of the user “pi” to “\$6\$U1Nu9qCp\$FhPuo8s5PsQlH6lwUdTwFcAUPNzmr0pWCdNJj.p6l4Mzi8S867YLmc7BspmEH95POvxPQ3PzP029yT1L3yi6K1”.

In addition, the malware searches for network machines with open port 22 and tries to log in using the default Raspberry Pi credentials to spread itself.

Embedded systems are a particularly inviting target for hackers. Sometimes it is for the value of the physical system they monitor or control. In others, it is just the compute power which can be used for denial of service attacks on others, spam, or — in the case — BitCoin mining. We wonder how large does your Raspberry Pi botnet needs to be to compete in the mining realm?

We hope you haven’t kept the default passwords on your Pi. In fact, we hope you’ve taken our previous advice and set up two factor authentication. You can do other things too, like change the ssh port, run fail2ban, or implement port knocking. Of course, if you use Samba to share Windows files and printers, you ought to read about that vulnerability, as well.

Improving Mister Screamer; An 80 Decibel Filament Alarm

I created a prototype 3D printer filament alarm that worked, but the process also brought some new problems and issues to the surface that I hadn’t foreseen when I first started. Today I’m going to dive further into the prototyping process to gain some insight on designing for a well-specified problem. What I came up with is an easy to build pendant that passively hangs from the filament and alerts you if anything about that changes.

I began with a need to know when my 3D printer was out of filament, so that I could drop whatever I was doing and insert a new spool of filament right up against the end of the previous spool. By doing this within four minutes of the filament running out, printing very large jobs could continue uninterrupted. The device I designed was called Mister Screamer.

Continue reading “Improving Mister Screamer; An 80 Decibel Filament Alarm”

Reading Bingo Balls With Microcontrollers

Every once in a while a project comes along with that magical power to consume your time and attention for many months. When you finally complete it, you feel sorry that you don’t have to do anything more.

What is so special about this Bingo ball reader? It may seem like an ordinary OCR project at first glance; a camera captures the image and OCR software recognizes the number. Simple as that. And it works without problems, like every simple gadget should.

But then again, maybe it’s not that simple. Numbers are scattered all over the ball, so they have to be located first, and the best candidate for reading must be selected. Then, numbers are painted onto a sphere rather than a flat surface, sometimes making them deformed to the point where their shape has to be recovered first. Also, the angle of reading is not fixed but somewhere on a 360° scale. And then we have the glare problem to boot, as Bingo balls are so shiny that every light source reflects as a saturated bright spot.

So, is that all of it? Well, almost. The task is supposed to be performed by an embedded microcontroller, with limited speed and memory, yet the recognition process for one ball has to be fast — 500 ms at worst. But that’s just one part of the process. The project includes the pipelined mechanism which accepts the ball, transports it to be scanned by the OCR and then shot by the public broadcast camera before it gets dumped. And finally, if the reading was not reliable enough, the ball has to be subtly rotated so that the numbers would be repositioned for another reading attempt.

Despite these challenges I did manage to build this system. It’s fast and reliable, and I discovered some very interesting tricks along the way. Take a look at the quick demo video below to get a feel for the speed, and what the system “sees”. Then join me after the break to dive into the details of this interesting embedded build.

Continue reading “Reading Bingo Balls With Microcontrollers”