CEB Press/Manufacturing Instructions/Controller Box: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
Line 75: Line 75:


*Using the screwdriver with the number 2 philips bit, screw-tighten the wire clamp at the right-bottom hole of the lug box.
*Using the screwdriver with the number 2 philips bit, screw-tighten the wire clamp at the right-bottom hole of the lug box.
==OLD Testing from Zero==
*Arduino Testing - Preparation
*Note: For this testing procedure, you will need a computer with Arduino software, Python and pyserial loaded.
# Solder 100 Ohm resistors to the negative (short) ends of three LEDs.
# Connect the Positive ends of the LEDs to Ports 11, 12 and 13 of the Breakout Shield
# Connect the resistor ends to GND port of the Breakout Shield
# Double-check the connections!
# Connect the Arduino to the Computer using a USB Cable
# Download [[Arduino Environment]]
# Open the Arduino Environment
##Double click on executable text file in Ubuntu
##Select the board that you are using (Duemilanove 328) under Tools / Board.
# Select the Appropriate Serial Connection under Tools / Serial Ports.
##Troubleshooting - if Tools / Serial Ports is blanked out, connect Arduino board
##Generally, the appropriate serial connection will be the number of the lowest unused USB port starting at 0.
# Download the <html><a href = "http://openpario.mime.oregonstate.edu/documents/1250">CEB_Testing_Program.pde</a></html>
# Open the CEB Testing program in last step in the Arduino program by going to File / Open...
##Note: if the above file is not in its own folder, Arduino Environment will create a folder in Ubuntu
# Load the CEB Testing Program into the Arduino using the Upload Button in File / Upload to I/O Board
# Download the Python-based <html><a href = "https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B2ZOu2AF-TF5MTgzMjM1MjgtYzQwMS00ODQ5LTlkMTgtYjg3YmI1NzRkNmY0&hl=en_US">Arduino Testing Program</a></html>
# Open the Python-based <html><a href = "https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B2ZOu2AF-TF5MTgzMjM1MjgtYzQwMS00ODQ5LTlkMTgtYjg3YmI1NzRkNmY0&hl=en_US">Arduino Testing Program</a></html>
##Run python code in Terminal - python CEB_Testing.py
##You may need to install python-imaging, python-imaging-tk, python-serial, arduino and avrdude in Linux to make it work
##Try this command in Debian-Based Linux Distros such as Ubuntu: sudo apt-get install python-imaging python-imaging-tk python-serial arduino avrdude
##You may need to install <html><a href = "http://arduino.cc/en/Main/Software">Arduino for Windows</a>,&nbsp;<a href = "http://www.pythonware.com/products/pil/">PIL</a> and <a href = "http://pypi.python.org/pypi/pyserial"> Pyserial</a> if you are using Windows.</html>
##If you are using a Mac, I have no idea what you'll have to do.
# Connect to the Arduino using the GUI button
#'''Arduino - Testing''' - Click the Blink Test Button to Check if the Arduino is working.  LED 13 should blink on and off.
# Click the Sensor Test Button.  The Arduino’s sensors should cause LEDs 11, 12 and 13 to blink on and off in the presence of the magnets.
# Click the MOSFET Testing Buttons.  The green LEDs on the MOSFET should blink on and off accordingly.
#'''Solenoid Connections'''  - Cut five 2’ pieces of 16-gauge black wire and five 2’ pieces of 16-gauge red wire.
# Strip ¼” off each of the five black and five red wires.
# Tin the ends of each of the wires.
# Attach black wires to each of the negative terminals of the MOSFET connectors on the Detroit Fab-Lab board.
# Attach red wires to each of the positive terminals of the MOSFET connectors on the Detroit Fab-Lab Board.
# Run the black and red wires through an available hole in the Electronics Box.(Should we use the left-side hole for this???)
# When all wires have been checked, tighten each of the cable clamps.
#'''Solenoid Testing''' - Remove the bridge connector between the Common Ports of each solenoid unit.
# Connect each of the five red-black solenoid wire pairs to terminals in the solenoids.  Black wires should attach to the Common ports and Red Wires to the Solenoid a and Solenoid b Ports
# Double-check the connections!
# Test the Solenoids with the Python-based CEB Press Testing program.


