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

From Open Source Ecology
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(153 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[[Image:ceb-controller.jpg|thumb]]
The CEB Press's controller box houses the switches and electronics that are used to operate the hudraulics of the CEB Press and to process data from sensors on the machine.


=Video=


== Tools Required ==
<html>
<iframe src="https://player.vimeo.com/video/33885023?title=0&amp;byline=0&amp;portrait=0" width="400" height="225" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe>
</html>
 
=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
 
[http://opensourceecology.org/wiki/CEB_Press/Manufacturing_Instructions/Case Assembly Instructions]


*Wire Cutters
*[2] Sensor Units
*Soldering Iron Kit
*PC


== Materials Required ==
[http://opensourceecology.org/wiki/CEB_Press/Manufacturing_Instructions/Sensor_Unit Assembly Instructions]
[[Image:Cutlerhammerbox.jpg|thumb]]
[[Image:Breakoutparts.jpg|thumb|Breakout Shield & Arduino]]
[[Image:Correctedboard.jpg|thumb|PWM Driver]]


*Outdoor Main Lug Box - 125Amp, 2Spaces, 4Circuits, 1Phase, 3Wire, 120/240VAC
*Solenoid Driver v2
*Extension Cord
*Alligator clips (2)
*Home wiring box [http://www.homedepot.com/webapp/wcs/stores/servlet/Navigation?storeId=10051&N=+90001+544955&langId=-1&catalogId=10053&cm_sp=d27-_-electrical-_-category_page-_-Electrical-_-electrical_essentials-_-plugs_outlets_cords-_-shop_now]
*Fuse holder - 30Amp Inline Mini Blade-Type [http://www.radioshack.com/product/index.jsp?productId=2102783 Buy]
*12v quick connect plugs (5 pairs)
*Stranded 5A wire ?
*Spade terminals (10)
*Underground phone cable
*Potting compound [http://cgi.ebay.com/EPOXY-RESIN-CIRCUIT-BOARD-POTTING-COMPOUND-CASTING-48OZ-/310186942108?pt=LH_DefaultDomain_0&hash=item4838951e9c Buy]
*PVC pipe
*PVC pipe cap
*Stranded Cat 5 cable
*Supermagnets (6) - N42 [http://www.gaussboys.com/ndfeb-magnets/D1203E-N42.html Buy]
*Arduino (Duemilanove) [http://www.amazon.com/Arduino-Duemilanove/dp/B001VK18HC Buy]
*MOSFET replacements (5) - Single 35A 70V 0.028Ω TO-220-3 [http://www.futureelectronics.com/en/technologies/semiconductors/analog/drivers/mosfet-igbt-drivers/Pages/3890498-VNP35N07-E.aspx Buy]  [http://octopart.com/partsearch/#search/requestData&q=VNP14NV04-E Buy]
*Hall Effect sensors (2) - US1881 TO-92 [http://www.sparkfun.com/commerce/product_info.php?products_id=9312 Buy]
*3/8" V-groove bearings (4) [http://www.vxb.com/page/bearings/PROD/V-Groove-Bearings/Kit8405 Buy]
*Molex connector [http://www.newegg.com/Product/Product.aspx?Item=N82E16812198025&cm_re=molex-_-12-198-025-_-Product Buy] [http://www.monoprice.com/products/product.asp?c_id=102&cp_id=10245&cs_id=1024501&p_id=1313&seq=1&format=1#largeimage Buy] [http://www.monoprice.com/products/product.asp?c_id=102&cp_id=10245&cs_id=1024501&p_id=1316&seq=1&format=2 Buy]


[http://opensourceecology.org/wiki/CEB_Press/Manufacturing_Instructions/Detroit_Fab_Lab_Solenoid_Driver_v2 Assembly Instructions]


*18 Gauge Red Wire


'''Sub-project Materials'''
*18 Gauge Black Wire


*Arduino breakout shield [http://store.makerbot.com/arduino-breakout-shield-v1-4-kit.html Buy Parts] [http://www.reprap.org/wiki/Arduino_Breakout_1_4 Assembly instructions]
*Ring Insulated Connector with Small Hole for 10-12 Gauge


*PWM Solenoid drivers (2) [http://store.makerbot.com/pwm-driver-v1-1-kit.html Buy Parts] [http://www.reprap.org/wiki/PWM_Driver_1_1 Assembly instructions]
*[14] Ring Insulated Connectors for 10-12 Gauge


== Diagrams ==
*[6] Ring Insulated Connectors for 14-16 Gauge
[[Image:controllerbox.jpg|400px]]


*need a diagram of the wires
=Steps=
*[https://docs.google.com/drawings/edit?id=1Gyv9hAaBZEX9v2RqlvqABIL2TwA2QJOKixl63OoM93o&hl=en google doc drawing of wire diagram (working on it)]


<html>
*Mount the solenoid driver on top of the Arduino microcontroller.
<img src="https://docs.google.com/drawings/pub?id=1Gyv9hAaBZEX9v2RqlvqABIL2TwA2QJOKixl63OoM93o&amp;w=480&amp;h=360">
</html>


<html><embed src="http://blip.tv/play/AYHmjUcA" type="application/x-shockwave-flash" width="400" height="400" allowscriptaccess="always" allowfullscreen="true"></embed></html>
*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.


== Fabrication Steps ==
*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.


*Assemble entire Control Box
*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.
**Blue spacer box - Arduino attached on top with 2 small screws. Slightly slanted attachment to make screw holes fit on blue spacer box
**Terminal in electrical outlet box cut in half on metal cutoff saw to create + and - terminals
**Plastic mount on bottom of electrical box was shaved to allow 2 solenoid drivers to fit


*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.


== Test ==
*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.
*Test Arduino on laptop - for example by [http://www.arduino.cc/en/Tutorial/Blink blinking Channel 13 output on Duemilanove].


*Test sensors by passing magnets over them. See this sample code.
*Insert the large ring end of the 6 1.5m wires through the bottom-middle hole of the lug box.
**[http://www.sparkfun.com/datasheets/Components/General/Hall-US1881EUA.pdf Data Sheet]
**Supply voltage is 5V from the Arduino breakout shield
**The pins are +,-, OUT reading from top (printed / smaller face)
**The output is "Open Drain" - this means you need a "pull up" resistor on the output (10K connected to +)
**This model is "latching" which means it turns on from one pole, and off by the other, remembering its state in the meantime.


Controller checklist (ie, So you don't burn your components, check these):
*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.


#Arduino powers on with USB cord? Check.
*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.
#Arduino works - ex. blink Channel 13 with an LED? Check. Atmega 328 Duemilanove - on Ubuntu 10.04.
#Controller main power switch light red when battery is connected and switch is turned on? Check.
#With Molex connectors disconnected, 12V appears at pins 1 and 2?
#With Molex connectors plugged into solenoid driver boards, main power switch turns the drivers on?
#Arduino powers on with battery supply after flipping main switch on?
#Solenoid drivers are turned on with main switch?
#Solenoids turn all of their MOSFETS as seen via indicator lights?
#Solenoids can cycle the solenoid valves?
C


*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.


*Test solenoid valves by attaching power to battery and running this sample code for 2 solenoid channels.
*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.
**Note we can reduce 3 solenoid channels to 2 by running both the shaker motor and the drawer cylinder from the same channel - the shaker is activated at every stroke of the drawer, as there is ample hydraulic fluid flow available in that part of the overall CEB operation cycle.


*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==


other pages with info that should end up on this page
*[[CEB Press/Manufacturing Instructions/Controller Box/Automation Prototype II|CEB Press Automation Prototype II]]
*[[CEB Press/Manufacturing Instructions/Controller Box/Arduino Control of CEB Prototype 2|Arduino Control of CEB Prototype 2]]
*[[CEB Press/Manufacturing Instructions/Controller Box/FeF Liberator Controller|FeF Liberator Controller]]


{{mergefrom|CEB_Automation_Prototype_II}}
==Future Versions==
{{mergefrom|Arduino_Control_of_CEB_Prototype_2}}
*[[CEB Controller Box]]
{{mergefrom|FeF_Liberator_Fabrication}}


[[Category: CEB Press]]
[[Category: CEB Press]]
[[Category:CEB Press Fabrication]]
==See Also==
*[[Terminal Block]] - replacing screw platform in these instructions
*[[CEB_Press/Pictures_of_Newest_Controller|Pictures of Newest Controller]] - these pictures are of a controller box that is newer than the one described here

Latest revision as of 02:20, 17 February 2017

The CEB Press's controller box houses the switches and electronics that are used to operate the hudraulics of the CEB Press and to process data from sensors on the machine.

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

See Also