Arduino’s Pluggable Discovery Programs With Any Protocol

The first Arduino was serial, and over the decade and a half, this has been the default way to upload code to an Arduino board. In 2008, support for in-circuit programmers was added, and later port detection was added. The latest version of the Arduino IDE adds something new: pluggable discovery. Now any protocol is supported by the Arduino IDE.

This feature is the brainchild of [Paul Stoffregen], creator of the Teensy. If you’ve ever used a Teensy, you’ll remember the Teensyduino application used to upload code to the board. The Teensy uses HID protocol instead of serial for uploading. After working to improve the integration between the Teensy and Arduino IDE, [Paul] stated extending the DiscoveryManager. After some discussion with the Arduino developers, this feature was then added to Arduino 1.8.9, released a month or so ago.

There are some issues with Pluggable Discovery, most importantly that it doesn’t yet exist in the Arduino Command Line Interface (yeah, that exists too). If you’re looking to contribute to Open Source, that would be a nice project to pick up.

With the right JSON, and configuration, it is now theoretically possible to extend the Arduino IDE to any sort of protocol. This means (again, theoretically), it’s possible to update the firmware in your DIY MIDI synth over SysEx message, or a parallel port, maybe. Someone is going to upload to an Arduino board over PCIe, eventually.

Deep Discounts Yield Deep Reverse Engineering Of Biotech Hardware

Hitting the electronic surplus shop is probably old hat to most of our readership. Somewhere, everyone’s got that little festering pile of hardware they’re definitely going to use some day. An old fax is one thing, but how would your partner feel if you took home an entire pallet-sized gene sequencing rig? Our friend [kaspar] sent along an interesting note that the folks at Swiss hackerspace Hackteria got their hands on an Illumina HiSeq 2000 last year (see funny “look what we got!” photo at top) and have generated a huge amount of open documentation about whats inside and how to use it.

Okay first off, what the heck is this machine anyway? The HiSeq is designed to automatically perform the sequencing step of Illumina’s proprietary multi step gene sequencing process (see manufacturer’s glossy for more), and to do so with minimal human intervention. That means that the unit contains a microfluidics system to manipulate samples, an extremely high performance optical scan system complete with controllable stage, imager, fluorescence modes, etc, and lots of other things this author isn’t sufficiently trained to guess at.

The folks at Hackteria have done a pretty thorough teardown of the system and produced block diagrams of most of its modules. They’ve also run some of the tools and recorded logs of what they were up to, including the serial commands sent to and from the machine to control certain subsystems. Of course a tool like this was meant to be driven by Illumina’s specific software, but unusually those are available and surprisingly usable which is how the aforementioned logs were captured. Right now it looks like Hackteria has put together tools to use the system as a fluorescent microscope.

Oddly the most interesting thing here might be how available these systems are. It appears that they’re being replaced en masse and have become easily available in the range of thousands of dollars on the secondary market. At that price point they’re almost worth snapping up for the enclosure and parts! But we prefer Hackteria’s goal of enabling the Citizen Scientist to make use of these incredible machines for their intended purpose. Who knows what exciting projects we’ll find when hackers start sequencing their cats!

Thanks for the tip [kaspar]!

Disco Ain’t Dead: Blinky Ball Makes You Solder Inside A Dome

Disco balls take a zillion mirrors glued to a sphere and shine a spotlight on them. But what if the ball itself was the light source? Here’s a modern version that uses addressable LEDs in a 3D-printed sphere that also hides the electronics inside the ball itself.

Check out the video below to see the fantastic results. It’s a Teensy 3.6 driving a whopping 130 WS2812 LEDs to make this happen. (Even though the sphere has the lowest surface area to volume ratio.) There’s even a microphone and an accelerometer to make the orb interactive. Hidden inside is a 4400 mAh battery pack that handles recharging and feeds 5 V to the project.

For us, it’s the fabrication that really makes this even more impressive. The sphere itself is 3D printed as four rings that combine to form a sphere. This makes perfect spacing for the LEDs a snap, but you’re going to spend some time soldering the voltage, ground, and data connections from pixel to pixel. In this case that’s greatly simplified because the LEDs were sourced from AliExpress already hosted on a little circle of PCB so you’re not trying to solder on the component itself. Still, that’s something like 390 wires requiring 780 solder joints!

We love seeing an LED ball you can hold in your hand. But if you do want something bigger, try this 540 LED sphere built from triangular PCBs.

Continue reading “Disco Ain’t Dead: Blinky Ball Makes You Solder Inside A Dome”

Magnets And Printed Parts Make Quick-Disconnect Terminals

The Apple MagSafe power connector is long gone from their product line, but that doesn’t mean that magnetic connectors aren’t without their charms. It just takes the right application, and finding one might be easier with these homebrew magnetic connectors.

We’ll admit that the application that [Wesley Lee] found for his magnetic connectors is perhaps a little odd. He’s building something called Linobyte, a hybrid art and electronics project that pays homage to computing history with very high-style, interactive core memory modules. The connectors are for the sense wire that is weaved through the eight toroids on each module, to program it with a single byte. Each connector has a 3D-printed boot that holds a small, gold-plated neodymium magnet with the sense wire soldered to it. A socket holds another magnet to the underside of a PCB. The magnet in the boot sticks to the PCB and makes contact with pads, completing the circuit. We know what you’re thinking: heating a magnet past the Curie point is a great way to ruin it. [Wesley] admits that happens, but it just makes the connection a little weaker, which works for his application. The short video below shows how he puts them together.

