So many learning curves

If you are coming to China to manufacture, it’s is essential to have your ducks in a row and anticipate common problems. It’s probably not enough to have a handmade prototype. You need a completely designed PCB, a complete BOM, complete CAD drawings of all the parts and how they will be assembled. Knowledge of manufacturing processes and which will be most appropriate for your parts. You need to have the datasheets for all your components, know what materials you will be using, and how you will be assembling your parts into a finished product. You need people in your home country who you can contact with questions or to accomplish tasks for you or make revisions.

Even though you have all that lined up, you’ll still throw a huge chunk of it out the window when you arrive. When you realize that pricing schemes are completely different for components in the U.S. from China, what you thought was the cheapest part on Mouser or Digi-Key ends up being your most expensive component. Parts that aren’t even listed in the U.S. are now a cheap and frequently used component that simplifies your design. Your enclosure will turn out to have been designed wrong somehow. It’s almost impossible to get it completely right the first time. It will require slides* or manual processes that are inaccurate, or too much plastic or your mold will cool incorrectly in a particular part and lead to a weak part in that area.

Why so much knowledge beforehand? Because you have SO many learning curves it will be impossible if you haven’t gotten over some of them before coming, and you can’t just rely on the internet to teach you what you don’t know because it doesn’t work much of the time. You’re not just dealing with manufacturing when you come to China. You’re dealing with the hassles of living in China. And you’re not working 8 hour days. You still have a life in the U.S. that you need to maintain, which means working longer hours so that you can interact with people during the mornings and evenings when you both can be up. The daily commutes, the restaurant frustrations, doing laundry and paying rent. Everything you do is a learning experience, even if you’ve done it many times before in your home (See the post on the ordeal of getting sheets). All those learning experiences and frustrations add up. Having your life up in the air as well as work is extremely draining. Having to learn to use PCB layout software and solid modeling software at the same time is a hassle you don’t want to add.

If you’re throwing out so much, why bother preparing it in the first place? You can’t even start communicating with factories without a clear idea of what you want, and it is FAR easier to make changes to what you already have than to start from scratch using tools you don’t know. Think of it in terms of what work is necessary and what work needs to be done IN CHINA. Your time in China is limited and expensive and valuable. You need to do the things in China that you couldn’t have done at home, otherwise why did you bother coming? Revisions to something are easy. Designing a thing from scratch is way harder when you don’t have the contacts or the ability to communicate.

Also, when you arrive, you will find things to work so completely differently than you expect. You don’t always have to try to understand it. Choose your battles of learning. I don’t know how many times a day my experiences lead me to say “This is China” and move on. You can’t swim upstream all the time and some things just don’t matter.

 

* A slide is an extra part of an injection mold that is used to prevent part lock. Part lock is when you have designed your part so that it doesn’t slide straight out of the mold. For example, a hole in the side of the part means your part can’t just pop straight out because the part of the mold that makes the hole is holding the plastic in. So you have a slide, which is another part of the mold. The two halves of the mold come together, then the slide comes in, then the part is molded, then the slide comes out, then the halves separate. Slides add a lot to the cost and complexity of a mold.

Permanent link to this article: http://engineerinshenzhen.com/so-many-learning-curves/

Cute little kids at school

This is a normal thing to see in the mornings. Little kids all line up before school in rows and columns and do exercises led by their teachers. They’re as coordinated as little kids can be, and the parents and grandparents are often standing around and watching. I snapped this pic quickly from a distance because as an alone 30 year old tall white male I stick out and don’t want to scare anybody or have them think I’m a creeper. I just thought it was a cute thing that happens every day. In this pic the kids aren’t in their uniforms. They usually are, and then the cuteness level increases significantly.

Kids in front of school doing morning exercises together.

Permanent link to this article: http://engineerinshenzhen.com/cute-little-kids-at-school/

Eating roses

This is a dried rose. It tastes like dried stawberries. It’s very sweet, and the petals are small and make it have a different texture from strawberry. Apparently all that is done is some sugar or honey is added for sweetness. I think it was my first time eating a rose and I have to admit they don’t just smell good.
image

Update

It turns out the translator was wrong and this is actually hibiscus, which makes more sense.

Permanent link to this article: http://engineerinshenzhen.com/eating-roses/

