summaryrefslogtreecommitdiff
path: root/sample/build/com.tangiblebit.drawdio.buildit/process.tb
blob: 204395d5183aed6075151bec669804bc8efcfd2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Package for Drawdio v1.1, created by Christian Siefkes from
# http://www.ladyada.net/make/drawdio/prep.html +
# http://www.ladyada.net/library/equipt/kits.htm +
# http://www.ladyada.net/make/drawdio/parts.html.

[properties]
name: Instructions for building a Drawdio
id: com.tangiblebit.drawdio.buildit
license: CC BY-SA
lastModified: 2010-02-22
author::
  - Fried, Limor
  - Silver, Jay
maintainer: Siefkes, Christian, christian@siefkes.net

#[constraints]
#No specific constraints must be fulfilled in order to run the process.

[tools]
# The required tools:
# Soldering iron. One with temperature control and a stand is best. A
# conical or small 'screwdriver' tip is good, almost all irons come with
# one of these. Do not use a "ColdHeat" soldering iron, they are not
# suitable for delicate electronics work and can damage the kit.
- object ? (category ~ "SolderingIron" & temperatureControl = true
  & stand = true  & tip="conical" & producer != "ColdHeat")
# Multimeter/Oscilloscope: A meter is helpful to check voltages and
# continuity.
- object ? category ~ "Multimeter" | object ? category ~ "Oscilloscope"
# Flush/diagonal cutters. Essential for cutting leads close to the PCB.
- object ? category ~ "ShearCutters"
# "Handy Hands" with Magnifying Glass. Not absolutely necessary but will
# make things go much much faster. You can either get the proposed
# combination or any generic "third hand tool".
- (object ? (category ~ "ThirdHandTool" & producer = "Elexp" & name = "060834")
   & object ? (type = "SheetmetalStand" & producer = "Elexp" &
     name = "060842"))
 |
 object ? category ~ "ThirdHandTool"

[input]
# The required input:
# Solder. Rosin core, 60/40. Don't buy a tiny amount, you'll run out when
# you least expect it. A half pound [0.23 kg] spool is a minimum.
- object ? (category ~ "Solder" & kind = "resin core" & ratio = "60/40"
  & amount >= 0.23)
# PCB from Adafruit
- object ? (category ~ "PrintedCircuitBoard" & producer = "Adafruit")
# IC1: TLC551 or similar low voltage '555 timer chip
- object ? (category ~ "TimerChip" & producer = "Texas Instruments"
    & name = TLC551)
  | object ? (category ~ "TimerChip" & kind = "NE555-compatible")
# Q1: PNP transistor, EBC pinout; such as PN2907 or 2N3806
- object ? (category ~ "PNPTransistor" & pinout = "EBC")
# C1: 680pF ceramic capacitor
- object ? (category ~ "CeramicCapacitor" & capacitance = 680e-12)
# C3: 0.1uF ceramic capacitor
- object ? (category ~ "CeramicCapacitor" & capacitance = 1e-7)
# C2: 100uF / 10V capacitor
- object ? (category ~ "CeramicCapacitor" & capacitance = 100e-6
  & workingVoltage = 10)
# R1: 1/4W 5% 10 MEGAohm resistor (Brown, Black, Blue, Gold) or
# 1/4W 5% 20 MEGAohm resistor (Red, Black, Blue, Gold)
- object ? (category ~ "Resistor" & resistance = 10e6 & power = 0.25
    & tolerance <= 0.05 & colorCoding= "Brown/Black/Blue/Gold")
  | object ? (category ~ "Resistor" & resistance = 20e6 & power = 0.25
    & tolerance <= 0.05 & colorCoding = "Red/Black/Blue/Gold")
# R2: 1/4W 5% 10 ohm resistor (Brown, Black, Black, Gold)
- object ? (category ~ "Resistor" & resistance = 10 & power = 0.25
  & tolerance <= 0.05 & colorCoding = "Brown/Black/Black/Gold")
# RA: 1/4W 5% 10K resistor (Brown, Black, Orange, Gold)
- object ? (category ~ "Resistor" & resistance = 10e3 & power = 0.25
  & tolerance <= 0.05 & colorCoding = "Brown/Black/Orange/Gold")
# RB: 1/4W 5% 300K resistor (Orange, Black, Yellow, Gold)
- object ? (category ~ "Resistor" & resistance = 300e3 & power = 0.25
  & tolerance <= 0.05 & colorCoding = "Orange/Black/Yellow/Gold")
# BATT: AAA battery holder
- object ? (category ~ "BatteryHolder" & kind = AAA)
# SPK: Small 8ohm speaker [we translate "Small" by postulating that the
# speaker should weight less than 10 gram--the sample speaker weights 2.2g]
- object ? (category ~ "Speaker" & resistance = 8 & mass <= 0.01)
# Copper foil tape (amount: 6" [15 cm])
- object ? (category ~ "CopperFoilTape" & amount = 0.15)
# Thumbtack
- object ? (category ~ "Thumbtack")
# Pencil
- object ? (category ~ "Pencil")
# Zip Tie
- object ? (category ~ "ZipTie")
# Wire (amount: 6" [15 cm])
- object ? (category ~ "Wire" & amount = 0.15)

[output]
# The output of the process
object::
  category: AudioToy
  name: Drawdio
  id: com.tangiblebit.drawdio
  # additional properties can be looked up using the object ID

[operations]
# List of operations (instructions to be followed by a human or a machine)
# Human user should follow instructions in HTML ball, packaged by CS from
# http://www.ladyada.net/make/drawdio/solder.html
- read: solder/index.html

[files]
# Other files associated with the process
+ name: drawdio.sch
  description: Schematic in EagleCAD format
+ name: drawdio2.brd
  description: Board layout in EagleCAD format
+ name: drawdio2schem.png
  description: Schematic in PNG