piclist 2008\07\28\221506a >
Thread: Suggestions for a serial numbering scheme
face BY : Peter Todd email (remove spam text)

part 0 1 bytes

part 1 2251 bytes content-type:text/plain; charset=us-asciiOn Wed, Jun 25, 2008 at 09:07:46AM +0530, Mohit Mahajan (Lists) wrote:
> Hello,
> We manufacture a lot of different kinds of instruments (but each in
> small quantities). Our serial numbering scheme so far is pretty basic:
> ABCD-EFGH. AB tells us the week and CD the last two digits of the year.
> EFGH starts at 0000 every year in January, and increases count with each
> instrument manufactured. It gives no indication which model or what was
> manufactured. This info would be given by a spreadsheet where the
> description of the instrument is entered next to the serial number. So
> we'd have to look up the serial number in this sheet to know what
> instrument we're talking about.
> I'd like suggestions for a serial number scheme that could indicate the
> instrument model/type, date of manufacture (for warranty purposes). And
> it shouldn't be too long, about 8-10 characters.
> It would be great to know what schemes members here or their companies
> use to number their products.

My serial numbering scheme is to simply assign randomly created 64-bit
numbers and store all the associated metadata in a database... Not
exactly a scheme for everyone!

Tangentially though is a scheme I've come up with for actually applying
the serial numbers to the pcb. For a recent batch of stuff I got a
8.5x11 sheet of custom letraset made up by All Out Graphics in
Vancouver, BC with a bunch of randomly selected serial numbers in
Courier and Helvetica in a variety of font sizes; attached is a python
script to do this. The letraset is then applied to the PCB and protected
with a thin coat of MGChemicals acrylic spray encapsulant. Aesthetically
it's very nice and professional looking and the same technique could
probably be applied equally well as a silkscreening alternative, indeed,
most of the custom letraset business from my understanding is for design
firms that want to mockup stuff like drink containers without paying for
an expensive silkscreening run. Total cost for the sheet was about $80
with shipping, of which $30 or so was the setup fee, which unfortunately
can't be amortized for serial numbers...

http://petertodd.org 'peter'[:-1]@petertodd.org

part 2 17282 bytes content-type:image/jpeg (decode)

part 3 1077 bytes content-type:text/x-python; charset=us-ascii

import sys

from reportlab.lib import colors
from reportlab.lib.units import inch
from reportlab.lib.pagesizes import landscape,LETTER
from reportlab.lib.styles import getSampleStyleSheet
from reportlab.platypus import SimpleDocTemplate,Paragraph,Table

styles = getSampleStyleSheet()

doc = SimpleDocTemplate(sys.argv[1],pagesize=LETTER)

elements = []

num_rows = 4
num_cols = 4

fonts = ('Helvetica','Courier')
sizes = ('8.0','9.0','10.0','12.0','14.0')

rows = []
for font in fonts:
   for size in sizes:
       for y in range(num_rows):
           row = []
           for x in range(num_cols):
               import random
               t = '<b><font name="%s" size="%s">%0.16x</font></b>' % (font,size,random.randint(0,2**64-1))

t = Table(rows)


doc.leftMargin = 0.2 * inch
doc.rightMargin = 0.2 * inch
doc.topMargin = 0.2 * inch
doc.bottomMargin = 0.2 * inch

part 4 35 bytes content-type:text/plain; charset="us-ascii"
(decoded 7bit)


In reply to: <4861BD8A.3000603@gmail.com>
See also: www.piclist.com/techref/io/serials.htm?key=serial
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Suggestions for a serial numbering scheme

month overview.

new search...