Pooya from Iran talks about his experience in Shenzhen, China. There’s more and more hackers visiting Shenzhen to check out the world’s largest electronics market and manufacturing ecosystem. This semi-regular series asks who they are and what they found.
New MurchLabs TinyLoadr Shield

Jeff Murchison has released a new version of my TinyLoadr Shield, which was used for programming ATmegas and ATtinys using your Arduino.
The new version is just a USBtinyISP-based programmer with a ZIF socket for DIP microcontrollers and 10 and 6-pin ICSP headers for programming target boards.
More information can be found at MurchLabs.
Via the contact form.
A programmable power lamp shield based on Slenduino

Orlando Cosimo writes:
A Programmable Power Lamp shield based on Slenduino…. not only a lamp.
In this project we want to solve a typical problem that everyone can get when have to switch on-off an high power led. And, at the same time, to realise our project to work with our board, Slenduino.
Voice echo project

A voice echo module with build-in amplifier project by Rajkumar Sharma of Electronics Lab:
A project has been designed around Holteks Ht8970 voice echo IC. Project can be used in various audio systems karaoke, toys, animatronics, show, display, exhibitions, and sound equipments.
The HT8970 is an echo/surround effect processor. It is designed for various audio systems including karaoke, television, sound equipments, etc. The chip consists of a built-in pre-amplifier, VCO or Voltage Control OSC, 20Kb SRAM, A/D and D/A converters as well as delay time control logic.
Back to the mc-17 remote control

Tim writes:
After the Maker Faire, I went back to the Graupner mc-17 remote control.
The Arduino library from tronixstuff for the KTM-S1201 LCD which is also using a mPD7225 controller was a good starting point. But to get the LCD up and running, it took quite a bit of fiddling and logic sniffing.
Once the controller allowed me to switch on individual segments of the LCD, I needed to adapt my implementation to this specific display, as it offers remote control specific elements unusual for normal LCDs. With a proper mapping of bits and bytes to their respective LCD elements, it was easy to implement the usual alpha-numerical characters. Each of the digits is controlled by a word / two bytes. For each byte, one bit is used to control one of the additional symbols like colons, dots, or remote controls specific texts.
Using the AS5048A angle sensor

Richard from Zoetrope wrote this blog article about a PCB to make using the AS5048A angle sensor really easy. He used dirtyPCBs for the board, and Zoetrope will be giving a few of them away.
Via the contact form.
A look inside a ’70s voltage and current standard

SQKYBeaver did a teardown of a Techtron Standards type 51 voltage and current standard:
Absolutely amazing inside! The wires to the front panel look like the were loomed by a professional Spacecraft mechanic. every one individually numbered it must have taken hours. only 4 rc4136 quad opamps for all this functionality, two dating back to 1973.
OpenSprinkler Firmware 2.1.0 released
Ray Wang from RaysHobby announces the release of OpenSprinkler Firmware 2.1.0.
OpenSprinkler is an open-source, Arduino-based, web-connected sprinkler controller. This new firmware is a major upgrade that introduces a number of new features, including automatic weather-based watering adjustment (using real-time data from Wunderground.com), timezone and DST detection, logging, and a new unified mobile interface. It also now supports 17 different languages (thanks to many users who contributed to the translations).
Details can be found in Ray’s blog post. The OpenSprinkler source code is available on GitHub.the contact form.
#FreePCB via Twitter to 2 random RTs

Every Tuesday we give away two coupons for the free PCB drawer via Twitter. This post was announced on Twitter, and in 24 hours we’ll send coupon codes to two random retweeters. Don’t forget there’s free PCBs three times a every week:
- Hate Twitter and Facebook? Free PCB Sunday is the classic PCB giveaway. Catch it every Sunday, right here on the blog
- Tweet-a-PCB Tuesday. Follow us and get boards in 144 characters or less
- Facebook PCB Friday. Free PCBs will be your friend for the weekend
Some stuff:
- Yes, we’ll mail it anywhere in the world!
- Check out how we mail PCBs worldwide video.
- We’ll contact you via Twitter with a coupon code for the PCB drawer.
- Limit one PCB per address per month please.
- Like everything else on this site, PCBs are offered without warranty.
We try to stagger free PCB posts so every time zone has a chance to participate, but the best way to see it first is to subscribe to the RSS feed, follow us on Twitter, or like us on Facebook.
Bus Pirate v3.6 DIY plexiglass case

