Putting The Pi In Piano

Working on a PhD in composition, [Stephen Coyle] spends a fair bit of time at his electric keyboard. Setting himself up to work can be a bit of a task, so he felt he could improve the process and make it easy as Pi.

Finding it an odious task indeed to use notation software, connecting his laptop to his keyboard is a must — avoiding a warren of wires in the move is a similar priority. And, what if he could take advantage of the iPad’s unique offerings too? Well, a Raspberry Pi Zero W running Ravelox — an RTP MIDI protocol — makes  his music available on his network to record on whichever device he pleases.

Continue reading “Putting The Pi In Piano”

Router Rebooter Eliminates Hassles

Some low-end or older routers might get you a decent WiFi network in your house or apartment, but often these cheaply made devices are plagued with subtle software problems that cause the router itself to become unresponsive after a few days of operating. One solution is to just power cycle the router by hand whenever the Internet disappears, but a better solution is to build something that does that for you.

[Charlie] had this problem as the de facto IT person in his family, and didn’t want to keep getting bothered for such a simple problem. His solution involves a relay, an ESP8266, and a Wemos D1 mini. The device connects to the Internet through the router and occasionally sends out pings to another address. If it can’t ping the address successfully after a certain time period, the device power cycles the router by activating the relay.

Since this isn’t the newest idea out there, there are many ways to solve this problem if you are constantly annoyed by router issues, whether from your own router or from friends and family who treat you as their personal IT department. One solution doesn’t involve any extra hardware at all as long as you have a computer near your router/modem already, and others solve this problem when it happens to the modem rather than the router.

Continue reading “Router Rebooter Eliminates Hassles”

Junk Build Printer Uses Pencil To Print

Sometimes, it is interesting to see what you can build from the bits that you have in your junk drawer. [Dr West] decided to build a printer with spare parts including a hard drive, a scanner base and an Arduino. The result is a rather cool printer that prints out the image using a pencil, tapping the image out one dot at a time. The software converts the image into an array, with 0 representing white and 1 representing black. The printer itself works a bit like an old-school CRT TV: the scanner array moves the printer along a horizontal line, then moves it vertically and along another horizontal line. It then triggers the hard drive actuator to create a mark on the paper if there is a 1 in the array at that point.

We’ve seen a few drawing printers before, but most use a plotter or CNC approach, where the motors move the pencil on an X-Y . This type of dot matrix printer (sometimes called a dotter) isn’t as efficient, but it’s a lot of fun and shows what can be achieved with  a few bits of junk and a some ingenuity.

Continue reading “Junk Build Printer Uses Pencil To Print”

Repairs You Can Print: Racing The Clock For A Dishwasher Fix

No matter how mad your 3D printing skills may be, there comes a time when it makes more sense to order a replacement part than print it. For [billchurch], that time was the five-hour window he had to order an OEM part online and have it delivered within two days. The race was on — would he be able to model and print a replacement latch for his dishwasher’s detergent dispenser, or would suffer the ignominy of having to plunk down $30 for a tiny but complicated part?

As you can probably guess, [bill] managed to beat the clock. But getting there wasn’t easy, at least judging by the full write-up on his blog. The culprit responsible for the detergent problem was a small plastic lever whose pivot had worn out. Using a caliper for accurate measurements, [bill] was able to create a model in Fusion 360 in just about two hours. There was no time to fuss with fillets and chamfers; this was a rush job, after all. Still, even adding in the 20 minutes print time in PETG, there was plenty of time to spare. The new part was a tight fit but it seemed to work well on the bench, and a test load of dishes proved a success. Will it last? Maybe not. But when you can print one again in 20 minutes, does it really matter?

Have you got an epic repair that was made possible by 3D printing? We want to know about it. And if you enter it into our Repairs You Can Print Contest, you can actually win some cool prizes to boot. We’ve got multiple categories and not that many entries yet, so your chances are good.

The Engineering Analysis Of Plastic-Dissolving Lubricant

Over the years, E3D has made a name for themselves as a manufacturer of very high-quality hotends for 3D printers and other printer ephemera. One of their more successful products is the Titan Extruder, a compact extruder for 3D printers that is mostly injection-molded plastic. The front piece of the Titan is a block of molded polycarbonate, a plastic that simply shouldn’t fail in its normal application of holding a few gears and bearings together. However, a few months back, reports of cracked polycarbonate started streaming in. This shouldn’t have happened, and necessitated a deep dive into the failure analysis of these extruders. Lucky for us, E3D is very good at doing engineering teardowns. The results of the BearingGate investigation are out, and it’s a lesson we can all learn from.

