CEB Press/Manufacturing Instructions/Controller Box/Construction Video Script

From Open Source Ecology
Jump to: navigation, search

The CEB Press Controller Box is an electronic control box that runs the Compressed Earth Brick Press. Assembling the Controller box will require a drill with a twist bit, wire strippers, a flat head screwdriver, a Phillips head screwdriver, a small precision flat head screwdriver and a pen or something to mark with. It consists of a Control Box, an Arduino Uno or Duemilanove microcontroller board, an Arduino Breakout board, a PWM driver board, two screws that will fit through the Arduino board's screw holes, and two 100-Ohm resistors soldered to LEDs. Note that the Arduino Uno is currently incompatible with CEB Press operation controlled through linux; linux users must use the Duemilanove for now. The procedure to solder these is covered in another video.

This video includes the most updated version of the CEB Press prototypes on the Factor E Farm. I will refer to the orientation of the controller box and the boards we will mount within it as the top of the box (where the lid hinges).

The first step is to prepare the controller box by gently bending away all of the wiring to hang out of the box so that the mounting platform is clear.

Next, temporarily and lightly mount the Arduino Breakout board to the Arduino Duemilanove microcontroller board, matching the Breakout board's male pins to the microcontroller's female pins ... they may not mount perfectly at this point, but we just need to have an idea of how big the boards will be to help us place holes in the box's platform for screwing the Arduino board in that will still allow room to later connect wiring on all sides of the larger breakout board. Orient the boards such that the 'tops' of the boards (going by the text orientation) is actually to the left of the box, then place the mounted breakout board in the center so that there is as much space as possible between the sides of the breakout board and the walls of the controller box. Remove the breakout board while keeping the Arduino microcontroller board in the box on the mounting platform without moving it from where it would hold the breakout board centered in the box.

Make sure the box's terminal blocks in the upper left corner of the box are screwed in as tightly as possible.

Carefully mark two of the four mounting holes (either one from the top and either one from the bottom, preferrably in opposite corners) onto the platform; be sure to double check the position of the holes. Remove the Arduino board, and carefully drill holes through those marks. Mount the Arduino microcontroller, line up the screw holes with the holes you just drilled, and screw the board onto the platform. Be careful not to screw the board in too tightly, or the board may bow, bend and crack.

Next, we need to mount the Arduino Breakout board onto the Arduino microcontroller board. However, the USB port and the power jacks on the Arduino microcontroller board prevent snug fitting due to the extraneous wires sticking down from the bottom of the perimeter of the breakout board, so snip the third, fourth and fifth perimeter bottom wire from the left and the third and fourth wires from the right of the bottom of the Breakout board. The short snips of wire may fly in unpredictable trajectories, so keep your eyes protected.

Next, we will connect a red positive voltage wire from the control box to the breakout board. Use the precision screwdriver to unscrew the terminal labelled "VN" at the top of the breakout board, which is the second from the right of that top terminal block. Insert the exposed end of the topmost red wire attached to the terminal block in the upper left of the Controller box, then rescrew the Breakout board's VN terminal screw back down tightly on the wire you just inserted.

Next, we will connect the black wire from the lowest terminal of the lower terminal block in the controller box's upper left to the leftmost "GND" terminal at the bottom of the breakout board using the same technique as before: unscrew the terminal screw on the breakout board with a precision screwdriver, insert the exposed end of the wire, and re-screw the breakout board terminal screw down onto the inserted wire.

Next, we will connect the two orange sensor negative wires to the two "GND" terminals that are the 5th and 6th terminals from the left on the top terminal block on the breakout board by unscrewing the terminal screw on the breakout board, insert the end of the wire into the open terminal, then close the terminal by re-screwing the terminal screw onto the wire.

Next, connect the two blue sensor positive voltage wires to the two "5V" terminals that are the 5th and 6th terminals from the right on the top terminal block of the breakout board by unscrewing the terminal screw on the breakout board, insert the end of the wire into the open terminal, then close the terminal by re-screwing the terminal screw onto the wire.

Next, connect the two white wires with blue stripes to the "A0" and "A1" terminals which are the 7th and 8th terminals from the top on the breakout board's right side by unscrewing the terminal screw on the breakout board, insert the end of the wire into the open terminal, then close the terminal by re-screwing the terminal screw onto the wire. Make a note of which which wire goes to A0 and which wire goes to A1, as they are different sensors. The sensor that wires into A0 is for the primary hydraulic cylinder and the sensor that wires into A1 is for the secondary hydraulic cylinder.

Plug the LED end of the two soldered LED/resistor pairs into terminal blocks 12 and 13 which are the second- and third- lowermost terminals of the breakout board's right terminal block by unscrewing the terminal screw on the breakout board, insert the end of the wire into the open terminal, then close the terminal by re-screwing the terminal screw onto the wire.

Connect the resistor end of the LED soldered to 100-Ohms resistor wires to the 4th and 5th terminals from the left of the breakout board's bottom terminal block by unscrewing the terminal screw on the breakout board, insert the end of the wire into the open terminal, then close the terminal by re-screwing the terminal screw onto the wire.

Mount the PWM board onto the breakout board. The PWM board will be orientated such that the six terminal blocks, the lowest of which will be pointed down instead of to the side as the others are, will be on the right hand side.

Take a piece of red 18-gauge wire long enough to reach from the rightmost terminal of the upper terminal block on the breakout board to the two down-facing terminal blocks on the bottom of the PWM board, strip a quarter inch off both ends of the wire, and connect the wire from the rightmost terminal of the upper terminal block on the breakout board to the downward-facing right terminal of the lowermost terminal pair of the PWM board by unscrewing the terminal screws on the breakout and PWM boards, inserting the ends of the wire into the open terminals, then closing the terminals by re-screwing the terminal screw onto the wire. It may be helpful to bend the stripped ends of the wire to bend them more tightly and orient the wire more directly between the two terminals.

Take a piece of black 18-gauge wire long enough to reach from the 3rd from the left terminal of the lower terminal block on the breakout board to the two down-facing terminal blocks on the bottom of the PWM board, strip a quarter inch off both ends of the wire, and connect the wire from the 3rd from the left terminal of the lower terminal block on the breakout board to the downward-facing left terminal of the lowermost terminal pair of the PWM board by unscrewing the terminal screws on the breakout and PWM boards, inserting the ends of the wire into the open terminals, then closing the terminals by re-screwing the terminal screw onto the wire. It may be helpful to bend the stripped ends of the wire to bend them more tightly and orient the wire more directly between the two terminals.

There should be 6 numbered pairs of black wires. Strip 1/4" from the ends of each wire, and install them into the lower terminals of each of the terminal pairs of the PWM driver board's terminal block, starting with 5 at the top, 4 in the next one down, 3 on the one below that, 2 in the one below that, and 1 in the lowest pair (just above the horizontal pair on the bottom). It may be necessary to trim off a few strands of the ends of the wires to get them to fit in the PWM driver's terminal blocks, but do not cut any more than are necessary as that reduces the amount of current that can be safely transferred between the PWM driver and the cables.

Overall, ensure that the terminal block screws are firmly fastened to the connected wires and that the microcontroller, breakout, and pwm driver boards are firmly mounted together.

This completes the assembly of the CEB Controller Box.