Tim designed a plexiglass case for his Bus Pirate v3.6:
Just a colourful photo of my newest acquisition, the Bus Pirate v3.6 in a quick 2hr diy plexiglass case
Get an assembled Bus Pirate for $30, including world-wide shipping. Also available from our friendly distributors.
DIRTY TUESDAY: A bumpy road to streamlined service

A few months ago we started a private PCB website so our team can get cheap PCBs from a fab in China. Someone spilled the beans, and it hit Hack a Day, Hacker News, etc. We almost shut it down, but it was too much fun to hack and refine the process. Dirty Tuesday is a weekly post about our misadventures accidentally starting a PCB service. As a design shop with Seeed Studio doing fulfillment, we’ve never been on this side of the fence and want to share the terrifying experience.
DirtyPCBs. A site named to manage expectations. We’re not a PCB company, we’re a couple hackers with access to a cheap board house in China helping out other geeks. The cheapest board house, really. It’s no secret, rank Taobao results by price and you have our supplier list. Despite our flippant attitude and dirty board house, we do our best to offer extremely good service. Here’s some highlight of our comedic attempts to overlay first class service on top of China’s cheapest PCB manufacturer.
Sorting orders
Briefly mentioned last week, our original goal was to make cheap prototype PCBs without adding annoying little numbers to the silkscreen. Our solution: stickers! The board house must already have a way of tracking boards through production, so we’d have them put an order number sticker on each pack.
The factory agreed to do this, no problem. We printed shiny metallic stickers on a trusty Postek C168 (far superior to the G3106) acetate transfer label printer and sent them to the factory via SF (UPS of China). The first batch of boards with labels arrived a few days later and we mailed them out.
A week after we start getting emails with variations of “not my PCBs”. Apparently the factory applied the labels randomly to any board of similar size and color. At the time we didn’t have an image of each board to reference before shipping, and we placed all our trust in color and size. We ended up replacing a few dozen boards at our own expense.
Solution: we gave up and added the PCB ID to the silkscreen of each board.
Colors and Quantity
Dirty board house doesn’t charge for colors, and neither do we. However, sometimes the board house sends boards in the wrong color. From their perspective it’s a cheap PCB for the Chinese market, it works (100% e-test), it didn’t cost more, better luck next time.
The board house is supposed to send 10 of each board, as advertised on their Taobao page. Most of the time they send 12 or more PCBs. We’ve even seen 50 of a medium board, and 200 of a tiny board panelized for free into a 10x10cm order. About 1-2% of the time, they send only 8 or 9 PCBs. Once or twice we’ve even seen just 7. As with colors the board house doesn’t care or want to replace them. Our sales rep argued extensively that most people only want one or two anyways, and they gave us extra PCBs in other orders. We mostly agree, but that doesn’t fly with buyers outside China.
Dirty customers are awesome. We email explaining the situation, and most people have no problem with fewer PCBs. Getting the wrong color is more disappointing but not the end of the world. As the volume of boards going through DirtyPCBs increased this because a huge time sink. Counting each order, writing emails, and tracking replies was so frustrating that we shut the site on several occasions.
Solution: the “protopack”. Instead of selling quantity 10, we market the service as a prototype PCB package with + or – 10 boards. Usually you get more, sometimes you get a few less. If you really need ten, you can choose quantity 10 for 25% more money to pay for the increased hassle. To date nobody has paid extra to guarantee 10, and there have been no more emails about too few boards.
Rush orders
Most board houses in China offer 48 hour and 24 hour board processing options. Usually this works pretty well, but it isn’t guaranteed. It just means your boards won’t be held in queue until they can be done with a huge batch of other boards. This is great if you’re doing prototypes in China as a board really can be delivered the next day if you time it right.
Depending on the board house load, rush service can cut a week or more off normal processing time. It really can speed development at a cost way less than having a rush order made and shipped from a US-based board house. However, we’re not actually the manufacturer – boards still have to ship to us, we have to pack them, and then hand them off to logistics. This led to some angry emails early on when buyers thought their boards would ship in 24 hours or less.
Solution: we label the 48 hour service “rush (2-3 days)”, and the 24 hour service “emergency (1-2 days)”. The extra day is absolutely needed for the boards to be delivered to us (same or next day).
4 layer board house
4 layer boards are not so dirty and come from a different cheap board house found on Taobao. While the 2 layer house loves working with us, the 4 layer board house is completely indifferent.
Each order has to be uploaded to the 4 layer board house website. The zip file cannot have the same name as anyone’s previous order. Once you tackle that lovely bit of poorly thought out code, you fill in all the specs and wait.
Within a day an engineer verifies the board and then calls to confirm it. Each and every one. If there’s an error, upload new gerbers (can’t be named the same!) and start over. When all is good, login again and pay via Alipay.
This process drives everyone nuts. We’re fully integrated with the 2 layer board house. We send an email with attachments and a spreadsheet in their internal factory format. From there boards pop out on the other end with minimal handling. We asked the 4 layer board house about better integration. The sales guy said “it only takes 10 minutes a board”, and “our big clients just hire someone to enter boards all day”. Lovely.
While the 2 layer board house allows panelizing, the 4 layer board house doesn’t. In fact, they charge more to process a panelized board than it costs to do the panelized designs separately in individual orders.
The 4 layer board house has rush (72 hour) and emergency processing (48 hours) for 4 layer boards. However, you can’t combine that with a color or ENIG coating. Gottcha!
Solution: future tour to get around sales reps and talk to an actual manager about production line integration. Apply cognac or tea liberally and see what happens. We’ll post pics, promise!
Missing boards
Sometimes boards just don’t show up. Our dirty backend system shows the age of each order and we nag about it as needed. Many times the board house simply forgot about them, sometime their system says they’ve shipped already.
Our system is simple and redundant. For each batch of boards we print a packing list and keep them in dated files. When boards arrive we scan a barcode on the packing list to load images of the order. We we compare the boards for design, color and coating, then scan the barcode again to mark it shipped. At this point the shipping label is printed and placed on the box. If the database says a board has not been shipped, and the packing label is still on file, its highly likely we didn’t receive it.
Solution: if DirtyPCBs gets another update before we pull it offline, it will auto-nag the board house about all orders past 7 days. The auto-nag will include the missing boards as attachments so they can skip asking for the files again if they were lost.
Queued shipping
Very recently we noticed that boards started coming only once or twice a week. Usually Tuesday and Friday. Three or four giant boxes would show up, so heavy that I felt genuinely bad that Xiao Tang had to drag them up seven flights of stairs (and then back down for shipping).
The Tang had to process half a week of boards in a few hours and then lug them up to espeed logistics in giant bags. The rest of the time he was bored. There’s nothing worse than a bored Tang.
A quick call to the board house confirmed that they were holding our orders for a few days so that we could save $1-$2USD per batch on shipping. They seemed rather proud to have given us this excellent money saving opportunity, but we explained that people want their boards fast and we’d rather pay more.
Boards started arriving more frequently again but not every day. Including rush orders, we should get 2-3 parcels every day. After some digging we found out the cheap delivery company was batching up our deliveries so they didn’t have to come every day.
Solution: all orders, stencils, etc are now shipped by SF. In China SF is like UPS or Fedex, but much cheaper and faster. It costs twice as much to have boards delivered now, but the service is much more reliable.
Conclusions
Running DirtyPCBs has been a first hand look at dealing with suppliers, customers, and logistics. Each bump in the road was a traumatic yet fun chance to hack a system. It’s been a great experience to get a taste of this side of the industry, but it also reenforces our desire to have Seeed Studio and our fantastic distributors handle all this stuff for our projects.
The cover image is PCB etching and drilling equipment. In a pile. In a parking lot. In the rain. Just chilling. Photos from our factory tour soon.
Classic NES played using a Kinect