Shenzhen Mini Maker Faire

Sunday, April 8 was the Shenzhen Mini Maker Faire, put on by Seeedstudio. There was a good group of projects, though the robots category dominated the list, with little, and not so little, mechanical things running around the floor and even flying through the air. There were about 40 booths of people showing off their projects or their products.

I was showing off my scoreboard, which had the blinking lights factor and the Arduino insides with lots of wires, so there was some interest. I was joined by Saidy, a woman who had recently graduated from university studying English and who worked as a technical document translator. She had volunteered to be my translator during the event, and quickly picked up the things I was saying in English to people and was translating all of it into Chinese when Chinese speakers came by, so pretty quickly I didn’t even need to talk to the Chinese people at all and we had everybody who stopped by covered.

Interest in my product was mixed. Some people didn’t get it or didn’t want to understand that it wasn’t just a clock. Apparently sports aren’t huge in China, and people see big bright full color LED displays all the time around here, so what I was doing wasn’t particularly special, and it was hard to explain all the ways you could use it and hack it. However, we performed a small experiment to see if the insides would attract the hacker community. Below is the photo of the insides of the prototype unit, with all its wirey goodness. Needless to say, this got people to stop.

I was at my booth pretty much the whole time, so I didn’t really walk around much and talk to people at the other booths and get lots of photos of the event. I did wander around a little, and met some very interesting people, and even did a couple interviews, but didn’t manage to get any photos.

There were a couple sessions happening on another level teaching people to solder, and there was a section of the show with a variety of books, but the majority of the action was in the exhibit hall, where people were presenting their projects. In the afternoon some people gave presentations on the stage next to the exhibit hall, given in mostly English with a translator repeating each sentence.

In all it was a good event, and I’m glad I participated. I didn’t really gain anything related to my business, but it was nice to see that the hacker/maker community is thriving in Shenzhen and that people around the world are doing similar things and have similar mentalities.

Me and Saidy, my amazing volunteer translator.

So many wires! All hand done!

Permanent link to this article: http://engineerinshenzhen.com/shenzhen-mini-maker-faire/

Amazing book on thermoforming plastics

It’s been suggested to me that I should avoid injection molded plastics wherever possible, and try to go with thermoformed plastic. Generally I research and validate advice before following it, so I started researching when thermoforming should be used over injection molding.

For the newbies, injection molding is when you build a metal tool that is hollow where you want the plastic to be. You put the tool in a large press that holds the two halves of the tool together. The other part of the press has a hopper with a bunch of small plastic bits. Those plastic bits get fed through a heater and then pumped at high pressure into the mold. A few seconds later, the plastic cools inside the mold, the press separated the halves, and the part is popped out of the mold. This is great for smaller parts.

Thermoforming is when you take a plastic sheet, put it in a square frame to hold it, put it near a flat heating element until the plastic reaches a certain temperature, at which point it will sag in the middle. Then you drop it onto a prepared mold. The mold will have lots of little holes drilled into it, and those holes all lead to a vacuum. The vacuum is turned on and the melty plastic is sucked up against the mold. It spends some time cooling, and then can be popped off the mold. It requires another step of cutting the extra plastic off. This method is good for enclosures or large pieces, and it’s a fraction of the cost.

But there are a LOT of considerations, including what material to make the mold out of, what specific method to use for thermoforming (there are lots of fancy variations), and even what kind of heater to use to melt the plastic, and how to move it from the heater to the mold.

But for learning everything there is to know about the process, the materials, the tools, and the molds, this free resource was a fantastic and entertaining read (where entertaining means marginally better than reading a book on accounting methods). It’s available as a PDF here:

http://www.spartech.com/plastics/vfmanual.pdf

Permanent link to this article: http://engineerinshenzhen.com/amazing-book-on-thermoforming-plastics/

Noodles in black bean sauce

image

If you’ve ever seen the Korean movie “Castaway on the Moon”, you’ll remember that noodles and black bean sauce play an important role in the movie. It’s a really good movie, by the way. So when I saw it in a Korean restaurant I figured I had to see what the hype was about. Well, it was good, but not worth the effort that the main character put in. I think for him it was his favorite comfort food, though, so it makes some sense. It was still a pretty good dish and I finished it happily.

Permanent link to this article: http://engineerinshenzhen.com/noodles-in-black-bean-sauce/

