I offer two kinds of shipping: DHL and registered Hong Kong Post. Both of them have proven to be very reliable.
Hackvana PCBs are produced in and around the city of Shenzhen China, which is right on the border with Hong Kong.
When boards are shipped by DHL, they're picked up from the dispatch office by a DHL staffer who takes them and punts them into DHL's system. No surprises there. The next step for anything sent by DHL in Shenzhen that's bound for outside of China is that the packages make their way to Hong Kong. This involves clearing customs in China and Hong Kong. From when the package leaves the office to when they're safely tucked away on a plane out of Hong Kong takes about a day.
When boards are shipped by HK Post, they are collected from the dispatch office by a private contractor. This contractor takes the sacks of packages from the office in Shenzhen across the border into Hong Kong. Once they're in Hong Kong, the packages are handed over to Hong Kong Post for the rest of their journey.
Side note: Last year (2013) there was a time where I was forced to use China Post. Packages sent by China Post get bagged and sent to the city of Xiamen a few hours up the Chinese coast. Delivery took four weeks in many cases, and many packages got lost. I'll never use China Post again. If your supplier in China suggests China Post, run away.
When your boards ship, I'll send you a tracking number (for DHL) or a registration number (for HK Post). What's the difference between these two kinds of number?
DHL's tracking number lets you see what's happening with your package in real time. You can visit DHL, enter the number, and find out where it is. You can even ring DHL and give them alternative delivery instructions.
The status of packages sent by HK Post is not live, and the information is not updated in real time. In fact, there's no guarantee you'll be able to find out anything about your package. However information about where your package has been does come through and you can visit 17track.net and get some information. The first scan can take several days to turn up.
My experience with Hong Kong Post is that it is super-reliable. There have been a small number of problems, but these have been either a problem at the customer's end (twice, a customer's partner has received the package and then stashed it somewhere the customer didn't know), or a problem with the local mail delivery service in the customer's country. There was also a time last year when all HK Post packages were suspended because of an issue with Lithium ion batteries. That's what forced me to go to China Post).
You might ask "so if Hong Kong Post is so reliable, why pay the extra USD3 to send it registered?"
There are three reasons. The first is to confirm that I sent your package to you. HK Post has been so reliable that I'm certain your package will get there. However if it hasn't turned up, you might be concerned that it was never sent in the first place. Registration lets you and me verify that it was sent.
Second, registration lets me confirm that delivery was attempted. if your package didn't turn up, you're going to be writing me an angry letter asking me to remake your boards. And being able to see that delivery was attempted steers us clear of it being my word against yours that it was sent. If you want me to consider replacing your boards, better send it registered. I certainly won't replace them if it wasn't sent registered.
The third (and most important) reason is that when a postal worker sees the registration sticker, well, they won't throw your package into the bin, or over a hedge, because they know that if they do, I'll be able to track them down. So sending it registered is a bit like a magic spell which keeps your package safe from postal workers!
So, what are some other good things to know?
Well, with DHL I have to declare the true value of the package, so if the customs service in your country charges steep duty on everything (for example, Britain charges 20%), then paying this on entry is going to be a bit annoying. Packages sent through HK Post by our shipping partner (goodluckbuy.com) are declared to have a value of USD10, and usually no duty is paid on them (Germany is an exception).
HK Post is generally faster than people think. The average delivery times to England, France and Germany is about 7-8 days. The average time to Australia and the USA is about two weeks. Some European countries can be 3 weeks or longer. It really depends on the efficiency of the postal service in the country the package is going to.
HK Post has a weight limit per-package of about 2-3kg. If your PCBs weigh more than this, your PCBs may be split up into separate packages. With DHL there's effectively no weight limit and your items can be sent in one package. I have sent packages of boards and parts weighing nearly 40kg, and I know DHL are happy to move objects weighing more than a tonne. You'll pay for it though.
HK Post can deliver to a PO Box, whereas DHL won't. With DHL you have to give the address of somewhere that can accept a package for you during business hours.
DHL costs more than HK Post, but if you want to get your boards quicker, it's the way to go. I offer "combo shipping" to help with the shipping price. If you and your friends want to order at the same them, then I'm happy to ship them together. Each person gets their own Hackvana paperwork and organises their own payment with me. At delivery time, all the boards are put into the same bag. This means that shipping for each person will be lower. This is a good way to go if you're part of a club and can organise to get boards made at the same time.
Friday, February 21, 2014
Sunday, February 2, 2014
Slots in KiCad
This post shows you how to create PCB slots using KiCad. It's a follow-on from my general Slots article.
In the pad properties, set the "Pad type" to "NPTH, Mechanical", set the Pad shape to "Oval", and set the Drill shape to "Oval". Then edit the pad X and Y to be the dimensions of the slot, and set the drill X and Y to be the same size:
I think you don't need to set the layer.
Next we're going to trace around the outline of the slot with thinner lines, in the "Edge Cuts" layer. Select "Edge Cuts", then the line tool, and do the two parallel horizontal lines:
Now draw the ends of the slot using the arc tool:
Pro tip: Rather than using four 90° degree arcs, you can use 2 180° arcs by drawing one arc then setting the arc angle to 1800, which is 180°'s worth of 1/10° increments:
Now that we've traced all around the outline of the slot, erase the inner stroke from the Eco2.User layer:
And finally reduce the line width of the outline strokes in Edge Cuts:
Here's the finished outline done with 0.001mm lines:
This outline will then be present in your outline layer after gerber generation.
Thanks to Honeyclaw for the pictures. Used with permission.
Slots in the drill file.
First, place a hole module on your board. In my KiCad, it's called "douille_4mm". You can then load the hole into the module editor, and edit the pad.In the pad properties, set the "Pad type" to "NPTH, Mechanical", set the Pad shape to "Oval", and set the Drill shape to "Oval". Then edit the pad X and Y to be the dimensions of the slot, and set the drill X and Y to be the same size:
I think you don't need to set the layer.
Slots in the outline file.
First set the current layer to "Eco2.User", and use the line drawing tool to draw a fat line of the size of the slot you'd like:Next we're going to trace around the outline of the slot with thinner lines, in the "Edge Cuts" layer. Select "Edge Cuts", then the line tool, and do the two parallel horizontal lines:
Now draw the ends of the slot using the arc tool:
Pro tip: Rather than using four 90° degree arcs, you can use 2 180° arcs by drawing one arc then setting the arc angle to 1800, which is 180°'s worth of 1/10° increments:
Now that we've traced all around the outline of the slot, erase the inner stroke from the Eco2.User layer:
And finally reduce the line width of the outline strokes in Edge Cuts:
Here's the finished outline done with 0.001mm lines:
This outline will then be present in your outline layer after gerber generation.
Thanks to Honeyclaw for the pictures. Used with permission.
Slots
Sometimes a design needs some non-round cut-outs in the board. These are often in the form of slots. If you need slots, here are some things to keep in mind.
During manufacture, slots are created using CNC routing. The milling bit used to create them is 0.8mm in diameter, so this sets the minimum width of the slot.
The files you send need to show where you'd like the slots. There are two ways to do it.
The first way is by putting them into the Excellon drill format. This format can do simple slots as well as holes. A simple slot is basically a line that goes from one point to another. Because it's an extension of a hole, the ends of the slot will be rounded. It's possible to overlap these slots to make more complex shapes, but it's a bit limited by the format supporting only fixed-width slots, rather than arbitrary polygons.
If your design requires plated slots, then make sure the slot definitions go into your plated drill hole file (generally with a .txt ending). If you need unplated slots, put the slot definitions in your unplated drill hole file (generally with a -NPTH.txt ending).
If you'd like to see how to do this with KiCad, see my Slots in KiCad article.
The second way is to put the slot information into your outline file, just as for your board outline.
Consider for a moment how strokes in your outline layer define the size of your board. The outline of your board isn't affected by the stroke width (it's ignored), but by the centreline of the stroke. And the same is true of any slots in the outline file: It's the centreline of the strokes that sets the boundaries of the slot. So apart from keeping in mind that the the minimum slot width is 0.8mm, you don't need to do anything that takes into consideration how the factory will make the boards. I.e., you don't need to allow for the tool size when defining the slot.
Let's say you want a slot that's 3mm across. There are two ways to do this. The first is to have a stroke in your outline layer with a width of 3mm. The second way is to have two very thin parallel strokes, plus corresponding arcs at the end, that form a polygon enclosing a space of width 3mm.
The fabs I use accept both, although my preference is for the latter, for three reasons:
So, both the drill file method and the outline layer method are valid and common. When to use one over the other?
If you need plated slots, you have to use the drill file method.
If you want to see the slots using gerbv or gerbview, choose the outline layer method, as these programs don't display drill file slots.
Finally, here's a lovely example of a board that was done using the outline layer method:
You can see conventional slots (between the top, middle and bottom board), rectangular slots on the bottom board, and non-rectangular cutouts in the right-hand board.
During manufacture, slots are created using CNC routing. The milling bit used to create them is 0.8mm in diameter, so this sets the minimum width of the slot.
![]() |
These slots are minimum width (Image:RikusW, used with permission) |
The first way is by putting them into the Excellon drill format. This format can do simple slots as well as holes. A simple slot is basically a line that goes from one point to another. Because it's an extension of a hole, the ends of the slot will be rounded. It's possible to overlap these slots to make more complex shapes, but it's a bit limited by the format supporting only fixed-width slots, rather than arbitrary polygons.
If your design requires plated slots, then make sure the slot definitions go into your plated drill hole file (generally with a .txt ending). If you need unplated slots, put the slot definitions in your unplated drill hole file (generally with a -NPTH.txt ending).
If you'd like to see how to do this with KiCad, see my Slots in KiCad article.
The second way is to put the slot information into your outline file, just as for your board outline.
Consider for a moment how strokes in your outline layer define the size of your board. The outline of your board isn't affected by the stroke width (it's ignored), but by the centreline of the stroke. And the same is true of any slots in the outline file: It's the centreline of the strokes that sets the boundaries of the slot. So apart from keeping in mind that the the minimum slot width is 0.8mm, you don't need to do anything that takes into consideration how the factory will make the boards. I.e., you don't need to allow for the tool size when defining the slot.
Let's say you want a slot that's 3mm across. There are two ways to do this. The first is to have a stroke in your outline layer with a width of 3mm. The second way is to have two very thin parallel strokes, plus corresponding arcs at the end, that form a polygon enclosing a space of width 3mm.
The fabs I use accept both, although my preference is for the latter, for three reasons:
- The thick stroke method relies on not ignoring the width of the defining stroke. So it puts the factory in a situation where they have to assess every stroke in your outline layer and work out whether thickness is significant.
- The thick strokes look terrible when viewed with tools such as gerbv and gerblook.
- My panelisation tools have trouble panelising designs that use thick strokes.
So, both the drill file method and the outline layer method are valid and common. When to use one over the other?
If you need plated slots, you have to use the drill file method.
If you want to see the slots using gerbv or gerbview, choose the outline layer method, as these programs don't display drill file slots.
Finally, here's a lovely example of a board that was done using the outline layer method:
![]() |
Lots of exciting slot action here, using the outline file method. Design by mog, shared with permission |
Monday, February 6, 2012
What's the Hackvana plan?
I recently re-read the notes I wrote back in June of last year about my Hackvana vision, and so far, that vision has survived intact. The last six months have very much been investigation and set-up phases. I now feel I am ready for the next step - handling orders and doing business.
Ultimately I'd like to be a parts company. Or rather, a bill-of-materials company where the bill-of-materials can contain any electronic part you can think of. However people really want to be able to get all their parts in one place. Someone who can't find a particular part their project needs will as likely as not go somewhere else for the whole bill-of-materials. So my goal is to have 98% of parts for 98% of people.
I've heard it said that we only use about 25% of the functionality of the typical word processor or spreadsheet. The problem is that your 25% is different to my 25%. In order to be useful to you, to give you the functionality you need, the program needs to be huge. I face the same problem with parts. In order to have 98% of parts for 98% of people, I'm going to need a lot of parts. How many parts? I'm imagining it's a very large number, and my first guess is at least 100,000. And 100,000 is a big number, far bigger than I can get going in a few weeks or so. So I have to work out how I can get to that point, in several stages, while having something I can do for business. I need to release something achievable today, so that I can get to parts tomorrow. Here's my plan:
- PCBs
- Kits for projects we choose.
- Bills-of-materials for projects from customers.
After that, I'd like to start on getting some kits together. There are so many wonderful project ideas on the 'net. I'd like to pick some and put together some kits for them. Because I'm picking which kits to do, I can make sure that I can get all the parts (and if I can't get the parts, well I don't do that project). That way there'll be no customer disappointment because of parts I don't have. Having put together a kit, I can ask the kit designer to put the Hackvana link on their web page, so that others can order that kit.
Finally, I can start moving to my holy grail, which is to do bills-of-materials. A designer comes to the Hackvana website, enters the bill of materials for their project, then puts the Hackvana link on their website. Someone else who wants to build that project can click on the link and source the parts in just a few minutes.
Although I've talked about doing this online, in an automated way, there's no reason why I can't offer these services today, over email. I have let my friends know this, and I'm now starting to handle some orders on the side. To those who I've already done orders for, thanks for your early trust.
So, that's my plan!
Tuesday, October 4, 2011
Hackers helping hackers
Here's an interesting article from Jameco. This is more or less what I want to be doing.
http://www.jameco.com/Jameco/email/corner/listenandlearn.html
We are not box shifters, we are hackers helping hackers. If we're not having a dialog with our customers, I think we've failed.
I think it's that approachability that will make one hacker tell his friend about us, and will make a hacker buy from us a second time. Repeat business is good business.
I have a friend who has an online store here in Australia (http://www.ultrakeet.com.au). He keeps it nice and quirky, a fun place to shop. He says he often sends an order to place X, then next week, he'll get four new orders in a cluster within 10km of X. That's because hackers are social creatures, inhabiting their own social networks, and if you give a hacker good service, he'll talk. Far more potent advertising than we could ever do.
http://www.jameco.com/Jameco/email/corner/listenandlearn.html
We are not box shifters, we are hackers helping hackers. If we're not having a dialog with our customers, I think we've failed.
I think it's that approachability that will make one hacker tell his friend about us, and will make a hacker buy from us a second time. Repeat business is good business.
I have a friend who has an online store here in Australia (http://www.ultrakeet.com.au). He keeps it nice and quirky, a fun place to shop. He says he often sends an order to place X, then next week, he'll get four new orders in a cluster within 10km of X. That's because hackers are social creatures, inhabiting their own social networks, and if you give a hacker good service, he'll talk. Far more potent advertising than we could ever do.
Tuesday, September 27, 2011
Suppliers: A look inside the component markets of Shenzhen
![]() |
Welcome to my "office". (A bird's eye view of where I spend my time, just one of many floors of many such buildings covering several city blocks) |
-
Factory showroom. Good place to buy passives by the reel.
Because of this, it's hard getting a trusted relationship if you're a non-Cháozhōu Chinese, and even harder if you're a Westerner like me. Symptoms of a trust issue is sellers who won't look at you, or give you outrageously inflated prices (I was offered a switch for 15x it's nominal trading price, and it was the best I could do), or they'll trade with you but it's an opportunity to shift some stock to you that's been sitting there for years, and is hence terribly oxidised.
Sellers generally only want to do business if you've done business with them before, so it's a chicken-and-egg situation. The reason is the Chinese concept of 关系 (guānxì, loosely pronounced as "gwunshee", and even more loosely translated as "relationship"). I'll write another blog post about that soon.
One way to overcome this is to get an introduction from someone already doing business with them. The sociological theory is that neither side is unlikely to do anything stupid (like cheat) to the other, because it would reflect poorly on the introducing friend. And to put someone in a situation which makes them look bad is something you just don't do in Chinese culture. Alternatively, an alternative explanation based on economics is that suppliers run on reputation: If I'm a big buyer and a seller just shipped some bad stuff to my small time friend, I'll now start worrying about whether the seller is going to do the same to me. That may be enough to encourage me to look elsewhere for supplies. A seller can't afford to lose that relationship.
About six weeks ago I started talking with the founder of a PCB manufacturer here in Shenzhen. He has graciously allowed me to go along with his buyers to the component markets. I was introduced to the sellers by the buyers as "a friend of the boss", and each time I'd collect the business card of the seller. By the suppliers seeing me several times a week, and being introduced in this way, the suppliers have come to recognise me. The plan has been for me to become familiar to them.
With only one more week left in Shenzhen, the time has come for me to line up those suppliers as my own suppliers, and bring them in on what I want to do. To help me, I had the help of "T", a Westerner friend of mine who may well play a big part in Hackvana's future, and "C" a lady friend of his who can speak 闽南语 (Mǐnnányǔ, roughly pronounced as "Min nun you"). Mǐnnányǔ is the language of Cháozhōu. The idea was for me to pitch the basic idea to them in Mandarin, then C would follow up in Mandarin or Mǐnnányǔ as appropriate with the operational aspects. T was introduced as the guy who would be there to do the face-to-face work, especially in the coming month.
These sellers all work in a certain way, which usually involves a good deal of face-to-face business. This system has evolved to where it is today because it represents an economic maximum. That economic maximum however, maybe just a local maximum - by working differently, they may be able to find an economic maximum that is higher than what they have at present. I hope in the future to find a way to migrate sellers to a new maximum, one which is of benefit to both me and them. However the difficulty is in making it compelling enough for sellers to do business in a new way. If it's too much of a departure from what's already done, they won't do it.
Yesterday I broke out my ever-growing contact book, and we went to all of those suppliers in turn, and told them my plan - to start my own business. I told each one, "Using instant messaging, I will tell you what I want, then you take the goods to a certain nearby address, and I will give you cash". (I must say here that QQ, an instant messaging network, is huge in China. Everyone uses it, so there's no acceptance risk in having it as part of our plan).
In this case, the departure from standard practice that I'm asking of them is to not do face-to-face business for everything. Rather, I want them to take the goods to a certain place, and they will receive payment on the spot: Cash-on-delivery. Cash really is king here.
The three of us all worked pretty hard and we were all exhausted at the end. I am happy to report though, that of the thirty or so suppliers we talked with yesterday, only one wasn't prepared to do business our way. (Curiously enough, that supplier doesn't sell regularly to my PCB making friend, doesn't have a catalog, and doesn't have a website. That supplier can consider themselves dropped from my list).
I put the success of our day down to being able to present to the suppliers an easy-to-understand plan for operation that wasn't too different to what they already do, the goodwill I've inherited from being introduced as my PCB making friend's friend (thank you, you know who you are), and having a local to help out who could speak both Mandarin and Mǐnnányǔ, in order to convey the message.
The reason I want the suppliers to do CoD is because I want to do purchasing in a way that involves no physical effort on my part. Physical effort on my part takes time (and therefore has an effective money cost), and I don't scale. Ok, in order to deliver the purchases, the buyers may well have to use a courier, and I would expect that cost to be added to the price. That's ok, because they are much better at sourcing cheap local labour to do the task than I'll ever be, and I'm better off spending the time I'd take in collecting stuff on something else.
What I hope for is to end up with a system where the QQ messages we send to suppliers are not sent by a human, but by our automation systems. We want to take humans out of the loop (our loop) as much as we possibly can, except in a QC/validation role. That's how we can scale in the future. And I want to do it in a way where suppliers don't have to radically change the way they do things, at least not at the moment, because otherwise they won't work with me. I consider getting all the suppliers on board with an agreement to supply via QQ and using CoD to be a vitally important part of my future plans, and I am so very happy that yesterday went so well.
Wednesday, July 27, 2011
Filling the pipe
I have short term, medium term, and long term plans for the things I want to achieve in China. I am sure that no-one is doing the things we have planned for the medium and long term. The hope of seeing those dreams come to life is what drives me. Meanwhile back in Australia I have a hungry mortgage and family to feed, and the medium and long term plans will take time and money to develop. That's why we have to get the short term things going, in order to get some cash flow going.
My short term plans fall in two areas. The first is to provide quality assurance services to western companies who want to source electronics in Shenzhen, or want things manufactured in Shenzhen. By having me look over things, I can weed out the bad eggs and find and fix problems before time and money is wasted.
The second plan is to set up an online retail operation. I'm certainly not claiming to be the first to do that! I doubt we will make any money from doing it, and it's not my purpose to try. The purpose is to start getting our name out there, and to start engaging with the customers (hackers) who will be interested in what we develop in the medium and long term.
For the past two years I have been admiring the product range of a particular company in Beijing. They are nicely made products that will appeal to every hacker. But this company only sells inside of China. So there's an opportunity for us to take these fine products and make them available outside of China. I have just come back from a visit on the weekend to that company in Beijing, and I can report that an agreement which will allow us to sell these outside of China is imminent.
Ok, so with access to a range of cool products, it should just be a simple matter of loading them up into an e-store and raking in the millions. Well, not quite. When someone makes an order, we still have to get the items and ship them out. That's something we don't really want to do, as we don't know much about that area of business, it's something others can do far better and cheaper than us, and we can spend the time we save doing other things. So for that reason, yesterday I visited a gentleman here in Shenzhen who runs a successful online store shipping to outside of China. We talked for many hours about what he does, and what our plans are, and how we could help each other. Similarly, we are close to having an agreement to use him to do fulfilment for us. That, plus the money handling side of things, and the website, will pretty much have us covered for the retail side of things.
So far, I've been here in China for four weeks, and I'd have to say I am very happy with the progress we're making. I have told many people about our vision for the future, and have received universally positive feedback. That's very heartening.
For our next step, I'm about to go to Hong Kong to investigate starting a company there. Hong Kong's corporate tax rate is very low (10%), and having a company there will let us accept payment for both internet sales, and the quality assurance consulting work. I'm learning heaps and doing what I love, and I can't ask for more than that.
My short term plans fall in two areas. The first is to provide quality assurance services to western companies who want to source electronics in Shenzhen, or want things manufactured in Shenzhen. By having me look over things, I can weed out the bad eggs and find and fix problems before time and money is wasted.
The second plan is to set up an online retail operation. I'm certainly not claiming to be the first to do that! I doubt we will make any money from doing it, and it's not my purpose to try. The purpose is to start getting our name out there, and to start engaging with the customers (hackers) who will be interested in what we develop in the medium and long term.
For the past two years I have been admiring the product range of a particular company in Beijing. They are nicely made products that will appeal to every hacker. But this company only sells inside of China. So there's an opportunity for us to take these fine products and make them available outside of China. I have just come back from a visit on the weekend to that company in Beijing, and I can report that an agreement which will allow us to sell these outside of China is imminent.
Ok, so with access to a range of cool products, it should just be a simple matter of loading them up into an e-store and raking in the millions. Well, not quite. When someone makes an order, we still have to get the items and ship them out. That's something we don't really want to do, as we don't know much about that area of business, it's something others can do far better and cheaper than us, and we can spend the time we save doing other things. So for that reason, yesterday I visited a gentleman here in Shenzhen who runs a successful online store shipping to outside of China. We talked for many hours about what he does, and what our plans are, and how we could help each other. Similarly, we are close to having an agreement to use him to do fulfilment for us. That, plus the money handling side of things, and the website, will pretty much have us covered for the retail side of things.
So far, I've been here in China for four weeks, and I'd have to say I am very happy with the progress we're making. I have told many people about our vision for the future, and have received universally positive feedback. That's very heartening.
For our next step, I'm about to go to Hong Kong to investigate starting a company there. Hong Kong's corporate tax rate is very low (10%), and having a company there will let us accept payment for both internet sales, and the quality assurance consulting work. I'm learning heaps and doing what I love, and I can't ask for more than that.
Subscribe to:
Posts (Atom)