The first evidence of a problem with the Titan extruders came from users who reported cracking in the polycarbonate case where the bearing sits. The first suspect was incorrectly manufactured polycarbonate, perhaps an extruder that wasn’t purged, or an incorrect resin formulation during manufacturing. A few whacks with a hammer of each production run ruled out that possibility, so suspicion turned to the bearing itself.

After a few tests with various bearings, the culprit was found: in some of the bearings, the lubricant mixed with the polycarbonate to create a plastic-degrading toxic mixture. These results were verified by simply putting a piece of polycarbonate and the lubricant in a plastic bag. This test resulted in some seriously messed up plastic. Only some of the bearings E3D used caused this problem, a lesson for everyone to keep track of your supply chain and keep records of what parts went into products when.

The short-term fix for this problem is to replace the bearing in the Titan with IGUS solid polymer bushings. These bushings don’t need lubricant, and therefore are incapable of killing the polycarbonate shell. There are downsides to this solution, namely that the bushings need to be manufactured, and cause a slight increase in friction reducing the capability of the ‘pancake’ steppers E3D is using with this extruder.

The long-term solution for this problem is to move back to proper bearings, but changing the formulation of the polycarbonate part to something more chemical resistant. E3D settled on a polymer called Tritan from Eastman, a plastic with similar mechanical properties, but one that is much more chemically resistant. This does require a bit more up-front work than machining out a few bearings, but once E3D gets their Tritan parts in production, they will be able to move back to proper bearings with the right lubrication.

While this isn’t a story of exploding smartphones or other disastrous engineering failures, it is a great example of how your entire supply chain goes into making a product, and how one small change can ruin an entire product. This is real engineering right here, and we’re glad E3D finally figured out what was going on with those broken Titan extruders.

Quantum Communications In Your Browser

Quantum computing (QC) is a big topic, and last time I was only able to walk you through the construction of a few logic gates, but you have to start somewhere. If you haven’t read that part, you probably should, because you’ll need to understand the simulator I’m using and some basic concepts.

I like to get right into practice, but with this topic, there’s no avoiding some theory. But don’t despair. We’ll have a little science fiction story you can try by the end of this installment, where we manage to pack two bits of information into a single physical qubit. Last time I mentioned that qubits have 1 and 0 states and I hinted that they were really |1> and |0> states. Why create new names for the two normal binary states? Turns out there is more to the story.

What’s the Vector, Victor?

In Dirac notation, |1> is a vector. So is |hackaday> and |123>. You can get into a lot of math with these, but I’m going to try to avoid most of that. This is also called ket notation (the last part of the word bracket) so you’ll hear people say “one ket” or “hackaday ket.” Either way, the vector can represent one or more qubits and there are several ways to represent them.

Continue reading “Quantum Communications In Your Browser”

Friday Hack Chat: Circuit Python

Back in the olden days, if you wanted to learn how to program a computer, you used the BASIC interpreter stored in ROM. This is how an entire generation of devs learned how to program. Now, home computers do not exist, there is no programming language stored in ROM, and no one should inflict JavaScript on 8-year-olds. What is the default, My First Programming Language™ today? Python. And now it’s on microcontrollers.

For this week’s Hack Chat on hackaday.io, we’re going to be talking all about Circuit Python. Circuit Python is based on the Open Source MicroPython, a Python 3 interpreter that implements a subset of the Python language on microcontrollers and other constrained environments. It is the spiritual successor of BASIC on every computer: MicroPython has an interactive prompt, arbitrary precision integers, closures, lists, and more. All of this fits on a microcontroller with 256 kB of code space and 16 k of RAM.

Our guests for this week’s Hack Chat will be [Scott Shawcroft] and [Dan Halbert] from Adafruit. [Scott] started working on MicroPython with Adafruit in September 2016 and has led the renamed CircuitPython effort ever since. [Dan] started working on CircuitPython in early 2017 and joined Adafruit in August of that year. [Dan], by the way, is the original author of the ‘more’ command in UNIX.

For this Hack Chat, we’re going to be talking about CircuitPython, its history, current boards that support the project, and the end goals for CircuitPython. We’ll be talking about future plans, what will be supported in the future, and asking any technical questions about CircuitPython.

join-hack-chat

Our Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. This Hack Chat is going down Friday, February 2nd at noon, Pacific time. Time Zones got you down? Here’s a handy countdown timer!

Click that speech bubble to the left, and you’ll be taken directly to the Hack Chat group on Hackaday.io.

You don’t have to wait until Friday; join whenever you want and you can see what the community is talking about.