Star Prototype… prototyping facility

Star Prototype is a prototyping facility for doing short runs of products (in the tens) to develop the tool and verify the design and make iterations on the prototype before going to mass production. After working with Star, one is confident that the design and tools they have could be taken to a larger factory and used to produce thousands of units.

The factory is run by a successful Westerner Gordon Styles, who is adamant about quality control and using Western methods in his factory. Calling it a factory is a bit of a misnomer, though. It’s more like a spotless workshop, with knowledgeable employees at each station, responsible for their work and trained from the ground up. In many cases, Gordon specifically said he tried to hire new people who hadn’t been ruined by other factories and could be trained to do things correctly. He requires staff to only have limited overtime, and that is paid overtime, and they get longer breaks as well, and their dormitories are less packed. The staff are happier and better educated and more conscious of the client’s needs and quality control and safety. The equipment and work areas are well maintained, and there is special equipment to analyze materials to ensure that they are using the quality of product that they demand and aren’t being swindled by suppliers. They have facilities to develop and test all through the product development stage and can even crank out a few thousand parts if necessary. They have a list of manufacturers they recommend for higher volume work that also try to treat their employees ethically and with high standards.

Their Western style of engineering doesn’t come at Eastern prices, however. But the security and high quality during the product development is worth a lot when it comes to designing the tooling and materials that will be used for mass production, where the slightest flaw can cost hundreds or thousands of dollars.

We toured their main facility, which included rooms for polishing, painting, vacuum molding using silicone molds (expensive and only good for about 20 parts, but significantly cheaper than having a metal tool cut), lathes and CNCs, and a significant quality control facility. Then we took a short ride to a separate building which included the mills that are used to make the injection molding tools, and then the building next to it which used the tools inside the injection molds.

(Star Prototype)

Permanent link to this article: http://engineerinshenzhen.com/star-prototype-prototyping-facility/

Hardware is HARD

Over the past month the biggest lesson I’ve learned is that hardware isn’t called that because it’s physical; it’s called that because it’s really difficult to do. In talking to people who have had successful and unsuccessful products, they are all consistently saying the same thing, and with all the stuff a company must endure to make a physical product, it’s amazing that people do it. Here’s a journey through the process of developing a consumer electronics product, complete with many of the things that will trip a person up and hidden costs:

First someone has an idea. They may spend a while building a prototype or sketches or something to convey the idea. Building a prototype can be expensive because everything is a one-off part, and the various methods for forming plastic are not cheap. Sometimes it’s better to use a softer material and a CNC machine to mill a demo part. Components cost 10x what they would if you were buying in bulk (1k or 5k) quantities. Even getting a circuit board can be a tedious process. Let’s delve into that a little more.

When designing a circuit board, there are a few software packages available. The famous professional one is Eagle, and you can get away with double-sided boards smaller than 160x100mm for free (as long as it’s not commercial). The price for professional work, though, is steep. A license can cost over $1k easily, or you can purchase a 1 year license for as low as $550. The most prominent free schematic software is KiCAD, which apparently has been getting better and better. Once you have your software, you design the schematic. This involves getting the parts you want from a library. You are almost guaranteed to have parts that aren’t in a library, so you have to learn how to make your own parts by reading the datasheets, which are sometimes hard to find. Or you might find the part, but when you order your component and place it on the board it doesn’t actually fit. That is fun, too. So you design your schematic, then switch to the layout and route all your components, trying to apply rules that aren’t really written anywhere, including things like minimum trace width, when to angle your traces, ground planes, trace length matching, and a whole host of other considerations that take a career to learn. Once you finish your design, you export to Gerber files, which you can then send to any factory, along with some specs like surface finish, solder mask color, board thickness, and other cryptic specifications. Hopefully the board you get back works.

So you’ve built a few prototypes and they work pretty well and you want to start mass production. Ha. Let’s start getting other ducks in a row first, because you have to do a lot of things in parallel. You have to worry about your brand name and product name. If you infringe on any trademarks, customs can stop your product at the border and you may not be able to sell in that country. Each country has different sets of trademarks, so some brand that works in one country might not work in another country. So you have to get that all sorted out and get trademarks figured out in the countries in which you want to sell.