==Previous Versions==
==Previous Versions==

Revision as of 23:29, 21 December 2011

Video

Tools

  • Straight Pattern Tin Snips
  • Wire Strippers Compatible with 18 and 22 Gauge
  • Crimpers
  • 2.3mm Flathead Screwdriver
  • Screwdriver with Number 2 Philips Bit
  • Needlenose Pliers
  • Measuring Tape

Materials

  • Case

Assembly Instructions

  • [2] Sensor Units

Assembly Instructions

  • Solenoid Driver v2

Assembly Instructions

  • 18 Gauge Red Wire
  • 18 Gauge Black Wire
  • Ring Insulated Connector with Small Hole for 10-12 Gauge
  • [14] Ring Insulated Connectors for 10-12 Gauge
  • [6] Ring Insulated Connectors for 14-16 Gauge

Steps

  • Mount the solenoid driver on top of the Arduino microcontroller.
  • Using the tin snips, cut 6 pieces of 20cm black wire, 2 pieces of 20cm red wire, 5 pieces of 1.5m black wire, and 1 piece of 1.5m red wire.
  • Using the wire strippers at 22 gauge, strip half a centimetre at one end of the 6 pieces of 20cm black wire and 1 piece of 20cm red wire.
  • Using the wire strippers at 18 gauge, strip a centimetre at the other ends of the 6 pieces of 20cm black wire and the 1 piece of 20cm red wire, as well as both ends of the other 1 piece of 20cm red wire, the 5 pieces of 1.5m black wire, and the 1 piece of 1.5m red wire.
  • Using the crimper, crimp the 10 to 12 gauge ring insulated connector at one of the 1 centimetre stripped ends of the 6 pieces of 20cm black wire, the 2 pieces of 20cm red wire, the 5 pieces of 1.5m black wire, and the 1 piece of 1.5m red wire.

Also crimp the 10 to 12 gauge small hole ring insulated connector at the remaining 1cm end of the 20cm red wire and crimp the 14 to 16 gauge ring connector to the remaining 1cm ends of the 5 pieces of 1.5m black wire and 1 piece of 1.5m red wire.

  • Using the screwdriver with the number 2 philips bit, connect the small ring end of the 20cm red wire to the remaining power switch terminal.
  • Insert the large ring end of the 6 1.5m wires through the bottom-middle hole of the lug box.
  • Using the screwdriver with the number 2 philips bit, connect the large ring end of the 1.5m red wire, the remaining ring end of the switch-connected 20cm red wire, and the ring end of the other 20cm red wire to the bottom-left screw of the terminal platform.
  • Connect the large ring end of the 5 1.5m black wires and the ring end of 5 20cm black wires to the top 5 screws of the terminal platform. Then connect the ring end of the remaining 20cm black wire to the bottom-right screw of the terminal platform.
  • Using the flathead screwdriver, connect the half centimetre ends of the 6 pieces of 20cm black wire to the lower terminal of the 5 mosfet terminal blocks, and the left terminal of the power terminal block. Note that the mosfet connections from left to right on the terminal platform should go from bottom to top on the solenoid driver. Also connect the half centimetre end of the 1 piece of 20cm red wire to the right terminal of the power terminal block.
  • Insert the 2 sensor units by their wire end into the right-bottom hole of the lug box.
  • Using the flathead screwdriver, connect the bluewhite wires, orange wires, and blue wires into the top, middle, and bottom terminal blocks, respectively, on the right side of the solenoid driver.
  • Using the screwdriver with the number 2 philips bit, screw-tighten the wire clamp at the right-bottom hole of the lug box.

Previous Versions

Future Versions