define wiring in separate file
[challenge-bot] / parts.rkt
index 8adfdf57cf86169df15b04a53b5ed8b9331a53d4..ef2bb698b81a903b53ba500e139988cc6bcbfc3c 100755 (executable)
--- a/parts.rkt
+++ b/parts.rkt
          "male-female jump wires, 2 groups of 4 different colors" 8
          "connect sonar sensor to power and arduino.  black yellow blue red.")
    (part "7781754a-b2fe-47dc-b711-2f3f2e95f5e3"
-         "green solid core wire 175 mm, stripped" 2
-         "connect motor controller and motor")
+         "green solid core wire 200 mm, stripped" 2
+         "transmit power between motor controller and motor")
    (part "031d2167-d548-4e9a-a00b-5cdf902e3e84"
-         "yellow solid core wire 175 mm, not stripped" 2
+         "yellow solid core wire 200 mm, not stripped" 2
          "transmit power between motor controller and motor")
    (part "5390e8cc-1310-4fb3-bd07-8c9b295c592f"
-         "blue solid core wire 90 mm" 1
+         "blue solid core wire 120 mm" 1
          "hook arduino pin 4 to motor controller pin \"3A\"")
    (part "0b5d5d22-ce59-4741-94aa-25f9ba2bfd1c"
          "blue solid core wire 120 mm" 1
          "hook arduino pin 9 to motor controller pin \"2A\"")
    (part "434234e1-b6d7-43c3-a871-938fcc895c04"
-         "orange solid core wire 90 mm" 1
+         "orange solid core wire 120 mm" 1
          "hook arduino pin 5 to motor controller pin \"4A\"")
    (part "dffc57be-ff0a-43c4-8854-c3ba77cefc21"
          "orange solid core wire 120 mm" 1
          "hook arduino pin 10 to motor controller pin \"1A\"")
    (part "f1e4e95f-d069-4b83-b6c4-79dfd122219a"
-         "white solid core wire 90 mm" 1
+         "white solid core wire 120 mm" 1
          "hook arduino pin 3 to motor controller pin \"3,4EN\"")
    (part "d084d477-3273-4444-b61d-ad24766a1751"
          "white solid core wire 120 mm" 1
          "hook arduino pin 8 to motor controller pin \"1,2EN\"")
    (part "d5eeffc3-debc-445d-a1ea-cb066abf4236"
-         "red solid core wire 30 mm" 2
+         "red solid core wire 35 mm" 2
          "make positive lead of battery packs easier to connect to breadboard")
    (part "94f9da12-545b-4962-af43-d9701c1e5499"
-         "black solid core wire 30 mm" 2
+         "black solid core wire 35 mm" 2
          "make ground lead of battery packs easier to connect to breadboard")
    (part "890e70d8-176f-421e-865c-e55e29256fb8"
          "black solid core wire 55 mm" 1
          "hook ground rails on breadboard together")
    (part "182e19ba-383c-40a7-9339-39804d4fca5b"
-         "black solid core wire 25 mm" 4
+         "black solid core wire 35 mm" 4
          "hook motor controller ground pins to breadboard ground rails")
    (part "c2df71b6-aee9-45fa-b4a1-8464802302a9"
-         "black solid core wire 25 mm" 1
+         "black solid core wire 35 mm" 1
          "hook arduino ground pin to breadboard ground rail")
    (part "de7a2ede-1159-4a4e-8c9e-6bb27fbae55d"
-         "red solid core wire 25 mm" 1
+         "red solid core wire 35 mm" 1
          "hook motor controller 5v pin to breadboard positive rail")
    (part "66a049b6-6652-4a71-85a3-d5fd72a51fc5"
-         "red solid core wire 25 mm" 1
+         "red solid core wire 35 mm" 1
          "hook arduino 5v pin to breadboard positive rail")))
 
 (define main-bag
          "usb a-to-b cable" 1 "program the arduino from computer")
    (part "d35e803e-860c-449d-9774-78295e501276"
          "breadboard" 1 "hold motor controller and connect wires")
+   (part "2586c57d-11ed-40d0-961c-eb9c85611608"
+         "dual-half h bridge sn754410ne, aka motor controller"
+         1 "direct power to motors")
    (part "5ceac789-d68a-4078-a129-d721a99a8d6d"
          "9v battery" 1 "power for motors")
    (part "41aec402-c435-4fc3-a0e1-d8418d91c51e"
    (part "ed17b7e2-554f-41d4-b43c-cf99bfdf7ce6"
          "motor" 2 "drive wheel to propel bot")
    (part "be525dfe-c58e-44ce-98b7-90084c17c9b8"
-         "alan wrench" 1 "tighten #6-32 screws")
+         "5/64\" alan wrench" 1 "tighten #6-32 screws")
    printed-parts-bag
    wires-bag
    metal-parts-bag))
          "usb a-to-b cable" 1 "program the arduino from computer")
 
    (part "2586c57d-11ed-40d0-961c-eb9c85611608"
-         "dual-half h bridge sn754410ne" 1 "direct power to motors")
+         "dual-half h bridge sn754410ne, aka motor controller"
+         1 "direct power to motors")
 
    ;; wires
    (part "21239945-0cd0-45b5-872c-1448c7007ca7"