Four jumper wires with white heatshrink on them, labelled VCC, SCL, SDA and GND

The Connector Zoo: I2C Ecosystems

I2C is a wonderful interface. With four wires and only two GPIOs, you can connect a whole lot of sensors and devices – in parallel, at that! You will see I2C used basically everywhere, in every phone, laptop, desktop, and any device with more than a few ICs inside of it – and most microcontrollers have I2C support baked into their hardware. As a result, there’s a myriad of interesting and useful devices you can use I2C with. Occasionally, maker-facing companies create plug-and-play interfaces for the I2C device breakouts they produce, with standardized pinouts and connectors.

Following a standard pinout is way better than inventing your own, and your experience with inconsistent pin header pinouts on generic I2C modules from China will surely reflect that. Wouldn’t it be wonderful if you could just plug a single I2C-carrying connector into an MPU9050, MLX90614 or HMC5883L breakout you bought for a few dollars, as opposed to the usual hurdle of looking at the module’s silkscreen, soldering pin headers onto it and carefully arranging female headers onto the correct pins?

As with any standard, when it comes to I2C-on-a-connector conventions, you would correctly guess that there’s more than one, and they all have their pros and cons. There aren’t quite fifteen, but there’s definitely six-and-a-half! They’re mostly inter-compatible, and making use of them means that you can access some pretty powerful peripherals easily. Let’s start with the two ecosystems that only have minor differences, and that you’ll encounter the most! Continue reading “The Connector Zoo: I2C Ecosystems”

A Modular Ecosystem That Evolved Around A Simple Diesel Engine

High volume commodity products are a foundation of hacking, we’ve built many projects around popular form factors like NEMA 17 stepper motors, 608 bearings, and 280 DC motors. Their high volume led to lower cost, which further increased popularity, and the cycle repeats. A similar thing happened to a style of single-cylinder diesel engine in China, and [Jalopnik] takes us through an exploration of these “Tuo La Ji” (tractor) machines.

Like many popular standards, circumstances elevated this style of engine to become more popular than its peers. Judging from the pictures, the idea is similar to NEMA 17 in that the core essence is a bolt pattern and an output shaft. Different manufacturers offer various capabilities within this space, and a wild assortment of machinery evolved to take advantage of this class of power source.

It starts with a set of wheels and handlebars to create a walk-behind farm tractor, something pretty common around the world. But this particular ecosystem grew far beyond that to many other applications, including full sized trucks with off-road capability that would embarrass most of the genteel SUVs cruising our roads today. They may not be fast, but they only needed to be faster and have longer endurance than beasts of burden to be effective as “a horseless horse”.

Due to factors such as poor crash safety, absence of diesel emission controls, and affordability of more powerful (and faster!) vehicles, these machines are a dying breed. But that won’t change the fact there was a fantastic amount of mechanical hacking ingenuity that had sprung up around this versatile engine building simple and effective machines. Their creativity drew from the same well that fed into these Indonesian Vespas.

Photo by [Brian Holsclaw] CC BY-ND 2.0

Hackaday Belgrade: Luka Mustafa On Exploiting IoT Niches

Ecology is a strange discipline. At its most basic, it’s the study of how living things interact with their environment. It doesn’t so much seek to explain how life works, but rather how lives work together. A guiding principle of ecology is that life finds a way to exploit niches, subregions within the larger world with a particular mix of resources and challenges. It’s actually all quite fascinating.

But what does ecology have to do with Luka Mustafa’s talk at the 2018 Hackaday Belgrade Conference? Everything, as it turns out, and not just because Luka and his colleagues put IoT tools on animals and in their environments to measure and monitor them. It’s also that Luka has found a fascinating niche of his own to exploit, one on the edge of technology and ecology. As CEO of Institute IRNAS, a non-profit technology development group in Slovenia, Luka has leveraged his MEng degree, background in ham radio, and interest in LoRaWAN and other wide-area radio networks to explore ecological niches in ways that would have been unthinkable even 10 years ago, let alone in the days when animal tracking was limited by bulky radio collars.

Continue reading “Hackaday Belgrade: Luka Mustafa On Exploiting IoT Niches”