If you want to retail, you’ll probably have to have an SKU, which is issued by a central authority and every SKU costs money, and every variation on your product needs a different SKU.

If you have USB, you’ll need a unique ID for your application. The USB regulating body charges a few thousand dollars to any new company that wants to sell USB devices, but once they have their own App ID, they can generate as many Product IDs as they want (up to 65000). There are a couple companies that have managed to sell individual Product IDs, but only because they grandfathered in before the USB board specifically prohibited this activity, so it’s a little sketchy. You also need to have a special license if you want to display the USB logo on your product. The same is true if you want to use the Bluetooth logo on your product.

At this point you can also start working on your FCC license. Pretty much any product with a circuit, and certainly any product with a microcontroller and crystal will have radio leakage and must be approved by the FCC. Best get started with the paperwork now, as it can take a while. Be aware that you will also have to worry about UL in the U.S. and CE in Europe.

Cute puppies will rescue you from the misery that is involved in this saga of product development.

Now you’re in Shenzhen and you’re starting to look at how to take your prototype to mass production. Unless you did it right in the beginning, you’ll probably need to work with someone to redesign all your plastic and metal parts for manufacturability, and this is another field that requires a career to master. For example, if you are doing injection molded plastic, there are books-worth of information on how to design correctly. Even thickness across the part, support structures, stress and cooling profiles, part lines, designing for assembly (there’s a whole book’s worth on making snaps or screw holes). The biggest thing is to design your parts so there are no slides, which increases the complexity and cost significantly, but is very difficult to design around. Once you have your design nailed down, having the tool milled will cost a few hundred to a few thousand dollars, so you want to get it right quickly. There are prototyping companies that can help you out with this, which is nice. We toured Star Prototype, and they have their stuff together to help with this part of the process. Once you have your tool, it’s yours, and you can take it to many other factories.

But the plastic parts aren’t it. You also may have a membrane switch, which also requires tooling costs. There’s the PCB (printed circuit board). There’s the components. There’s PCB assembly (putting the electronic components onto the board). There’s product assembly. There’s packaging. So let’s keep chasing the rabbit.

You’re reasonably satisfied with your plastic parts, and you have a good idea how the assembly is going to work. By the way, assembly is another area that requires books of knowledge, because every step adds to the cost, and there are ways to design parts to make them easier to assemble and reduce rework or defective parts (which either you or the factory will pay for, and which you have to make sure don’t sneak into the palettes of good products). So hopefully during the whole design phase you’ve considered all the steps for assembly and optimized your design accordingly to make it easy to assemble.

Now you want to work on the PCB. So you go to a variety of factories and explore and see what their quality control practices are and see a surprisingly low amount of automation and wonder how these people can breathe the acid fumes all day and realize that this is completely normal for a factory, or maybe even better than some. For larger factories they even build rigs with hundreds of little pins that are used to test every board, and people that examine under microscope random boards. You find a few that you like and start a bidding war between them, all the while hoping that they don’t bid themselves into a range in which they have to cut corners on your board, because you can pretty easily end up with a high failure rate if you don’t design your board to be easily manufactured (another book). You end up with a quote that’s 1/2 to 1/4 of what it would cost in the U.S. Cool. Except for that feeling in your gut that something could go wrong and you’d be screwed.

Next, there’s components. You have your bill of materials and go to the electronics market or alibaba.com to get quotes. All the booths look the same, and there is no way of telling if they are a direct supplier, or if you are dealing with a middleman or a second level middleman. So you go through the BOM and they can supply a surprisingly large percentage of your BOM, which is a little weird because you thought they were just an LED company. And the prices are all over the place. Sometimes it’s 1/10 of the price you saw on Mouser or Digikey, sometimes it’s 1/2. You ask what brand the part is and suddenly the price doubles. You see another booth where someone is pulling stickers off one reel and putting them onto other reels of cheaper knockoffs, trying to sell the cheaper ones as if they were the more expensive ones. You realize this is a jungle and without help you have no idea of the quality of the parts you are ordering or their provenance. And if you have critical components where a failure after a few hours will make your product inoperable, you are setting yourself up for huge risk.

