CEB Press/Manufacturing Instructions/Control Source Code v1.0 Explained
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 supermagnet position locators should be in their correct position. If they have been moved, this is the correct testing procedure:
- Identify orientation of position magnets.
- Adjust position of sensor holders.
- Connect controller to battery power and connect control Arduino to a control computer
- Test solenoid valves manually with CEB Testing program - without hydraulic power
- Test solenoid valves manually with CEB Testing program - with hydraulic power
- Test automatic motion of secondary cylinder alone.
- Test automatic motion of main cylinder alone.
- Test full motion of the machine without soil
Then you are ready to test the machine for real in the field.
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.