CEB Press/Manufacturing Instructions/Control Source Code v1.0 Explained

From Open Source Ecology
Jump to navigation Jump to search

Introduction

Last updated August 25, 2011.

Notes: Orientation of CEB machine is defined by machine user facing the control panel, where the control panel is located to the left of the secondary cylinder attachment to the secondary arms. 3 magnets (sensor actuators) are used for main cylinder, 3 magnets for soil drawer. (2 magnets are are used for soil grate shaker sensor, optional and discontinued in 2011). Copyright April 2010, Creative Commons CC-BY-SA-compatible Open Source Ecology (OSE) License, by Marcin Jakubowski, Ph.D., for OSE.

This code and other documentation is available at the Open+Pario project management site under the CEB Project, under Documents - Liberator Beta 2.0 Control Code, http://openpario.net/projects/OSE.

Changes since v1.0

The 2011 production run features controller boards produced by Blair Evans of the Detroit Fab Lab. This particular board results in modifications to the code, in that the threshold values read by the Arduino from the Hall Effect sensors are 80 instead of 500.

That should be the only change, and the new source code is here: http://openpario.mime.oregonstate.edu/documents/1251

Code Testing Procedure

Upon receipt of a CEB machine, the following procedure should be followed:


  1. Identify orientation of position magnets.
  2. Adjust position of sensor holders.
  3. Connect controller to battery power and connect control Arduino to a control computer
  4. Test solenoid valves manually with CEB Testing program - without hydraulic power
  5. Test solenoid valves manually with CEB Testing program - with hydraulic power
  6. Test automatic motion of secondary cylinder alone.
  7. Test automatic motion of main cylinder alone.
  8. Test full motion of the machine without soil

Then you are ready to test the machine for real in the field.

Magnet Orientation

Upon receipt of the machine, the position supermagnets should be in their correct position. If they have been moved, they need to be stuck onto the magnet holder in the correct (+ and -) orientation with respect to the north or south pole facing up and down.

To orient the magnets - use the indicator lights in the circuit as suggested in CEB_Press/Manufacturing_Instructions/Controller_Box#Testing_from_Zero.

-- OSECEBTest2.pde - This is testing code for the secondary cylinder. This code moves the secondary cylinder between the 3 magnet locations, stopping for 1 second at each location.