Assembled components aren’t really any better. If you are building a low voltage consumer electronic device that doesn’t plug directly into a wall but uses a wall wart, then getting through UL is a lot easier because that wall wart should have gone through UL already. But this is China! So IF the wall wart has a UL print or sticker, and IF the license number on that UL listing is valid, and IF that listing actually refers to that particular supply and not another supply that factory has produced at some point in its past, and IF the supply actually has all the safety parts inside that it is supposed to, then you are probably ok. If any of those things are not true, then customs will stop your product at the border and you’ll be delayed or denied.

Cute puppy. He’s telling you not to get discouraged. Keep reading, though.

Now you have your plastic, your membrane switches, your components, your PCB, and you’re looking to assemble. And by the way, you don’t want to have all these parts done at a single factory. One reason is now a single company has all the details of your product, so a middleman handing a thumb drive off to a friend will make a competitor or knockoff expert’s job really easy. Another reason is that factories rarely have the capability to do all those parts, so they’ll tell you they do but they’ll really subcontract it out unknown to you, and you can bet they’ll subcontract to the cheapest possible bidder and charge you a markup for being a middleman. Anyway, you’ve got your parts and you’re ready to assemble them. You tour a bunch more factories to figure out what they are good at and what tools they have and what the expertise of their staff is. And just because a factory does something similar doesn’t mean they can do your thing well, and just because they have a specific tool doesn’t mean they have the staff to use it in the way you need. So you can plan on spending a few weeks on the factory floor working directly with the engineering staff and assembly crew to make sure that everyone knows their job and is assembling everything properly, and there is little to no waste, and the waste there is has no way of somehow making it into packaging as if it was a final product. Hopefully you’ve built test procedures and special rigs to test all the parts of your product to verify they work correctly, and hopefully you have a contract with an AQL (acceptable quality level) spec that details exactly what is required in order to pass the tests.

I skipped the negotiation part. You’ve found a couple factories that you’re interested in. You don’t want the top tier factories because you’re too small-fry for them and if you get any attention at all you have no leverage anyway. You don’t want the bottom tier because you will get screwed. You want a factory that needs your business and wants a famous product, but already has a few wins and can demonstrate that it does good work. Then you start negotiating; they’ll nickel and dime you, and slip in strange fees and engineering costs, and if you’re new they’ll demand payment up front, and try to take any leverage away from you. You will have minimum quality levels, and hopefully a friend who also manufactures in that factory who can act as leverage, and hopefully you’ll have developed a relationship with the factory boss who understands your product and is investing in its success with you.

Now you have a factory producing units (assuming all the parts were ordered and successfully delivered to the factory and are up to spec). It has taken a few weeks to iron out the kinks, but there’s a palette sitting on the loading dock. Hopefully you’ve figured out what happens next. The product will be shipped by boat probably (which takes a couple months), or if you are in a hurry you can ship by air. It will arrive at customs, and they will check for FCC approval (you got that, right? wait, what?), UL or CE approval (you got that, too, right?), verify that it isn’t obviously violating any trademarks, if it’s for kids will verify that it meets those standards, too (you have that as well I assume), and then send it on its way. Well, it will of course look for any tariffs it can levy on you.

With these bombshells, you’re possibly in trouble. Fortunately you could smuggle a few units in as prototypes and send them to the FCC and UL for testing, but since you’re supposed to send the final product to them, you have to wait until you are most vulnerable to do it; when you already have a bunch of units waiting to come over and any changes will be at great cost. The FCC will probably not pass your device. Everything leaks, and will be probably out of compliance somehow. You either need to fix it or negotiate something with the FCC (not a bribe). UL and CE may care about you device, too, and if your product is for kids, or Customs decides it may be for kids, then you have a whole bunch of other regulations to worry about.

You’ve navigated that minefield, and now you’re ready to get it to retailers. Actually, you get it to distributors, who get paid a lot of money just to make a phone call to the retailers and get a place on their shelves for your product. And you’d better get it to the distributor on time, because if your shipment is late and you miss the date, then you don’t end up on shelves. Except that you have to pay for those empty shelves. So you can’t sell your product, and you’re paying for the empty space on the shelves.

But assume that somehow your product made it to shelves and you are selling units. You have to deal with returns and customer service, because it’s quite possible a fraction of your units are coming out of the factory or making the journey to the shelves (you had a packaging engineer work on making sure your product could survive the extreme conditions of the cargo ship, and transportation by truck, right?) defective. This cuts into your margins, but hopefully not much.