We can think of a couple of ways these connectors would be useful, and we really like the look of the whole project. It’ll be interesting to see where it goes, but in the meantime, brushing up on how magnets work could be fun. Continue reading “Magnets And Printed Parts Make Quick-Disconnect Terminals”

Kepler Closes Eyes After A Decade Of Discovery

Since its launch in March 2009, the Kepler Space Telescope has provided us with an incredible amount of data about exoplanets within our galaxy, proving these worlds are more varied and numerous than we could ever have imagined. Before its launch we simply didn’t know how common planets such as ours were, but today we know the Milky Way contains billions of them. Some of these worlds are so hot they have seas of molten rock, others experience two sunsets a day as they orbit a pair of stars. Perhaps most importantly, thousands of the planets found by Kepler are much like our own: potentially playing host to life as we know it.

Kepler lived a fruitful life by any metric, but it hasn’t been an easy one. Too far into deep space for us to repair it as we did Hubble, hardware failures aboard the observatory nearly brought the program to a halt in 2013. When NASA announced the spacecraft was beyond hope of repair, most assumed the mission would end. Even by that point, Kepler was an unqualified success and had provided us with enough data to keep astronomers busy for years. But an ingenious fix was devised, allowing it to continue collecting data even in its reduced capacity.

Leaning into the solar wind, Kepler was able to use the pressure of sunlight striking its solar panels to steady itself. Kepler’s “eyesight” was never quite the same after the failure of its reaction wheels, and it consumed more propellant than originally intended to maintain this careful balancing act, but the science continued. The mission that had already answered many of our questions about our place in the galaxy would push ahead in spite of a failure which should have left it dead in space.

As Kepler rapidly burned through its supply of propellant, it became clear the mission was on borrowed time. It was a necessary evil, as the alternative was leaving the craft tumbling through space, but mission planners understood that the fix they implemented had put an expiration date on Kepler. Revised calculations could provide an estimate as to when the vehicle would finally run its tanks dry and lose attitude control, but not a definitive date.

For the last several months NASA has known the day was approaching, but they decided to keep collecting data until the vehicle’s thrusters sputtered and failed. So today’s announcement that Kepler has at long last lost the ability to orient itself came as no surprise. Kepler has observed its last alien sunset, but the search for planets, and indeed life, in our corner of the galaxy doesn’t end today.

Continue reading “Kepler Closes Eyes After A Decade Of Discovery”

Google Discovers Google+ Servers Are Still Running

Google is pulling the plug on their social network, Google+. Users still have the better part of a year to say their goodbyes, but if the fledgling social network was a ghost town before, news of its imminent shutdown isn’t likely to liven the place up. A quick check of the site as of this writing reveals many users are already posting their farewell messages, and while there’s some rallying behind petitions to keep the lights on, the majority realize that once Google has fallen out of love with a project there’s little chance of a reprieve.

To say that this is a surprise would be disingenuous. We’d wager a lot of you already thought it was gone, honestly. It’s no secret that Google’s attempt at a “Facebook Killer” was anything but, and while there was a group of dedicated users to be sure, it never attained anywhere near the success of its competition.

According to a blog post from Google, the network’s anemic user base isn’t the only reason they’ve decided to wind down the service. A previously undisclosed security vulnerability also hastened its demise, a revelation which will particularly sting those who joined for the privacy-first design Google touted. While this fairly transparent postmortem allows us to answer what ended Google’s grand experiment in social networking, there’s still one questions left unanswered. Where are the soon to be orphaned Google+ users supposed to go?

Continue reading “Google Discovers Google+ Servers Are Still Running”

Analog Discovery 2 As A Vector Network Analyzer

A while back, I posted a review of the Analog Discovery 2, which is one of those USB “do everything” instruments. You might recall I generally liked it, although I wasn’t crazy about the price and the fact that the BNC connectors were an extra item. However, in that same post, I mentioned I’d look at the device’s capabilities as a network analyzer (NA) sometime in the future. The future, as they say, is now.

What’s an NA?

In its simplest form, there’s not much to an NA. You sweep a frequency generator across some range of frequencies. You feed that into some component or network of components and then you measure the power you get out compared to the power you put in. Fancy instruments can do some other measurements, but that’s really the heart of it.

The output is usually in two parts. You see a scope-like graph that has the frequency as the X-axis and some sort of magnitude as the Y-axis. Often the magnitude will be the ratio of the output power to the input power as a decibel. In addition, another scope-like output will show the phase shift through the network (Y-axis) vs frequency (X-axis). The Discovery 2 has these outputs and you can add custom displays, too.

Why do you care? An NA can help you understand tuned circuits, antennas, or anything else that has a frequency response, even an active filter or the feedback network of an oscillator. Could you do the same measurements manually? Of course you could. But taking hundreds of measurements per octave would be tedious and error-prone.

Continue reading “Analog Discovery 2 As A Vector Network Analyzer”