Download Print this page

Advertisement

Quick Links

#lighthack box 1
Assembly Instructions
Parts List
ETC PN
Vendor PN
4201B9001
Mouser
DS221-F
Sparkfun LCD-00255
S846-F
Cherry MX1A-L1NB
4152A4039
L1243-F
Digikey PEC11R-
4220F-S0012-ND
4201A4003
Adafruit 2055
4240B7011
4201B7001
4201B7002
4201B7003
4201B7004
4201B7005
J4630
J4629
W6378
HW0006
HW9489
4201A4001
Hammond 1591U
Tools
Necessary:
-
Wire strippers and cutters
-
Soldering iron and solder
-
Philips screwdriver
1
-
Drill with
/
" / 3mm,
8
-
Rasp/File or Chisel
Helpful:
-
Needle-nose pliers
-
X-Acto knife or other sharp knife
-
Electrical tape
-
Thick double-sided tape
Software
-
Arduino Integrated Development Environment (IDE). Download from
https://www.arduino.cc/en/Main/Software
-
Arduino sketch (code) for box 1. Download from
-
Arduino OSC library. Download from
-
Arduino to Eos Test Application. Download from
Qty Description
782-A000066
1
1
3
3
2
2
1
1
1
1
1
1
3
1
1
10
5
1
1
1
/
" / 6mm,
/
" / 12mm bits
4
2
https://github.com/CNMAT/OSC
Arduino Uno R3
HD44780 Display Module
Cherry MX Red Key Switch
Black Eos
®
-Style Key Cap
Rotary Encoder with Panel Mounting Hardware
Encoder Knob
10 kΩ Potentiometer
Red Wire Solid Core 22AWG/0.65mm
Black Wire Solid Core 22AWG/0.65mm
White Wire Solid Core 22AWG/0.65mm
Yellow Wire Solid Core 22AWG/0.65mm
Blue Wire Solid Core 22AWG/0.65mm
5-position Wago Wire Connector
3-position Wago Wire Connector
USB Cable, A to B
Machine screws #2-56x3/16" (~5mm)
Standoffs #2-56x1/4" (~6mm)
Enclosure with lid and screws
https://github.com/ETCLabs/lighthack
https://github.com/ETCLabs/lighthack
Revision: 08
2
2-3'/60-90cm
2
2-3'/60-90cm
2
2-3'/60-90cm
2
2-3'/60-90cm
2
2-3'/60-90cm
1

Advertisement

loading

Summary of Contents for ETC LIGHTHACK BOX 1

  • Page 1 #lighthack box 1 Revision: 08 Assembly Instructions Parts List ETC PN Vendor PN Qty Description 4201B9001 Mouser 782-A000066 Arduino Uno R3 DS221-F Sparkfun LCD-00255 HD44780 Display Module S846-F Cherry MX1A-L1NB Cherry MX Red Key Switch 4152A4039 Black Eos ® -Style Key Cap...
  • Page 2: Wiring Diagram

    Before you start, verify that all parts are present using the parts list above. Wiring Diagram A full page diagram is available for download at https://github.com/ETCLabs/lighthack/tree/master/box_1...
  • Page 3 Test the Software It is recommended that you test the Arduino before starting the assembly of the enclosure. 1. Download the source code from https://github.com/ETCLabs/lighthack, and extract the .zip file (or clone the repository if you're git-savvy!). 2. Open the Arduino USB Test sketch (lighthack- master\test_tools\usb_test\usb_test_sketch\usb_test_sketch.ino) in the Arduino IDE.
  • Page 4 6. Connect the Arduino to your computer using the USB cable. 7. The Arduino IDE will automatically detect your Arduino Uno and select it. You can verify this in the Tools menu: 8. Press the arrow to upload your sketch to the Arduino.
  • Page 5 9. After the sketch has been loaded, the Arduino’s lights should have the L and ON lights solid and the TX light blinking once per second: 10. Launch Eos software, open Tab 99 Diagnostics, and look for messages that read: “OSC USB Device Handshake Complete [OK]”...
  • Page 6 14. After the sketch has been loaded, start Eos again and look for the same Handshake messages. Note that in this mode, the Arduino does not send the repeating Ping messages, and the Arduino’s TX/RX LEDs will only blink once. If text does not appear, follow the troubleshooting steps at the end of this document.
  • Page 7 19. Using a square or rectangular file, file out the square holes and slot (or use your preferred method of making square holes). 20. Test fit the Cherry MX Red switches into the square holes as you file to make sure you have the right size.
  • Page 8 TIP: It may be helpful to trace the edges of the square holes into the plastic with an X-Acto knife, and then remove the paper. 21. From the underside of the lid, use a file to bevel the edges of the square holes. This makes the plastic surrounding the hole thinner so that the Cherry MX Red switches can clip in properly.
  • Page 9 22. Line up the Arduino with a side of the box in order to estimate the location of the hole. We've found a good location to be 1"/25mm in from a corner and ½"/12mm up from the bottom. Use a ½"/12mm drill bit to drill a hole for the USB connector. Make sure you can connect a USB cable to your Arduino through the hole.
  • Page 10: Connect The Electronics

    Connect the Electronics 24. Cut appropriate lengths of wire to connect the three buttons and two rotary encoders to the Arduino as shown in the wiring diagram. The wire colors in the wiring diagram are a suggestion. The wire colors in your kit may vary. 25.
  • Page 11 28. Cut appropriate lengths of wire to connect the display and contrast adjustment potentiometer to the Arduino as shown in the wiring diagram. 29. Cut off the connector from the potentiometer. 30. If you are mounting it to the box, thread on the rubber washer and locking ring, string the wire through the box, then tighten with the nut.
  • Page 12 35. Before mounting everything in the enclosure and finishing the assembly, the electronics should be tested. Connect the Arduino to a Win7 Eos Family console or a computer running ETCnomad. 36. Test the device by patching a moving light, selecting it and using the encoders to modify the pan and tilt values.
  • Page 13 41. Place the Arduino into the enclosure such that the USB connector is aligned with the hole you drilled earlier. 42. Secure the Arduino using double-sided tape or your preferred method. 43. Reconnect all of the wires to the Arduino, referring to the wiring diagram.
  • Page 14 TIP: You may want to use some electrical tape for cable management. 44. Secure the face plate to the enclosure using the four black screws.
  • Page 15 45. Press-fit the keycaps and encoder finger wheels onto the key switches and encoders. 46. Re-test the module to make sure everything still works. Congratulations! You're done.
  • Page 16: Troubleshooting

    Troubleshooting Problem Possible solution Arduino software displays an orange error Verify that the OSC library is installed using message when I try to verify using the check the procedure discussed in the Test the mark icon Software section. Device mostly works but a button or an Check the solder connections for cold or encoder is not working broken joints.
  • Page 17 Arduino LED Guide LEDs to be aware of: • ON (green): power presence • L (amber): presence of code TX (amber): transmitting data • • RX (amber): receiving data When you plug the Arduino in for the first time: On: solid •...