Control your classic NES console with the Kinect V2 sensor by Paul DeCarlo:
Ingredients:
- An NES console with game to test
- An NES controller OR some wiring skills and a CD4021BE 8-bit shift register
- 12 strands of wire, recommend Kynar
- 8 1k resistors (technically any value from 1k to 50k should suffice)
- 2 3.6k resistors (again higher not necessarily bad)
- IoT board capable of running Firmata, Intel Galileo or Arudio Uno etc.
- Kinect V2 Sensor for Windows OR recently announced Kinect V2 Adapter and existing Xbox One Kinect Sensor
- Machine capable of running the Kinect V2 SDK
Via Hacked Gadgets.
Check out the video after the break. Continue reading “Classic NES played using a Kinect”
ChronodeVFD: Wearable Electronics VFD wristwatch

Johngineer wrote an article detailing the build of his ChronodeVFD wristwatch:
The ChronodeVFD is a personal project I’ve been working on for a couple of months. It’s a wristwatch built around the IVL2-7/5 VFD display tube. I originally purchased a few of these tubes to build a standard desk clock, but after playing around with them, I realized I could probably build a wristwatch too. The tube has a number of features which make it more suited than most Soviet-surplus VFDs for this purpose.
Via Electronics Lab.
High voltage serial programming for AVR chips with the Bus Pirate

