summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Siefkes <christian@siefkes.net>2009-12-08 11:14:22 -0500
committerChristian Siefkes <christian@siefkes.net>2009-12-08 11:15:21 -0500
commitb3db380aaf4439b4b0705c7bb5c3b44409974e7a (patch)
tree907af6c9a986b23e74a2255d4d586eb1938e22a1
parentc1c9a72489f3448a96a72664732955047d80aed4 (diff)
downloadtangiblebit-b3db380aaf4439b4b0705c7bb5c3b44409974e7a.tar.gz
tangiblebit-b3db380aaf4439b4b0705c7bb5c3b44409974e7a.zip
Started to package Drawdio as a sample object
-rw-r--r--sample/build/com.tangiblebit.drawdio.buildit/dependencies.tql77
1 files changed, 77 insertions, 0 deletions
diff --git a/sample/build/com.tangiblebit.drawdio.buildit/dependencies.tql b/sample/build/com.tangiblebit.drawdio.buildit/dependencies.tql
new file mode 100644
index 0000000..3910a00
--- /dev/null
+++ b/sample/build/com.tangiblebit.drawdio.buildit/dependencies.tql
@@ -0,0 +1,77 @@
+# Packaged 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.
+
+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 {
+ # 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);
+}