Introduction
You face daunting barriers when you attempt to transform a physical hardware idea into a manufactured product. Modern supply chains often feel opaque, proprietary standards restrict your designs, and factory floors remain distant from your workbench. You need to understand how physical production actually functions outside traditional corporate silos.
You can master hardware development by engaging directly with Asian manufacturing ecosystems, leveraging open blueprints, and embracing rapid, hands-on reverse engineering.
Andrew "Bunnie" Huang shares his hard-earned lessons from decades of designing electronics and navigating overseas factories. The book examines the realities of mass production in specialized industrial clusters, details the mechanics of open hardware design, and explores how to reverse engineer complex systems. You will learn how to inspect silicon chips, collaborate with factory workers, and manage the complete lifecycle of a physical product.
- How do you source components and negotiate with suppliers in foreign markets?
- What steps ensure your printed circuit boards survive automated assembly lines?
- How can open source principles accelerate your hardware innovation?
1. Adventures in Manufacturing
Shenzhen operates as a massive, hyper-efficient hardware manufacturing ecosystem where components, technical books, and factories converge to dramatically accelerate product development.
Shenzhen grew from a small fishing village with a 300,000 population in 1980 into a megacity supporting a 10 million population within 30 years of its growth. The city provides immediate access to vast electronic component markets like SEG Electronics Market, cheap technical literature, and hundreds of flexible factories capable of rapid prototyping and mass production.
At Shenzhen's SEG Electronics Market, the author found endless booths selling rare chips, components, and flash memory in bulk, while technical textbooks at the Shenzhen Bookstore were sold for a fraction of US prices. For example, Thomas Lee's book cost 68 kuai or 8.50 USD at the Shenzhen Bookstore. Nearby industrial facilities demonstrate colossal scale, including the New Balance factory with 40,000 employees and the Foxconn facility with 250,000 employees consuming 30 pigs daily.
Made in China
You can bypass traditional barriers by guaranteeing payment for defective units. Factories normally dissuade customers from using cheaper, low-quality assembly processes because standard contracts force the factory to absorb the cost of any imperfect goods. By promising to pay for all output including defects, you remove the financial penalty for factories and enable faster turnarounds.
The author convinced a factory to let him build parts using an ultra-cheap, low-quality assembly process by guaranteeing he would pay for the whole batch, resulting in much faster delivery despite a 20 percent scrap rate. Factory workers trying their best under cheaper processes achieved an 80 percent success rate.
Extremely low labor costs in China make manual assembly economically competitive with automated machinery for tasks involving high tooling costs or un-machinable components. When tooling costs or component packaging designs make automation economically unviable, factories rely on skilled human workers to perform precision tasks such as hand-painting logos, hand-placing connectors lacking pick-and-place pads, or sewing products.
The author saved nearly two dollars on chumby hardware by sourcing cheaper connectors that lacked sacrificial plastic pick-and-place pads, relying instead on a worker to hand-place them for about a nickel per unit. A standard connector cost 1 dollar US, versus 0.10 and 0.06 dollars for alternative connectors. This achieved 2 dollars total cost savings per chumby unit, with an estimated cost of 5 cents per unit paid to the worker for hand-placing the connectors.
Traditional craftspeople remain essential in modern manufacturing because software simulation tools cannot fully predict complex physical forces like fabric stretch and distortion. Creating flat patterns for textile goods involves mapping 3D shapes onto 2D surfaces while accounting for material stretch and sewing bias. Because computer simulation tools cannot accurately capture these forces, master craftspeople rely on intuition, cardboard, scissors, and pencils to build perfect patterns in very few iterations.
Master Chao, the master pattern maker at the chumby sewing factory, used traditional craftsmanship to create cosmetic cases and accessory bags for top-tier consumer brands without using a single computer.
Factory Floor Insights
Chinese factory management and line operators exhibit extraordinary dedication and problem-solving resilience during intense production crunches. When critical issues arise on the manufacturing line, factory project managers and workers willingly stay late, cancel personal plans, and work through the night without complaint to ensure production schedules are met.
During a late-night debugging session for the chumby microphone assembly, factory project manager Christy and a team of workers stayed until 3 AM scripting solutions alongside the author without hesitation, and reported back to work punctually at 8 AM.
Direct onsite presence and physical demonstration on the factory floor drastically reduce miscommunication and accelerate the resolution of manufacturing processes. Explaining complex physical adjustments remotely via photographs or translators often fails due to language barriers and lack of basic physics understanding among line workers. Demonstrating a process firsthand allows workers to master complex assembly steps within hours instead of weeks, whereas working long distance without onsite presence typically adds 2 weeks of schedule allocation per tweak.
The author personally trained chumby assembly-line workers on how to fold copper tape across sheet metal to form an EMI shield without causing short circuits, bypassing the multi-week delays of remote sample approvals.
Producing plastic enclosures requires high-pressure injection molding into steel cavities. Toolmakers typically design molds with excess steel because removing material to fix blemishes is much easier than adding it, and resolving flow lines or knit lines often requires waiting weeks for tool modifications.
The chumby case molds took 4 to 6 weeks lead time required to transform raw steel into a first-shot injection molding tool, and utilized an over-molding process where a two-shot mold injected a rubbery TPE material around the hard ABS bezel.
Relying solely on long-distance communication with overseas factories introduces major delays. Developing custom test stations that program, boot, and verify every device off the assembly line and transfer logs to a domestic server allows engineers to instantly detect yield drops, throughput issues, or operator errors.
For the chumby project, the author built a set of automated testers that recorded all data to a daily log transferred to a US server, allowing him to monitor assembly line performance and debug problems remotely.
2. Factory Operations and Process Optimization
Optimizing production requires thorough bills of materials, robust design for manufacturing, and comprehensive automated testing jigs.
Factories act as crucial innovation nodes because specialized facilities curate domain expertise across multiple competing brands. Because brands use shared external facilities for domain-specific processes like printed circuit board fabrication, competing products run side by side on similar lines. Observing technicians reveals optimization tricks developed through repetition. Visiting Officine Arduino's PCB partner, System Elettronica, allowed the author to observe the production of Arduino Leonardo boards and uncover manufacturing optimization methods.
Inside Three Different Factories
Printed circuit boards are manufactured through a multi-step sequence starting with a copper substrate, followed by mechanical drilling, photo patterning, chemical etching, and soldermask application. Processing begins on copper-clad FR-4 sheets of 1.6mm thickness or 1/16 inch for the standard PCB substrate. You can follow these steps during production:
- Start with a sheet of copper-clad FR-4 substrate.
- Drill all holes, pads, vias, and mounting holes using a CNC drill with 3 panels stacked high for simultaneous CNC drilling.
- Apply photoresist using a light box and high-contrast film or direct laser imaging.
- Develop the photoresist and soldermask in a processing machine.
- Etch and plate the copper through a series of automated chemical baths.
- Strip away unwanted resist and unplated copper.
- Apply protective soldermask and silkscreen layers, producing a finished stack of 25,000 bare Arduino PCBs ready to leave the factory.
- Perform 100 percent electrical testing using flying probe or clamshell methods.
- Route individual boards out of the panel.
Using a secondary layer of specialized soldermask instead of traditional silkscreen enables high-resolution cosmetic artwork on circuit boards. The Arduino team utilized a specific formulation of dry-film white soldermask to print a detailed map of Italy on the backside of their circuit boards. This approach achieves over an order of magnitude improvement in resolution compared to standard silkscreen.
Value-oriented electronics assembly often combines high-tech automated wire bonding with manual, low-tech handling of bare semiconductor dice. At a USB memory stick factory visited in Shenzhen, workers used hand suction vises, tweezers, and bamboo chopstick-like tools to place bare flash memory chips onto adhesive-dotted PCBs across 8 USB sticks per manufacturing panel. Flash memory chips are first tested with a probe card before automated machines handle high-speed wire bonding onto square pads measuring 100 microns on a side, compared to 70 microns diameter for a human hair.
Fully automated assembly lines rely on subtle geometric features that allow components to orient themselves correctly via gravity and vibration. A zipper factory owner explained that a tiny, barely visible tab on certain zipper pullers allows them to be sorted automatically by a vibrapot, whereas smoother pullers lacking this tab must be joined to sliders by hand. This facility uses 1 ton of metal ingots with a 93 percent zinc and 7 percent aluminum alloy composition to produce over 1 million zippers per month with fewer than a dozen employees.
Deploying automation is bounded by economic realities where the cost of building and maintaining robotic systems must compete with the cost of cheap, self-maintaining human labor. Consumer demand for cosmetic perfection often drives manufacturers to adopt high-effort, low-yield production finishes that degrade the long-term user experience. Mirror finishes require meticulous tool polishing, strict white-glove handling, protective plastic films, and high scrap rates despite users immediately covering them in fingerprints.
The Factory Floor
A complete and unambiguous bill of materials is critical for successful manufacturing, whereas standard engineering BOMs lack essential production data.
A bicycle safety light using a 555 timer generated a simple Altium bill of materials with just basic part values, which was totally inadequate for cost quotation or mass production. You must build a complete bill of materials using these practices:
- Include all nonelectronic items like boxes and barcodes.
- Specify approved manufacturers for each component via an approved vendor list.
- Define tolerance, material composition, and voltage specification for passive components, such as a 10 microfarads, electrolytic, 10 percent tolerance capacitor rated for 50V or a 10 microfarads, ceramic, 20 percent tolerance capacitor rated for 16V.
- Fully specify the form factor or package type.
- Include extended part numbers specifying exact package type, manufacturer, and logic family, noting reels of 3,000 pieces for part numbers containing an X or 1,000 pieces for part numbers lacking an X.
Design for manufacturing ensures that physical products remain shippable despite normal component variations and imperfections. A bicycle safety light using resistive current limiting with standard LEDs suffered up to a 40 percent variation in brightness due to a 20 percent LED forward bias voltage variation across Kingbright superbright LEDs ranging from 2 to 2.5V, which required a boost regulator circuit to fix. You should manage these variations with specific procedures:
- Read datasheets and watch for parameters with a large min-max spread, such as the 40 to 300 min-max range on hFE for Fairchild's 2N3904.
- Use capacitors rated for twice the nominal voltage where possible.
- Design cases with wiggle room to absorb mechanical tolerances.
- Work out acceptance criteria for cosmetic blemishes with the factory ahead of time.
A comprehensive factory test program is vital for catching assembly defects and functions as a secondary product that must be engineered carefully. Creating the test rig for a Chibitronics microcontroller sticker took over two months of development using Linux, an FPGA, and a pogo-pin assembly, compared to just two weeks to create the product itself. You can secure product quality by following these steps:
- Strive for 100 percent feature coverage looking at the product from outside and inside.
- Minimize incremental setup effort using jigs with pogo pins or prealigned connectors to test items like a 50-pin flat flex cable adapter tested using daisy-chained connections.
- Automate test procedure into a linear flow with a single button press under 30 seconds to process one board.
- Use icons and colors, not text, to communicate with operators.
- Employ audit logs recording test results correlated to device serial numbers.
- Provide an easy update mechanism to fix test programs remotely.
The choice of manufacturing processes directly impacts a product's perceived quality and finish without heavily altering production costs. The chumby One used a painted blue speech-balloon trim that resulted in a 40 percent defect rate and a 0.35 dollars net cost impact of painted case rejections, which was later solved using a 0.94 dollars cost per case double-shot injection mold process that yielded flawless results. You can optimize industrial design through a structured workflow:
- Start with a sketchbook to decide on soul, identity, and material vocabulary.
- Break down the design by material system and identify capable factories.
- Visit the facility and observe what is actually running down production lines.
- Reevaluate and iterate the design based on factory capabilities.
- Rough out details like sliding surfaces, parting lines, and finishes.
- Pass revised drawings to the factory to finalize draft angles and internal ribbing.
- Validate the design using 3D prints and model checks.
- Trim the initial manufacturing tool to favor modifications that add material.
Treating a manufacturing facility as a strategic partner rather than a vendor ensures better communication, pricing transparency, and favorable terms. Assembling small volumes of a 200-part board costs 2 to 3 dollars in China compared to 20 to 30 dollars in the United States. You can maintain successful relationships with production partners using these guidelines:
- Pick the right-sized factory for your product where you can get direct access to the lao ban.
- Demand an open bill of materials where the cost of every component, process, and margin is explicitly disclosed.
- Deliver value to the factory in nonmonetary ways by being pleasant and constructive.
3. Intellectual Property and Gongkai Innovation
The Chinese gongkai system uses the unrestricted sharing of hardware blueprints as an ad-driven business model to land manufacturing orders.
Unlike Western open-source licenses with strict legal restrictions, gongkai operates on the principle that if blueprints are circulated, they act as an advertisement bringing business back to the creator's factory or sub-assembly lines. Shanzhai innovators build complete feature phones for under 10 dollars by sharing ideas and leveraging collaborative hardware design networks.
The shanzhai are small, underground, bootstrap organizations in China that produce massive quantities of mobile phones and hardware mashups. Operating with minimal capital, these small teams achieve high efficiency and rapid output by specializing in specific manufacturing steps, utilizing open bills of materials, and creating innovative products targeted at emerging markets.
In 2009, an estimated 300 shanzhai organizations in Shenzhen produced around 20 million phones per month, creating heterogeneous compositions like watch-phones and phone models shaped like toy Ferraris or cigarette packs. A typical shop of 250 employees can churn out 200,000 mobile phones per month.
You can purchase a complete, unlocked new-in-box phone for twelve dollars at the Mingtong Digital Mall in Hua Qiang Bei during a 2013 visit, featuring quad-band GSM, Bluetooth, an OLED display, and a keypad. The phone runs on a 260 MHz CPU with 8 MiB of RAM. When the author broke his phone screen at the Futian border in May 2014, he had it fully repaired in Hua Qiang Bei within twenty minutes for twenty-five dollars, while the shop owner offered to buy the broken OLED module.
Gongkai is a Chinese open ecosystem where proprietary design documents are openly shared to promote chip sales, contrasting with the Western broadcast model of intellectual property. Chipmakers like MediaTek distribute schematics and board layouts informally to drive hardware adoption, such as the MediaTek MT6250 IC which has an estimated volume selling price of 2 dollars.
Western engineers can build open source hardware by reverse engineering gongkai designs while carefully navigating copyright and patent laws. Andrew Huang and Sean Cross created the Fernvale project to replicate a shanzhai phone design, utilizing fair use doctrines, avoiding digital restrictions, and adopting licenses with patent poison pills. When official engagement channels failed due to high minimum purchase requirements, they independently re-engineered the hardware.
To navigate this legal terrain safely, follow these practices:
- Exercise the right to reverse engineer in a careful, educated fashion.
- Ensure no encrypted files or access controls are circumvented to avoid DMCA violations.
- Obtain all files from public servers to prevent Computer Fraud and Abuse Act problems.
- Avoid agreements like shrink-wraps, click-throughs, or EULAs that waive rights.
- Extract uncopyrightable facts from proprietary documentation and re-express them in original header files.
Creating custom scripting languages helps prevent subconscious plagiarism when transforming undocumented hardware initialization routines into original works. For undocumented hardware blocks on the MediaTek MT6260 chip used in Fernvale, the authors isolated initialization states and wrote them in a custom scripting language called scriptic.
You can apply these steps to generate original code:
- Isolate and extract the code responsible for initializing hardware block states.
- Reduce the code into a list of address and data pairs.
- Express the data pairs in a custom scripting language designed to avoid subconscious plagiarism.
- Derive sufficient functionality to boot a real-time operating system on custom hardware, operating at an SPI clock speed of 104 MHz.
Fake Goods and Supply Chain Risks
Contract manufacturing in China encompasses a wide spectrum of counterfeit practices, including unauthorized after-hours production runs known as ghost shifts.
Counterfeit goods span upcycled used products, refurbished production rejects, and relabeled storage capacities. Ghost shifts represent a specific risk where contract manufacturers produce extra units of an original product using the same equipment and personnel to sell independently at high margins. You might encounter memory cards with a 4GB actual capacity sold as 8GB as part of the spectrum of fake goods encountered in China.
The electronics gray market employs diverse methods of counterfeiting, ranging from trivial external mimicry and refurbished e-waste to sophisticated rebinning and ghost shifts. Counterfeit strategies include empty packages with fake top marks, desoldered e-waste chips cleaned and reballed, chips remarked with higher speed grades, and unlogged night-run parts from authentic fabs. Refurbishing and reselling cheap e-waste chips as brand-new commands a price markup of 10 times compared to purchase prices like 10 cents per pound for crudely desoldered MSM-series smartphone chips.
Counterfeiters can produce integrated circuits of such high quality that they bypass standard visual inspections and require destructive decapsulation to identify. In 2007 while working with Chumby, the author investigated suspicious ST19CF68 chips from an Asian source, dissolving the epoxy packaging to find cheaper Fairchild 74LCX244 buffer chips housed inside pristine packages with 20 pins instead of the expected 8 pads.
Long product lifecycles and decades-long shelf lives make military hardware uniquely vulnerable to counterfeit and refurbished electronic components. A 2011 Senate hearing report revealed that badly refurbished parts used in the Navy's P-8 Poseidon plane built by Boeing caused a key system to fail. Under Amendment 1092, first-time individual offenders face fines up to $5 million and a 20-year prison sentence, while corporations face fines up to $15 million.
Simple physical measures like laser-engraved 2D barcodes and UV temperature-sensitive dyes could drastically reduce electronic component counterfeiting and reuse. Embedding 2D barcodes on chips larger than 1 cm ensures uniqueness, while mixing UV dye into the package epoxy that changes fluorescence upon solder reflow prevents reconditioning, much like biotech labs use Matrix 2D tracking systems to monitor disposable sample tubes successfully.
Detailed forensic investigation of card ID registers and internal die construction can expose irregular ghost-shift memory cards hidden within legitimate supply chains. In December 2009 during the chumby One production run, surface-mount yield dropped due to approximately 1,000 defective microSD cards costing $4 or $5 each. Inspecting CID registers, OEMIDs, and serial numbers revealed normal cards had decimal serial numbers like 2,623,720,166 compared to low serial numbers like 2,400 in irregular cards produced via side-by-side bonding and stacked CSP practices.
The massive profit margins on high-end components incentivize suppliers to relabel preproduction engineering samples as full production units and blend them into batches. During production of the Kovan robotics board in March 2013, a white screen issue accounted for 80 percent of unit failures, representing 4 percent of the total run of $11 FPGA chips. The issue occurred because Xilinx engineering sample parts, which have minor known bugs and different JTAG ID codes, had their ES designator blasted off with a laser.
4. Open Hardware and Practical Creation
Building open hardware like chumby and Novena proves that pragmatic sharing and direct community engagement outperform rigid corporate IP control.
Open hardware cannot be purely open source down to silicon manufacturing tools. You must focus pragmatically on sharing schematics and designs rather than demanding open particle accelerators. Andrew Huang kept a yellow, tattered schematic of the Apple II computer near his monitors since childhood as a blueprint with patent number 4,136,359 that taught him hardware is knowable.
What Open Hardware Means
Designing a consumer product to be as open as possible invites hackers and makers to discover unintended functionalities. The creators of chumby made schematics, board layouts, bill of materials, and 3D CAD databases freely available on the wiki. A hacker could mod two chumbys—one with a temperature sensor and one with a thermostat interface—to regulate living room temperature while displaying news.
Facing the 2008 economic downturn, you need radical cost reduction and hardware architectural changes. Andrew Huang adopted the inexpensive Freescale i.MX233 CPU, learned SolidWorks for 3D mechanical integration, and stored firmware on an internal microSD card. The chumby One retailed for about half the price of the chumby classic, included an FM radio and rechargeable lithium-ion battery, and shipped its first batch of chumby Ones 35,000 feet above the Pacific Ocean in November 2009.
Retail and distribution present severe financial and logistical hurdles. Brick-and-mortar merchants view products as raw grams of plastic and wire and pay slowly up to 90 or 120 days. Retail pricing is quantized into magic numbers like $19.99, $49.99, or $99.99, and retailers try to buy your product for between 40 and 60 percent of your MSRP. The shelf cost of a product is about three times your BOM cost. Venture capital funding is poorly suited for early-stage hardware because physical scalability is constrained by the movement of atoms. Bootstrapping enforces strict operational discipline:
- Fund research and development out of pocket or with a friendly angel loan.
- Go into debt to finance small batches of builds once you have a prototype and production plan.
- Plow money from every inventory turn back into making more inventory.
Growing a business by over 300 percent in one year is possible by turning inventory once every eight weeks at 20 percent growth. Your $100 turns into $120, $144, $172, and $207 on the fourth turn with a 20 percent growth rate. In seasonal consumer electronics markets, shipping a good-enough product on time is drastically more critical than building a perfect product. Raising a million dollars to burn in a year means every day costs $4,000, and up to 90 percent of consumer electronics business can happen in the fourth quarter.
Laptops and Stickers
Building a custom, open-source laptop for hackers starts as a casual side project driven by personal design frustrations. Andrew Huang and xobs started the Novena project in 2012 targeting the 1.2GHz Freescale i.MX6 quad-core ARM architecture computer. Novena was offered in an all-in-one desktop tier for $1,195, a laptop tier for $1,995, and a hand-crafted heirloom laptop tier for $5,000 to meet the $250,000 minimum funding goal for the Crowd Supply campaign, which ultimately pledged 1,000 people.
To build bespoke enclosures for the Heirloom Novena, woodworker Kurt Mottweiler and Andrew Huang collaborated in Portland, Oregon, with Nadya Peek and Will Langford at MIT. They tested the composite using an Instron 4411 electromechanical testing machine and discovered it has a density of 0.49 g/cm3, a flexural strength of 33 megapascals, and a flexural modulus of 2.2 to 3.2 gigapascals. Heirloom laptop backers also received Samsung 850 PRO solid-state drives backed by a 10-year warranty, packed with over 4 trillion V-NAND transistors in a 38-layer active transistor sandwich.
Producing the Novena plastic case required opening 10 injection-molding tools with manufacturing partner AQS in Dongguan, China. Initial T0 test shots revealed defects that were systematically corrected to reach T1 status:
- Inspect test shots for sink marks caused by uneven feature thickness and thicken thin regions to eliminate surface puckering.
- Locate knit lines where molten plastic streams meet, and position injection gates strategically in hidden areas like rubber foot wells.
- Adjust injection pressure, cycle length, and temperature iteratively over hundreds of test shots to eliminate feathery flow marks.
Backers also received the General-Purpose Breakout Board, which converted dense high-speed signal headers into a 40-pin header. You can configure this GPBB for entry-level use:
- Connect the General-Purpose Breakout Board to the dense FPGA header to access beginner-friendly 0.1-inch-pitch connections.
- Configure the software setting to let external I/Os default to 5V or 3.3V.
- Adjust the lower voltage down to 2.5V or 1.8V by soldering a single designated resistor on the board.
10 Key Ideas
- Guaranteeing payment for defective units removes the financial penalty for factories and enables ultra-cheap assembly processes to achieve much faster delivery times despite higher scrap rates.
- Building a complete bill of materials with all nonelectronic items, approved vendor lists, and extended part numbers is critical for avoiding costly miscommunication and achieving successful mass production.
- Shenzhen operates as a massive, hyper-efficient hardware manufacturing ecosystem where vast electronic component markets, cheap technical literature, and hundreds of flexible factories converge to dramatically accelerate product development.
- Treating a manufacturing facility as a strategic partner by securing direct access to management and demanding an open bill of materials ensures better communication, pricing transparency, and favorable terms.
- Counterfeiters can produce integrated circuits of such high quality that they bypass standard visual inspections and require destructive decapsulation to identify hidden components.
- The Chinese gongkai system uses the unrestricted sharing of hardware blueprints as an ad-driven business model where open design documents act as an advertisement bringing manufacturing orders back to the creator's factory.
- Designing consumer products to be completely open empowers hackers and makers to discover unintended functionalities and adapt existing hardware for entirely new use cases.
- Bootstrapping hardware development enforces strict operational discipline by funding research out of pocket, going into debt for small batches, and plowing money from inventory turns back into making more inventory.
- Shipping a good-enough product on time is drastically more critical than building a perfect product in seasonal consumer electronics markets where the vast majority of business happens in the fourth quarter.
- Exercising the right to reverse engineer in a careful, educated fashion requires avoiding digital restrictions and extracting uncopyrightable facts from proprietary documentation to re-express them in original works.