Until something big is wrong with your product. If it’s for kids then maybe the kids licked it and got lead poisoning, or if you dropped it a special way a small part breaks off that can be eaten by infants. Or maybe a cheap knockoff capacitor is causing fires in some units. Now you have a PR nightmare, a customer service nightmare, and you’re getting sued, which may put you out of business pretty quickly.

But if you can avoid that, and your product is wildly successful, then you’ll have a small margin of time before the knockoffs and similar products start cropping up. And any company with a patent similar to what your product does will come knocking on your door looking for a handout or to shut you down. Your only protection is to have filed for a patent, no matter how flimsy, just so you can claim to have a patent pending on your product, but it won’t stop the knockoffs in countries that don’t care about that.

If you’ve made it this far, somehow you’ve navigated a million things getting in your way, but you’re not rich. The standard formula for retail price is 4x the cost of goods sold. But the retailers and distributors want at least 1/2 of that. The cost of goods is 1/4. That means you get 1/4 to split between all the employees and all the administrative costs and all the engineering and tooling costs. If you’re lucky, you can get away with higher margins by selling online, but those higher margins are usually at the cost of significantly lower volume.

So at the end of the day, a small hardware startup is tasked with a nearly impossible feat. If you don’t know the right people, the right regulations, the right organizations, and the right engineers and designers, you have a slim chance of a successful consumer electronic device. You don’t have the knowledge or the leverage to keep from getting screwed by any of the million little regulations or shrewd people.

And that’s just the overview. Getting into the nitty gritty is even scarier.

Don’t worry, a cute puppy is here to save you from your misery and make everything ok.

Permanent link to this article: http://engineerinshenzhen.com/hardware-is-hard/

Red bean buns breakfast

image

These are steamed buns, and they are an extremely common breakfast food. There are about two venders on every block in the street or small booths each morning. You can choose between plain, meat, bean, vegetable, some kind of veggie curry, and some stores have more variety. It’s sort of a game to find the best shop on your route to work. I have found mine. Good safe buns, picture menu, cheap prices. Each bun is about 1 yuan, which translates to about 15 cents, and 3 is plenty for breakfast. If only I could consistently remember to peel the paper off the bottom of the bun.

Permanent link to this article: http://engineerinshenzhen.com/red-bean-buns-breakfast/

Shenzhen Electronic Market

The Shenzhen Electronic Market is world famous, and rightly so. Spread across at least 12 buildings within a couple blocks, it is a gigantic mecca for all things electronic. Imagine roughly 4 blocks of buildings; they’re all banks and office buildings that are very tall, but the first 3-6 floors are part of the electronics market. On the first floor of each building is bare components. Any component you can think of. There are booths for enclosures, SMD parts, DIP parts, booths that specialize in relays or motors or power supplies. There are connectors booths and LED booths. There are booths for assembly tools like solder irons, multimeters, solder, wire, etc. Some of the booths are full of reclaimed parts, with solder still visible on leads and people in the process of reclaiming parts. Some of the booths are fronts for much larger companies, and their displays hide the fact that they have factories and large distribution chains behind them. Many of the booths are filled to the brim with bags of components or reels. Along the outer edge of the market are larger shops full of reels, and often these larger shops will supply to the booths. One could go up to any booth and start asking for components, and if they don’t have them, they know who will and will have a runner go get it.

The second floor is usually more of the same. Sometimes they have more advanced or specialized components. One building had a second floor composed entirely of laptop parts; screens, motherboards, batteries, keyboards. A different building had a second floor full of microprocessors. On the rest of the floors is consumer electronics. There are booths for individual brands, or booths that have a variety. If you think of the exhibit floor of a conference, it’s much like that. Brand booths are nicer and larger and have staff in matching shirts. In one of the buildings the whole 6th floor was dedicated to LED signs and manufacturers.

It’s easy to get lost in the buildings and wander around for hours, and after a while it becomes apparent that they’re all hawking very similar, if not the same, stuff. I don’t know how many booths I passed that had the same connector components displayed, or the multitude of booths dedicated to showing the same LED flashlights and light bulbs.

Click an image to make it big:

Permanent link to this article: http://engineerinshenzhen.com/shenzhen-electronic-market/

Older posts «

» Newer posts