Leonerd writes:
I am happy to report a full success using the Bus Pirate to program HVSP on the 8- and 14-pin ATtiny chips. This requires a small additional bit of hardware, to use the AUX pin to control a +12V supply to the ‘tiny RESET line, and the 4 GPIO pins attached to the 4 HVSP control lines. It’s not the fastest way to program the chip (given as HVSP is custom 11-bit serial, requires 22 bytes of Bus Pirate control per byte written to the chip), but it works well enough to reset fuses and the like.
More detail as well as code to implement it can be found at metacpan.org
Get your own handy Bus Pirate for $30, including world-wide shipping. Also available from our friendly distributors.
Hacking Android on the UDOO board (for SATA and S/PDIF)

Computer engineer Primiano Tucci has been experimenting with Android on the UDOO board.
I recently came in possession of a UDOO Quad board. The hardware onboard is pretty powerful compared to many other competitor boards. Unfortunately, however, the software support for Android is lagging a bit. In particular, in the latest image shipped by UDOO (Android JB 4.3 v2.0.2) both the SATA port and the S/PDIF digital audio output are not functional. For this reason I spent some time working on a fork of the image and patched both the Kernel and the Android framework to fix it. All the work described here is based on the Android 4.3 Sources v2.0 (U-Boot, Kernel, File System) from udoo.org and is open-source, maintained in my GitHub account.
For details and links to code downloads visit Primiano Tucci’s blog.
Free PCB Sunday: Pick your PCB

We go through a lot of prototype PCBs, and end up with lots of extras that we’ll never use. Every Sunday we give away a few PCBs from one of our past or future projects, or a related prototype. Our PCBs are made through Seeed Studio’s Fusion board service. This week two random commenters will get a coupon code for the free PCB drawer tomorrow morning. Pick your own PCB. You get unlimited free PCBs now – finish one and we’ll send you another! Don’t forget there’s free PCBs three times every week:
- Tweet-a-PCB Tuesday. Follow us and get boards in 144 characters or less
- Facebook PCB Friday. Free PCBs while you wait for the weekend
- Free PCB Sunday, right here on the blog
- Check out how we mail PCBs worldwide
App note: Lithium coin-cell batteries: Predicting an application lifetime

An application note (PDF) from MAXIM.
The typical specification for lithium coin-cell batteries has been to provide a 10-year battery lifetime in the absence of system power. End users should evaluate the anticipated lifetime in their specific application, especially for those that exceed typical commercial environments or that need to last more than 10 years. This article gives the reader an overview of the major factors affecting the lifetime of an IC that can be powered by either the system power or a lithium battery for a backup supply.
App note: I2C interface connects compact flash Card to microcontroller

CF cards needs a lot of I/O resources in order to communicate, here’s MAXIM’s solution(PDF) using their MAX7311 I/O expander to interface these type of data storage devices.
This application note explains how to use an I2C I/O extender to connect a compact-flash (CF) card to the I2C interface of a microcontroller. The software commands for reading and writing data are explained.
App note: AXI Chip2Chip reference design for real-time video

AXI Chip2Chip reference design for real-time video application (PDF!) from Xilinx:
The LogiCORE™ IP AXI Chip2Chip is a soft Xilinx core that provides bridging between Advanced eXtensible Interface (AXI) systems for multi-device System-On-Chip solutions. This application note provides a setup demonstrating real-time video traffic across Kintex®-7 FPGA and Zynq®-7000 All Programmable (AP) SoC boards. The setup uses the AXI Chip2Chip core for connectivity across two Xilinx boards using FMC connector cables.
App note: 8-bit RISC microcontroller

Here’s an app note (PDF!) for In-System Programming Solution for AVR microcontrollers from Atmel:
Features
• Complete In-System Programming Solution for AVR Microcontrollers
• Covers All AVR Microcontrollers with In-System Programming Support
• Reprogram Both Data Flash and Parameter EEPROM Memories
• Complete Schematics for Low-cost In-System Programmer
• Simple Three-wire SPI Programming InterfaceThis application note shows how to design the system to support In-System Program- ming. It also shows how a low-cost In-System Programmer can be made, that will allow the target AVR microcontroller to be programmed from any PC equipped with a regular 9-pin serial port. Alternatively, the entire In-System Programmer can be built into the system allowing it to reprogram itself.
