Close

The Art of Shanzhai

A project log for A Wearable IoT Development Board for Body Sensing

A wearable IoT development board based on the ESP8266 and ESP32 for human body sensing and Cloud applications

David Nghiem 05/16/2017 at 21:050 Comments

Shanzhai, or (现代汉语词典/現代漢語詞典), has two meanings. A fenced place in the forest, Villages in the mountain that have stockade houses.

Shanzhai is used as a metaphor to describe bandits who oppose and evade the corrupted authority to perform deeds they see as justified. One example of such bandits is the story of Outlaws of the Marsh (水滸傳)

Shanzhai also means "Mountain Bandits." And in today's modern era China, especially in Shenzhen, it's usually related to illicitly copied electronics. I recently finished reading a great book, The Misfit Economy: Lessons in Creativity from Pirates, Hackers, Gangsters and Other Informal Entrepreneurs. written by Alexa Clay and Kyra Mya Phillips. In the book is a chapter titled, "Copy," which goes into detail about the Shanzhai culture. You can also read this great article about it in the Atlantic. Shanzhai: China’s Collaborative Electronics-Design Ecosystem

The Copy Chapter brilliantly investigates the Shanzhai culture of Shenzhen, the electronics manufacturing capitol of the world.

Essentially, the Shanzhai culture of pirated electronics means exactly that, they directly copy the electronics of competitors or leaders in the market. But what so many casual observers miss after just relegating the copiers to a footnote, is that after the shanzhai copy, they iterate, and they have to iterate fast, because other's are iterating right behind them. They're always looking behind their back, because they know that if they can copy, someone else is copying. So on top of the copying, they have to create something new. In other words, by iterating, and not just copying, they're creating new innovations.

After many years of coming up with my own original designs and electronics, I'm going to take a page from the Shanzhai book with this project. The reason for that is simple. In this case, I'm not going for simply innovative. I want to fast track this thing into production. For too long, I've stayed stuck in development, creating innovative devices, but because of scarce resources (money) spent on development, I was never able to get into production, let alone see if there was a market for what I came up with. In production is where you get into the business end of things, like sourcing suppliers, discovering a market, price discovery, marketing and sales, etc. I want to get to that point of the learning curve. Considering I've been doing development innovation for, oh, forever, I think it's time for a change. I want to fast track the development, and get right into the production. For me to do that, that takes some Shanzhai.

First, let's start with the basic design of the ESP8266 board. This one has all of the support electronics, which themselves are required from experiments of just the standalone esp8266 chip that you can find all over the web. I'm using the Adafruit Huzzah ESP8266

Next to the ESP8266, I'm using a generic breakout board for the CP2104 USB to UART chip.

It's a fast USB to UART chip, as I want the development board to have an onboard USB interface for easy programming.

Next up, I want to have more analog inputs. The ESP8266 only comes with one analog input. That's not enough for my needs, given that I want to make the ESP8266 essentially a central point for several data streams coming in from analog sensors. So, I'm including an ADC chip to communicates via SPI. It also has four analog ports that operate at 12bits.

All of this will go onto a wearable form factor that uses lithium ion batteries, and cables that lock in to send information across the wearable so they don't get dislodged with simple body movements. I'm still waiting for my charge control breakout board to come in, which will enable usb charging to an on board battery. There are so many breakout boards on the market that you can literally rapid prototype almost every single part of whatever it is you're designing. That's how awesome the Shanzhai ecosystem is. Back in the day, and I'm talking pre-Arduino like the late 1990's into early aughts when I was doing my SEMG thesis, you had NUTHIN. Back then, you had to roll all of your own proto or break out boards. We used to make something called a road kill board, which was a large prototype consisting of DIP components on a PCB board. Today? You can almost skip that process. That's a beautiful thing.

The current layout looks like this.



Coming up next! Usability, aka how to effectively prototype like a seven year old!

Discussions